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/merchants/hair_dyer.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/merchants/hair_dyer.txt')
-rw-r--r-- | npc/merchants/hair_dyer.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/merchants/hair_dyer.txt b/npc/merchants/hair_dyer.txt index e5fd3ab27..fc1113603 100644 --- a/npc/merchants/hair_dyer.txt +++ b/npc/merchants/hair_dyer.txt @@ -109,7 +109,7 @@ prt_in,243,168,4 script Jovovich 4_F_02,{ case 7: delitem 983,1; break; //Black_Dyestuffs case 8: delitem 975,1; break; //Scarlet_Dyestuffs } - Zeny -=1000; + set Zeny, Zeny-1000; setlook VAR_HEADPALETTE,.@headpalette; set .@choose_success,1; break; @@ -367,7 +367,7 @@ lhz_in02,100,134,3 script Hair Dyer#lich 4_F_EINWOMAN,{ else if (.@headpalette == 5) delitem 978,1; //Cobaltblue_Dyestuffs else if (.@headpalette == 6) delitem 982,1; //White_Dyestuffs else if (.@headpalette == 7) delitem 983,1; //Black_Dyestuffs - Zeny -=1000; + set Zeny, Zeny-1000; setlook VAR_HEADPALETTE,.@headpalette; set .@choose_success,1; break; |