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/jobs/2-2/sage.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/jobs/2-2/sage.txt')
-rw-r--r-- | npc/jobs/2-2/sage.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt index 4f93ba7db..00a447249 100644 --- a/npc/jobs/2-2/sage.txt +++ b/npc/jobs/2-2/sage.txt @@ -343,7 +343,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{ next; if (select("Pay 70,000 zeny.:Give him Old Magicbook and Necklace of Wisdom.") == 1) { if (Zeny > 69999) { - set Zeny, Zeny-70000; + Zeny -=70000; mes "[Metheus Sylphe]"; mes "Thank you, your application has been accepted."; mes "Next, you will take an entrance test."; @@ -515,7 +515,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{ next; } else if (Zeny > 69999) { - set Zeny, Zeny-70000; + Zeny -=70000; mes "[Metheus Sylphe]"; mes "Well done. Let me proceed with your application request."; set SAGE_Q,4; @@ -545,7 +545,7 @@ yuno_in03,154,35,4 script Staff of the Academy#a 2_M_SAGE_B,{ if (Zeny > 29999) { for (set .@i, 0; .@i < .@size ; set .@i, .@i+1) delitem .@item[.@i], .@count[.@i]; - set Zeny, Zeny-30000; + Zeny -=30000; mes "[Metheus Sylphe]"; mes "Well done. Let me proceed with your application request."; set .@SAGE_Q_T,SAGE_Q; |