Combat strength bonus against civilizations at war

Thibault

Chieftain
Joined
Mar 26, 2017
Messages
6
Hey guys!

I'm currently creating my own leader, now I am at the step of creating his own leader ability. So, I want my leader units' to have a combat strength bonus against units of civilizations which are already involved in a war.
In order to do so, I use the modifier "MODIFIER_PLAYER_UNITS_ADJUST_COMBAT_STRENGTH", which works perfectly. However, I don't know how to indicate the game that this bonus should only be applied when fighting units of civilizations already at war.

Any idea?
 
Do you mean at war with someone other than yourself? The modifier wouldn't be relevant at all if the only criteria was "is at war", since by default any non-barbarian unit you can attack is "at war" with you at least.
 
Top Bottom