diff --git a/data/campaigns/Under_the_Burning_Suns/units/quenoth/Youth.cfg b/data/campaigns/Under_the_Burning_Suns/units/quenoth/Youth.cfg index 083dde70b20..95347e20861 100644 --- a/data/campaigns/Under_the_Burning_Suns/units/quenoth/Youth.cfg +++ b/data/campaigns/Under_the_Burning_Suns/units/quenoth/Youth.cfg @@ -44,6 +44,38 @@ _"Nym is Kaleh’s childhood friend, a young, rebellious lady with quick wits an increase=8 #endif [/effect] + [effect] + [filter] + level=1 +#ifdef EASY + formula="max_experience > 24" +#endif +#ifdef NORMAL + formula="max_experience > 28" +#endif +#ifdef HARD + formula="max_experience > 33" +#endif + [/filter] + apply_to=level + set=2 + [/effect] + [effect] + [filter] + level=2 +#ifdef EASY + formula="max_experience > 41" +#endif +#ifdef NORMAL + formula="max_experience > 46" +#endif +#ifdef HARD + formula="max_experience > 54" +#endif + [/filter] + apply_to=level + set=3 + [/effect] #enddef #define KALEH_ADVANCEMENTS @@ -862,6 +894,11 @@ _"Nym is Kaleh’s childhood friend, a young, rebellious lady with quick wits an movement_type=quenoth_foot movement=6 hitpoints=32 + # The evolution of this unit is carried out only with AMLAs so that it takes two amlas + # to reach level two then two more for level 3. + # As the unit variables do not include the number of amla achieved, + # the maximum experience is the only one that can be directly used in advancement without resorting to an external lua type function. + # Do not modify this value without also modifying the max_experience checks in the custom AMLAs experience=16 level=1 profile=portraits/kaleh.webp