fix leveling for Kaleh and Nym in Utbs (#8152)
This commit is contained in:
parent
61b2e8eb4f
commit
fb4ac0b5fb
1 changed files with 37 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue