summaryrefslogtreecommitdiff
path: root/npc/quests/quests_13_1.txt
diff options
context:
space:
mode:
authorEmistry Haoyan <Equinox1991@gmail.com>2016-08-31 02:49:04 +0800
committerEmistry Haoyan <Equinox1991@gmail.com>2016-08-31 02:49:04 +0800
commit99a36a426b7d2adb6a0f417e02e92366939e5d22 (patch)
tree74a0fef908f373c3c6674821a150e866a2afb4c3 /npc/quests/quests_13_1.txt
parentac6fd81810e6afb1ef60e7f2c7f8fc6e03408724 (diff)
parent0f1d03f505fdc03533122db8ba19fa55f64f11b7 (diff)
downloadhercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.gz
hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.bz2
hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.tar.xz
hercules-99a36a426b7d2adb6a0f417e02e92366939e5d22.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules into scriptcommand_makeitem2
Diffstat (limited to 'npc/quests/quests_13_1.txt')
-rw-r--r--npc/quests/quests_13_1.txt10
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;
}