summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorEmistry Haoyan <equinox1991@gmail.com>2019-07-12 01:39:04 +0800
committerEmistry Haoyan <equinox1991@gmail.com>2019-07-12 01:39:04 +0800
commite9ece8734212235fb96d2b5dc5a3a5a101c10b3b (patch)
treec492cdd8b1522bc4b58c256036dadcb6ee9224b5 /npc
parenta5eb6ec995612c878a3b6cb522520ffae8b13a3b (diff)
downloadhercules-e9ece8734212235fb96d2b5dc5a3a5a101c10b3b.tar.gz
hercules-e9ece8734212235fb96d2b5dc5a3a5a101c10b3b.tar.bz2
hercules-e9ece8734212235fb96d2b5dc5a3a5a101c10b3b.tar.xz
hercules-e9ece8734212235fb96d2b5dc5a3a5a101c10b3b.zip
Fix Wounded Morocc Cooldown
- Fixed an issue with a cooldown after killing Wounded Morroc.
Diffstat (limited to 'npc')
-rw-r--r--npc/quests/quests_morocc.txt21
1 files changed, 5 insertions, 16 deletions
diff --git a/npc/quests/quests_morocc.txt b/npc/quests/quests_morocc.txt
index 592711c24..39279cd2a 100644
--- a/npc/quests/quests_morocc.txt
+++ b/npc/quests/quests_morocc.txt
@@ -1887,6 +1887,7 @@ OnTimer25000:
end;
OnDisable:
+ stopnpctimer;
disablenpc "Satan Broadcast#edq";
end;
}
@@ -1912,20 +1913,11 @@ moc_fild21,178,239,0 script Group of Evil#edq CLEAR_NPC,1,1,{
mes "You can feel the power of the darkness rise from the gap where light and darkness are mingled.";
close;
}
-
-OnInit:
- enablenpc "Group of Evil#edq";
- end;
-
+
OnEnable:
enablenpc "Group of Evil#edq";
$@re_moc_time$ = "";
end;
-
-OnDisable:
- disablenpc "Group of Evil#edq";
- donpcevent "Time-Space Gap#edq::OnEnable";
- end;
}
moc_fild21,177,239,0 script Time-Space Gap#edq CLEAR_NPC,1,1,{
@@ -1968,8 +1960,6 @@ OnTimer1800000:
end;
OnTimer21600000:
- stopnpctimer;
- $@re_moc = 0;
donpcevent "Time-Space Gap#edq::OnDisable";
end;
}
@@ -1998,7 +1988,9 @@ OnMyMobDead:
mapannounce "moc_fild21","I'll let live just a little longer. You'll never find me through this time-space gap!",bc_map,"0xFFFF00";
donpcevent "Time-Space Gap#edq::OnEnable";
donpcevent "Satan Broadcast#edq::OnDisable";
- donpcevent "Group of Evil#edq::OnDisable";
+ disablenpc "Group of Evil#edq";
+ stopnpctimer;
+ killmonster "moc_fild21","Satan Summon#edq::OnMyMobDead";
disablenpc "Satan Summon#edq";
end;
@@ -2008,9 +2000,6 @@ OnTimer5400000:
OnTimer5415000:
mapannounce "moc_fild21","I don't have time for this! Go away!",bc_map,"0xFFFF00";
- stopnpctimer;
- killmonster "moc_fild21","Satan Summon#edq::OnMyMobDead";
- $@re_moc = 0;
donpcevent "Satan Summon#edq::OnDisable";
end;
}