diff options
author | Taylor Locke <kisuka@kisuka.com> | 2013-11-25 06:03:06 -0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-30 21:38:38 +0100 |
commit | 94ac9fe3303c4d604485a4784e8f5c99f5457863 (patch) | |
tree | e33f4d96453941392a1d9b721d4a179ba8f89941 /npc/merchants/socket_enchant2.txt | |
parent | afb2ed27fcc12f86f2418425dd1e7c9b8234a1f2 (diff) | |
download | hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.gz hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.bz2 hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.xz hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.zip |
Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179
Cleaned up Zeny manipulation in scripts.
- It is now finally safe to re-commit.
- Removed some unwanted parts of the original commit, that broke the
character set in some scripts. [Haru]
- Corrected spacing in some edited lines. [Haru]
Diffstat (limited to 'npc/merchants/socket_enchant2.txt')
-rw-r--r-- | npc/merchants/socket_enchant2.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/socket_enchant2.txt b/npc/merchants/socket_enchant2.txt index 3e7c64808..dbdcfe379 100644 --- a/npc/merchants/socket_enchant2.txt +++ b/npc/merchants/socket_enchant2.txt @@ -287,7 +287,7 @@ mes "Congratulations."; delitem 5022,1; //Helm_Of_Sun delitem 969,2; //Gold - set Zeny, Zeny - 200000000; + Zeny -= 200000000; getitem 5353,1; //Helm_Of_Sun_ next; mes "[Leablem]"; @@ -306,7 +306,7 @@ mes "I didn't want to do in the first place!"; delitem 5022,1; //Helm_Of_Sun delitem 969,2; //Gold - set Zeny, Zeny - 200000000; + Zeny -= 200000000; next; mes "[Leablem]"; mes "No, don't ever ask me to do such a risky thing again!"; @@ -428,7 +428,7 @@ function script Func_Socket2 { delitem getarg(5),getarg(6); if (getarg(7,0) != 0 && getarg(8,0) != 0) delitem getarg(7),getarg(8); - set Zeny, Zeny - getarg(4)*1000; + Zeny -= getarg(4)*1000; getitem getarg(1),1; next; mes "[Leablem]"; @@ -448,7 +448,7 @@ function script Func_Socket2 { delitem getarg(5),getarg(6); if (getarg(7,0) != 0 && getarg(8,0) != 0) delitem getarg(7),getarg(8); - set Zeny, Zeny - getarg(4)*1000; + Zeny -= getarg(4)*1000; next; mes "[Leablem]"; mes "See you again, buddy!"; |