Skip to content

Commit

Permalink
Return Grüü's gold to Kapou'e only if positive
Browse files Browse the repository at this point in the history
  • Loading branch information
ln-zookeeper committed Jun 5, 2014
1 parent 7435f34 commit 3229949
Showing 1 changed file with 18 additions and 4 deletions.
22 changes: 18 additions & 4 deletions data/campaigns/Son_Of_The_Black_Eye/scenarios/14_Back_Home.cfg
Expand Up @@ -754,10 +754,24 @@
variable=stored_Gruu_side
[/store_side]

[gold]
side=1
amount=$stored_Gruu_side.gold
[/gold]
[if]
[variable]
name=stored_Gruu_side.gold
greater_than=0
[/variable]

[then]
[gold]
side=1
amount=$stored_Gruu_side.gold
[/gold]

[gold]
side=4
amount=-$stored_Gruu_side.gold
[/gold]
[/then]
[/if]

{CLEAR_VARIABLE stored_Gruu_side}

Expand Down

0 comments on commit 3229949

Please sign in to comment.