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/valentinesday_2009.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/valentinesday_2009.txt')
-rw-r--r-- | npc/events/valentinesday_2009.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/events/valentinesday_2009.txt b/npc/events/valentinesday_2009.txt index 2e02c124c..d6ae15aa3 100644 --- a/npc/events/valentinesday_2009.txt +++ b/npc/events/valentinesday_2009.txt @@ -91,7 +91,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ mes "[Marco Bassinio]"; mes "If you want more, you should come back."; mes "Might be a good idea to buy some more while you have a chance...!"; - set Zeny,Zeny - .@price; + Zeny -= .@price; getitem 558,.@input; close; } @@ -140,7 +140,7 @@ prontera,164,174,4 script Trader#Val09 1_M_MERCHANT,{ delitem 7175,1; delitem 7174,1; delitem 7948,1; - set Zeny,Zeny-500; + Zeny -=500; getnameditem 12744,strcharinfo(0); mes "[Marco Bassinio]"; mes "Happy Valentine's Day!"; @@ -206,7 +206,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; - set Zeny,Zeny-.@price; + Zeny -=.@price; getitem 7175,.@input; next; break; @@ -247,7 +247,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; - set Zeny,Zeny-.@price; + Zeny -=.@price; getitem 7174,.@input; next; break; @@ -288,7 +288,7 @@ prontera,147,171,5 script Packs Trader#Val09 1_M_MERCHANT,{ mes "[Packs Trader]"; mes "Here they are."; mes "Hope it makes your Valentine's Day more pleasing!"; - set Zeny,Zeny-.@price; + Zeny -=.@price; getitem 7948,.@input; next; break; @@ -376,7 +376,7 @@ prontera,154,185,5 script Event Ring Maker#Val09 4_F_KAFRA7,{ delitem 7175,1; delitem 7174,1; delitem 7948,1; - set Zeny,Zeny-1000; + Zeny -=1000; set iROval09ring,1; if (Sex) { getnameditem 12742,strcharinfo(0); |