diff options
author | Taylor Locke <kisuka@kisuka.com> | 2013-11-25 06:03:06 -0800 |
---|---|---|
committer | Taylor Locke <kisuka@kisuka.com> | 2013-11-25 06:03:06 -0800 |
commit | 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch) | |
tree | 2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/events/dumplingfestival.txt | |
parent | 463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff) | |
download | hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2 hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip |
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/events/dumplingfestival.txt')
-rw-r--r-- | npc/events/dumplingfestival.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/events/dumplingfestival.txt b/npc/events/dumplingfestival.txt index 04a8b7f4c..b2dbb02d7 100644 --- a/npc/events/dumplingfestival.txt +++ b/npc/events/dumplingfestival.txt @@ -38,7 +38,7 @@ payon,93,81,4 script Exorcist Master Fahae 4_M_BUDDHIST,{ if(@input==0) close; if(@input>5) goto L_SORRY; if(Zeny< @input*20000) goto L_NoZeny; - set Zeny,Zeny-20000*@input; + Zeny -=20000*@input; getitem 682,@input; mes "[Exorcist Master Fahae]"; mes "Here you go, I hope you may succeed in my quest."; @@ -65,7 +65,7 @@ M_HERB: if(@input==0) close; if(@input>5) goto L_SORRY; if(Zeny< @input*10000) goto L_NoZeny; - set Zeny,Zeny-10000*@input; + Zeny -=10000*@input; getitem 683,@input; mes "[Exorcist Master Fahae]"; mes "Here you go, I hope you may succeed in my quest."; |