diff options
author | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:04:03 +0200 |
---|---|---|
committer | hemagx <ibrahem.h.basyone@gmail.com> | 2016-08-29 01:04:03 +0200 |
commit | b2977e4f71128fa8764ce65ebe942b6806cffa1e (patch) | |
tree | 4f2a9b1f9a3ee6436a0b857d05caa2be7e99a877 /npc/quests/quests_13_1.txt | |
parent | 16f998c8a79153ed9f6721c36e129b6080fa59d2 (diff) | |
parent | 86977d79269408a371384e61111c3a9cf6e87b0c (diff) | |
download | hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.gz hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.bz2 hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.tar.xz hercules-b2977e4f71128fa8764ce65ebe942b6806cffa1e.zip |
Merge pull request #1411 from Asheraf/constants
Closes #1411 as merged
Diffstat (limited to 'npc/quests/quests_13_1.txt')
-rw-r--r-- | npc/quests/quests_13_1.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/quests/quests_13_1.txt b/npc/quests/quests_13_1.txt index 3eb88470c..9b0a5ad7e 100644 --- a/npc/quests/quests_13_1.txt +++ b/npc/quests/quests_13_1.txt @@ -4640,7 +4640,7 @@ mid_camp,336,171,1 script Camp Guard#man1 4_M_EIN_SOLDIER,{ mes "Please be careful out there."; mes "If you encounter any threats or strange phenomenon, then please don't hesitate to report to us at the garrison."; close2; - switch(atoi(charat(strnpcinfo(2),3))) { + switch(atoi(charat(strnpcinfo(NPC_NAME_HIDDEN),3))) { case 1: if (ep13_animal == 1) ep13_animal = 2; @@ -8444,7 +8444,7 @@ mid_camp,88,100,7 script Cat Hand Mining Agent 4_CAT,{ else if (.@rhea_ran == 16) getitem Yellow_Live,1; else getitem Unidentified_Mineral,1; initnpctimer; - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; } else { @@ -8455,7 +8455,7 @@ mid_camp,88,100,7 script Cat Hand Mining Agent 4_CAT,{ end; OnTimer120000: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); stopnpctimer; end; } @@ -13710,11 +13710,11 @@ OnTimer11000: OnInit: OnDisable: - disablenpc strnpcinfo(0); + disablenpc strnpcinfo(NPC_NAME); end; OnEnable: - enablenpc strnpcinfo(0); + enablenpc strnpcinfo(NPC_NAME); end; } |