summaryrefslogtreecommitdiff
path: root/npc/042-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-25 20:57:09 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-25 20:57:09 -0300
commit7c3e4b17ead9eb307716a56ad89e16da4660b55f (patch)
treece2e4530af2af4cb003530547b1a78d2d276d593 /npc/042-2
parent17ed7c5048c0348c2e680b7cc0e5d1512fb912df (diff)
downloadserverdata-7c3e4b17ead9eb307716a56ad89e16da4660b55f.tar.gz
serverdata-7c3e4b17ead9eb307716a56ad89e16da4660b55f.tar.bz2
serverdata-7c3e4b17ead9eb307716a56ad89e16da4660b55f.tar.xz
serverdata-7c3e4b17ead9eb307716a56ad89e16da4660b55f.zip
Fix a critical bug on Kamelot
Diffstat (limited to 'npc/042-2')
-rw-r--r--npc/042-2/boss.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt
index 7caee053f..76546396b 100644
--- a/npc/042-2/boss.txt
+++ b/npc/042-2/boss.txt
@@ -211,6 +211,11 @@ OnKillBoss:
guildgetexp(.@gxp); // 10xp per player average level (max 1000/1500)
// Announce
mapannounce getmap(), strcharinfo(0)+" has defeated Krukan!", 0;
+ // Arrest scene + exp
+ maptimer .@m$, 1500, .@n$+"::OnReward";
+ setd("$@GTEMP_"+.@m$, .@g);
+ setnpctimer 1000000; // Prefix 1M
+ startnpctimer;
// Guild Master Notification
.@gm$=getguildmaster(.@g);
if (!getcharid(3, .@gm$)) end;
@@ -218,11 +223,6 @@ OnKillBoss:
.@gmb=getcharid(0, .@gm$);
if (!isloggedin(.@gma, .@gmb)) end;
message .@gm$, strcharinfo(0)+" defeated Krukan: Guild GP +"+.@ggp+" Guild XP +"+.@gxp;
- // Arrest scene + exp
- maptimer .@m$, 1500, .@n$+"::OnReward";
- setd("$@GTEMP_"+.@m$, .@g);
- setnpctimer 1000000; // Prefix 1M
- startnpctimer;
end;