From 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Cleaned up Zeny manipulation in scripts. --- 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 03f38edd9..4f7e3bc1d 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) { - set Zeny, Zeny-100; + Zeny -=100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1736,7 +1736,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - set Zeny, Zeny-200; + Zeny -=200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1753,7 +1753,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - set Zeny, Zeny-10; + Zeny -=10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1793,7 +1793,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - set Zeny, Zeny-100; + Zeny -=100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1809,7 +1809,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - set Zeny, Zeny-200; + Zeny -=200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1826,7 +1826,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - set Zeny, Zeny-10; + Zeny -=10; } next; mes "[" + strcharinfo(0) + "]"; @@ -1866,7 +1866,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 100) { - set Zeny, Zeny-100; + Zeny -=100; } next; mes "[" + strcharinfo(0) + "]"; @@ -1883,7 +1883,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 200) { - set Zeny, Zeny-200; + Zeny -=200; } next; mes "[" + strcharinfo(0) + "]"; @@ -1900,7 +1900,7 @@ OnTouch: mes "^3355FF*SHHHHHHUK!*^000000"; specialeffect EF_STEAL; if (Zeny >= 10) { - set Zeny, Zeny-10; + Zeny -=10; } next; mes "[" + strcharinfo(0) + "]"; @@ -2017,7 +2017,7 @@ OnTouch: mes "but I hope we never bump"; mes "into each other ever again!"; } - set Zeny, Zeny-.@price; + Zeny -=.@price; getitem 12016,.@number; //Speed_Up_Potion } } -- cgit v1.2.3-70-g09d2