EI: preserve XP when Dacyn receives scripted advancements (#8716)
* EI: retain experience when Dacyn advances to twilight mage * EI: retain experience when Dacyn advances to fallen mage
This commit is contained in:
parent
cf52b6bdd0
commit
f657a36549
2 changed files with 6 additions and 0 deletions
|
@ -1124,7 +1124,10 @@
|
|||
#po: loses his halo and advances to an L4 Twilight Mage (liminal, heals +4, does not illuminate, melee attack gains "drain")
|
||||
message= _ "... but it is a necessary price to pay. I will not let up until Mal-Ravanal is defeated, whatever the cost may be."
|
||||
[/message]
|
||||
{STORE_UNIT_VAR id=Dacyn experience dacyn_xp}
|
||||
{ADVANCE_UNIT id=Dacyn (Twilight Mage)}
|
||||
{MODIFY_UNIT id=Dacyn experience $dacyn_xp}
|
||||
{CLEAR_VARIABLE dacyn_xp}
|
||||
[/event]
|
||||
|
||||
#---------------------------
|
||||
|
|
|
@ -1582,7 +1582,10 @@ And leave eternal night to remain."
|
|||
[/effect]
|
||||
[/object]
|
||||
[/modify_unit]
|
||||
{STORE_UNIT_VAR id=Dacyn experience dacyn_xp}
|
||||
{ADVANCE_UNIT id=Dacyn (Fallen Mage)}
|
||||
{MODIFY_UNIT id=Dacyn experience $dacyn_xp}
|
||||
{CLEAR_VARIABLE dacyn_xp}
|
||||
[/event]
|
||||
[/event]
|
||||
[/event]
|
||||
|
|
Loading…
Add table
Reference in a new issue