Modding Attrition

Joined
Mar 23, 2006
Messages
800
Location
Adelaide, Australia
So am trying to replace Peters Grand Embassy ability with a Shadow of Winter ability where enemy units take attrition damage in Russian territory. I can use the modifier type MODIFIER_PLAYER_UNITS_ADJUST_HEAL_PER_TURN (using a negative number) to get enemy units to take attrition but I can't think of a way to attach that modifier in a way where
1) It only takes affect in Russian territory
2) It doesn't stack (I say this, because when I use the varu modifier attached to Russian units, the attrition will stack based on how many Russian units there are)

The alternative would be to disable healing in Russian territory, but I think that would be more complicated to code (And wouldn't know where to start)
 
Top Bottom