Could I use the SetHasPromotion instance to REMOVE a Promotion?

octo

Chieftain
Joined
Jul 3, 2013
Messages
40
Location
philadelphia
In this case, I was thinking of using the SetHasPromotion instance to remove the Attrition promotion from Missionaries. I was wondering if setting it to false would have the desired effect?
 
Yes.

As far as SetHasPromotion() is concerned all promotions are equal - doesn't matter if they are "special preassigned promotions" or "gained promotions"
 
SetHasPromotion(PromotionID, false) should have the effect of removing a promotion -- I know I've used it in mods where I want to set promotions conditionally upon other factors. It should work with removing the Attrition promotion from Missionaries, although I haven't experimented with it myself so I can't be fully certain. (Missionaries do tend to have some odd code at times.)

EDIT: whoward beat me to the punch with a more authoritative answer :P
 
Back
Top Bottom