Unable get promotion for units

stimprunk

Chieftain
Joined
Oct 30, 2017
Messages
4
Units after recieving new weapons get upgrade. If unit with 2 promotion 1 lvl (battlecry and tortoise for melee) get upgrade, it cannt get new promotion. Unit receive 15 exp and no promotion screen.
 

Attachments

  • Lua.zip
    2.1 KB · Views: 161
Thank you.

I can't fix that one in a simple way, we don't have method to set the experience level of an unit we (re)create, we can set the experience points only.

I'm still thinking about the alternatives here. I could make promotions to not require an experience level, but then the units will get promotions too quickly.

I'll try to neutralize the vanilla XP gain and set/track a custom XP value to trigger promotion (IE give the unit 15 "real" XP points) when the custom XP reach a value corresponding to a custom "level"
 
Top Bottom