DiD S12: used formula $(200*$timesForever) for side 2 gold assignment instead of using vars.

Also, small syntax fixup from previous commit
This commit is contained in:
Charles Dang 2014-12-21 01:47:38 +11:00
parent 40c45ac0ad
commit 71793fb9ab

View file

@ -136,7 +136,7 @@
[allow_recruit]
side=2
typeSpearman,Swordsman,Pikeman,Bowman,Longbowman,Heavy Infantryman,Shock Trooper,Mage,Red Mage,White Mage,Horseman,Knight,Lancer
type=Spearman,Swordsman,Pikeman,Bowman,Longbowman,Heavy Infantryman,Shock Trooper,Mage,Red Mage,White Mage,Horseman,Knight,Lancer
[/allow_recruit]
{INCIDENTAL_MUSIC loyalists.ogg}
@ -240,14 +240,10 @@
[/switch]
# Give the foolish hero gold = 200*timesForever
{VARIABLE heroGold 200}
{VARIABLE_OP heroGold multiply $timesForever}
[gold]
side=2
amount=$heroGold
amount=$(200*$timesForever)
[/gold]
{CLEAR_VARIABLE heroGold}
# play only sad music after a few repetitions
[if]