TSG S3: change side switch procedure for Ethiliel
Ethiliel remains on side 3, but a copy of her is added to the player's recall list for next scenario. The loyal trait is obtained at that point. [ci skip]
This commit is contained in:
parent
4ff9da55bd
commit
3f0677e404
1 changed files with 32 additions and 3 deletions
|
@ -378,8 +378,9 @@
|
|||
side=3
|
||||
x,y=18,6
|
||||
facing=sw
|
||||
random_traits=no
|
||||
[modifications]
|
||||
{TRAIT_LOYAL}
|
||||
# Loyal trait is given later
|
||||
{TRAIT_QUICK}
|
||||
[/modifications]
|
||||
[/unit]
|
||||
|
@ -436,12 +437,40 @@
|
|||
message= _ "My thanks, lady."
|
||||
[/message]
|
||||
|
||||
{MODIFY_UNIT (id=Ethiliel) side 1}
|
||||
|
||||
[endlevel]
|
||||
result=victory
|
||||
bonus=yes
|
||||
{NEW_GOLD_CARRYOVER 40}
|
||||
[/endlevel]
|
||||
[/event]
|
||||
|
||||
[event]
|
||||
name=victory
|
||||
|
||||
[store_unit]
|
||||
[filter]
|
||||
id=Ethiliel
|
||||
[/filter]
|
||||
variable=EthilielV
|
||||
kill=no # Current Ethiliel may remain on the field for visual reasons.
|
||||
[/store_unit]
|
||||
# Stores a copy of Ethiel onto the recall list. The recall list cannot be
|
||||
# viewed in linger mode. Give here as well the loyal trait.
|
||||
{VARIABLE EthilielV.side 1}
|
||||
{VARIABLE EthilielV.x recall}
|
||||
{VARIABLE EthilielV.y recall}
|
||||
{CLEAR_VARIABLE EthilielV.modifications}
|
||||
[set_variables]
|
||||
name=EthilielV.modifications
|
||||
mode=insert
|
||||
[value]
|
||||
{TRAIT_LOYAL}
|
||||
{TRAIT_QUICK}
|
||||
[/value]
|
||||
[/set_variables]
|
||||
[unstore_unit]
|
||||
variable=EthilielV
|
||||
[/unstore_unit]
|
||||
{CLEAR_VARIABLE EthilielV}
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
Loading…
Add table
Reference in a new issue