summaryrefslogtreecommitdiff
path: root/npc/jobs/2-1
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-28 00:42:20 +0100
committerHaru <haru@dotalux.com>2013-11-28 00:43:49 +0100
commit4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (patch)
treee2dd2640adb13411dee1982e3a7d13c12d4e04b3 /npc/jobs/2-1
parentc069e2e9b89f712c6ad6ebba983460408f6da198 (diff)
downloadhercules-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/jobs/2-1')
-rw-r--r--npc/jobs/2-1/blacksmith.txt2
-rw-r--r--npc/jobs/2-1/knight.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/jobs/2-1/blacksmith.txt b/npc/jobs/2-1/blacksmith.txt
index 3068f6943..c8cfd8a2d 100644
--- a/npc/jobs/2-1/blacksmith.txt
+++ b/npc/jobs/2-1/blacksmith.txt
@@ -1616,7 +1616,7 @@ geffen_in,109,170,3 script Blacksmith Guildsman#gef 4_F_JOB_BLACKSMITH,{
mes "Excuse me, but you do not have enough money.";
close;
}
- Zeny -=600;
+ set Zeny, Zeny-600;
warp "izlude",94,103;
end;
case 3:
diff --git a/npc/jobs/2-1/knight.txt b/npc/jobs/2-1/knight.txt
index 368cbca45..0b988998e 100644
--- a/npc/jobs/2-1/knight.txt
+++ b/npc/jobs/2-1/knight.txt
@@ -2062,7 +2062,7 @@ prt_in,87,92,4 script Sir Gray#knt 2_M_SWORDMASTER,{
mes "You attained a reliable item.";
mes "It'll be a good companion on your adventures.";
delitem 999,1; //Steel
- Zeny -= 74000;
+ set Zeny, Zeny - 74000;
getitem 1163,1; //Claymore
close;
}