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/re/cities/mora.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/re/cities/mora.txt')
-rw-r--r-- | npc/re/cities/mora.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/re/cities/mora.txt b/npc/re/cities/mora.txt index 64f315fa9..91b1e132f 100644 --- a/npc/re/cities/mora.txt +++ b/npc/re/cities/mora.txt @@ -453,7 +453,7 @@ mora,140,186,3 script Raffle Philosopher 4_M_RAFLE_OLD,{ mes "[Raffle Philosopher]"; mes "The quote I'm going to tell you is..."; mes "Let's see... Wait a second."; - set Zeny, Zeny-.@input; + Zeny -=.@input; next; mes ". . . . . . . . ."; next; @@ -1021,9 +1021,9 @@ mora,140,186,3 script Raffle Philosopher 4_M_RAFLE_OLD,{ next; mes "You feel somebody rummaging through your pockets before you pass out."; if (Zeny >= 5000) - set Zeny, Zeny-5000; + Zeny -=5000; else - set Zeny, 0; + Zeny = 0; close2; percentheal -99,0; warp "mora",31,132; @@ -1120,7 +1120,7 @@ mora,43,127,3 script Innkeeper#mora_inn 4_M_RAFLE_OR,{ mes "[Innkeeper]"; mes "Make yourself at home."; close2; - set Zeny, Zeny-5000; + Zeny -=5000; percentheal 100,100; warp "mora",32,123; end; @@ -1176,7 +1176,7 @@ mora,48,128,0 script Drawer#mora_warehouse HIDDEN_NPC,{ mes "- You don't seem to have 100 zeny with you. -"; close; } - set Zeny, Zeny-100; + Zeny -=100; openstorage; close; case 2: |