From 4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 28 Nov 2013 00:42:20 +0100 Subject: Revert "Cleaned up Zeny manipulation in scripts." Reverted due to a serious regression. I'll commit this again once I fixed the issue in the script engine. Sorry for the inconvenience. This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179. Signed-off-by: Haru --- npc/quests/quests_lighthalzen.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'npc/quests/quests_lighthalzen.txt') diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index 4f7e3bc1d..03f38edd9 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -1720,7 +1720,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - Zeny -=100; + set Zeny, Zeny-100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1736,7 +1736,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - Zeny -=200; + set Zeny, Zeny-200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1753,7 +1753,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - Zeny -=10; + set Zeny, Zeny-10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1793,7 +1793,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - Zeny -=100; + set Zeny, Zeny-100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1809,7 +1809,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - Zeny -=200; + set Zeny, Zeny-200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1826,7 +1826,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - Zeny -=10; + set Zeny, Zeny-10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1866,7 +1866,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - Zeny -=100; + set Zeny, Zeny-100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1883,7 +1883,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - Zeny -=200; + set Zeny, Zeny-200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1900,7 +1900,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - Zeny -=10; + set Zeny, Zeny-10; } next; mes "[" + strcharinfo(0) + "]"; @@ -2017,7 +2017,7 @@ OnTouch: mes "but I hope we never bump"; mes "into each other ever again!"; } - Zeny -=.@price; + set Zeny, Zeny-.@price; getitem 12016,.@number; //Speed_Up_Potion } } -- cgit v1.2.3-70-g09d2