• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(94161)

Second Lieutenant
7 Badges
Mar 6, 2008
126
0
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Rome Gold
  • Victoria 2: A House Divided
  • Victoria 2 A House Divided Beta
I want an event that has a MTTH that increases by different amounts depending on the value of the modifier. In this case, I'm using peasant loyalty.

So, for instance, if peasant loyalty is at 0.1, the MTTH has a factor of 1, if it's 0.2, it has a factor of 2, and so on and so forth.

Let's say peasant loyalty is at 100 percent. If I then do modifier checks for 100%, 90%, 80%, and so on loyalty, in that order, I'm assuming they'd all be considered true, since the engine's actually testing them on a greater than or equal to basis.

Is that the case?
 
Correct, they're cumulative. If you test for peasant loyalty = 50, anything 50 and up will match. So if you have both 50 and 60, if the value is 60 both will match.
If you want to have only one value match, you must combine it with a not value for the upper bracket.