Skip to content

Commit

Permalink
TRoW: fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
sevu committed Jan 5, 2019
1 parent f3b9978 commit df14522
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions data/campaigns/The_Rise_Of_Wesnoth/scenarios/02_The_Fall.cfg
Expand Up @@ -350,12 +350,13 @@
message= _ "Arrogant fools! (<i>Reaches into pocket</i>) <i>Poof</i>!"
[/message]

{FULL_HEAL (id=Lady Outlaw)}

[hide_unit]
id=Wesfolk Leader
[/hide_unit]

# healing, so the unit is not removed after this event
{FULL_HEAL (id=Wesfolk Leader)}

[set_variable]
name=have_lady
value=0
Expand Down Expand Up @@ -458,18 +459,25 @@

{CLEAR_VARIABLE wesfolk_leader_store}

[store_unit]
[filter]
[if]
[have_unit]
id=Wesfolk Leader
[/filter]
[/have_unit]
[then]
[store_unit]
[filter]
id=Wesfolk Leader
[/filter]

variable=lady_store
[/store_unit]
variable=lady_store
[/store_unit]

{VARIABLE lady_store.id (Lady Outlaw)}
{VARIABLE lady_store.name ( _ "Lady Outlaw")}
{VARIABLE lady_store.canrecruit no}
{VARIABLE lady_store.side 1}
{VARIABLE lady_store.id (Lady Outlaw)}
{VARIABLE lady_store.name ( _ "Lady Outlaw")}
{VARIABLE lady_store.canrecruit no}
{VARIABLE lady_store.side 1}
[/then]
[/if]
[/event]
[/scenario]

Expand Down

0 comments on commit df14522

Please sign in to comment.