summaryrefslogtreecommitdiff
path: root/npc/042-11
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-02 09:16:07 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-02 09:16:07 -0300
commit82dc3da64704a23cb119ea8d72228b2be920f624 (patch)
treef4688513c8ed6ce5cfc6a7b0928d2cb4e7aac98f /npc/042-11
parent9d2ee1be21e7dc0f3b1c26766e27f35d930dada8 (diff)
downloadserverdata-82dc3da64704a23cb119ea8d72228b2be920f624.tar.gz
serverdata-82dc3da64704a23cb119ea8d72228b2be920f624.tar.bz2
serverdata-82dc3da64704a23cb119ea8d72228b2be920f624.tar.xz
serverdata-82dc3da64704a23cb119ea8d72228b2be920f624.zip
Possible exploit
Diffstat (limited to 'npc/042-11')
-rw-r--r--npc/042-11/boss.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/042-11/boss.txt b/npc/042-11/boss.txt
index 84317dc86..42d5bbd3c 100644
--- a/npc/042-11/boss.txt
+++ b/npc/042-11/boss.txt
@@ -68,6 +68,10 @@ OnBegin:
if (.@exist)
end;
+ // Check if quest isn't over already '-'
+ if ($KAMELOT_QUEST[.@g] & 64)
+ end;
+
// Bring Terogan into existence
.@mob=monster(.@m$, 40, 30, strmobinfo(1, GeneralTerogan), GeneralTerogan, 1, .@n$+"::OnKillBoss");
setd("$@GTEMP_"+.@m$, .@mob);