Changed the foolish hero gold formula from 100*times+100 to 200*times.
This commit is contained in:
parent
e1ab4e94b7
commit
4500ebe0a0
2 changed files with 8 additions and 8 deletions
|
@ -666,6 +666,6 @@
|
|||
|
||||
[event]
|
||||
name=victory
|
||||
{VARIABLE timesForever 0}
|
||||
{VARIABLE timesForever 1}
|
||||
[/event]
|
||||
[/scenario]
|
||||
|
|
|
@ -82,7 +82,7 @@
|
|||
[if]
|
||||
[variable]
|
||||
name=timesForever
|
||||
greater_than=0
|
||||
greater_than=1
|
||||
[/variable]
|
||||
|
||||
[then]
|
||||
|
@ -232,10 +232,10 @@
|
|||
[/then]
|
||||
[/if]
|
||||
|
||||
# Give the foolish hero gold = 100*timesForever + 100
|
||||
{VARIABLE_OP heroGold format $timesForever}
|
||||
{VARIABLE_OP heroGold multiply 100}
|
||||
{VARIABLE_OP heroGold add 100}
|
||||
# Give the foolish hero gold = 200*timesForever
|
||||
{VARIABLE heroGold 200}
|
||||
{VARIABLE_OP heroGold multiply $timesForever}
|
||||
|
||||
[gold]
|
||||
side=2
|
||||
amount=$heroGold
|
||||
|
@ -357,7 +357,7 @@
|
|||
[if]
|
||||
[variable]
|
||||
name=timesForever
|
||||
numerical_equals=5
|
||||
numerical_equals=4
|
||||
[/variable]
|
||||
[then]
|
||||
[message]
|
||||
|
@ -378,7 +378,7 @@
|
|||
[if]
|
||||
[variable]
|
||||
name=timesForever
|
||||
greater_than=0
|
||||
greater_than=1
|
||||
[/variable]
|
||||
|
||||
# after the first repetition, we'll let the campaign really end
|
||||
|
|
Loading…
Add table
Reference in a new issue