From 71793fb9ab23318897d370307a366aa05fe7c2cf Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Sun, 21 Dec 2014 01:47:38 +1100 Subject: [PATCH] DiD S12: used formula $(200*$timesForever) for side 2 gold assignment instead of using vars. Also, small syntax fixup from previous commit --- .../Descent_Into_Darkness/scenarios/12_Endless_Night.cfg | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg b/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg index 64b46f68320..371daa3b2ae 100644 --- a/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg +++ b/data/campaigns/Descent_Into_Darkness/scenarios/12_Endless_Night.cfg @@ -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]