summaryrefslogtreecommitdiff
path: root/npc/custom/quests/questboard.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
commit4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch)
tree2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/custom/quests/questboard.txt
parent463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff)
downloadhercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/custom/quests/questboard.txt')
-rw-r--r--npc/custom/quests/questboard.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/custom/quests/questboard.txt b/npc/custom/quests/questboard.txt
index 28a25cc28..3ecb434c3 100644
--- a/npc/custom/quests/questboard.txt
+++ b/npc/custom/quests/questboard.txt
@@ -194,7 +194,7 @@ L_checkitems:
mes "[^FF7700Questboard^000000]";
mes "Congratulation! Here is your Reward.";
if(getd("." +currentquest$+"_collectionprize")!=0) getitem(getd("." +currentquest$+"_collectionprize"),getd("." +currentquest$+"_collectionamount"));
- set Zeny,Zeny+getd("." +currentquest$+"_collectionzeny");
+ Zeny +=getd("." +currentquest$+"_collectionzeny");
getexp getd("." +currentquest$+"_collectionexp["+0+"]"),getd("." +currentquest$+"_collectionexp["+1+"]");
setd(currentquest$ + "_collection_delay"),gettimetick(2)+.quest_delay;
set currentquest$, "";
@@ -228,7 +228,7 @@ L_checkmobs2:
setd(currentquest$+"_"+.@currentmob+"_"+.@x+"_killcount", 0);
}
if(getd("." +currentquest$+"_huntingprize")!=0) getitem(getd("." +currentquest$+"_huntingprize"),getd("." +currentquest$+"_huntingamount"));
- set Zeny, Zeny+getd("." +currentquest$+"_huntingzeny");
+ Zeny +=getd("." +currentquest$+"_huntingzeny");
getexp getd("." +currentquest$+"_huntingexp["+0+"]"),getd("." +currentquest$+"_huntingexp["+1+"]");
setd(currentquest$ + "_hunting_delay"),gettimetick(2)+.quest_delay;
set currentquest$, "";