diff options
author | Haru <haru@dotalux.com> | 2013-11-28 00:42:20 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-28 00:43:49 +0100 |
commit | 4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (patch) | |
tree | e2dd2640adb13411dee1982e3a7d13c12d4e04b3 /npc/custom/item_signer.txt | |
parent | c069e2e9b89f712c6ad6ebba983460408f6da198 (diff) | |
download | hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.gz hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.bz2 hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.xz hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.zip |
Revert "Cleaned up Zeny manipulation in scripts."
Reverted due to a serious regression.
I'll commit this again once I fixed the issue in the script engine.
Sorry for the inconvenience.
This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/item_signer.txt')
-rw-r--r-- | npc/custom/item_signer.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/custom/item_signer.txt b/npc/custom/item_signer.txt index 6796a21c8..3cd66234b 100644 --- a/npc/custom/item_signer.txt +++ b/npc/custom/item_signer.txt @@ -121,7 +121,7 @@ prt_in,24,61,7 script Perchik 1_M_01,{ emotion e_wah; close; } - if (.@price) Zeny -=.@price; + if (.@price) set Zeny, Zeny-.@price; if (getarraysize(.@item)) for(set .@i,0; .@i<getarraysize(.@item); set .@i,.@i+2) delitem .@item[.@i], .@item[.@i+1]; delitem2 .@id,1,1,.@ref,0,.@slot[0],.@slot[1],.@slot[2],.@slot[3]; |