summaryrefslogtreecommitdiff
path: root/npc/042-2
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-04-30 00:28:49 -0300
committerJesusaves <cpntb1@ymail.com>2020-04-30 00:28:49 -0300
commitf51eb2a764358ce24ba7fae74eb23d071785d195 (patch)
tree93989c2361e40ac0c3f429111159a9025c1544cc /npc/042-2
parent6efb97a3aa229315d7c927d876898c6d2863eabd (diff)
downloadserverdata-f51eb2a764358ce24ba7fae74eb23d071785d195.tar.gz
serverdata-f51eb2a764358ce24ba7fae74eb23d071785d195.tar.bz2
serverdata-f51eb2a764358ce24ba7fae74eb23d071785d195.tar.xz
serverdata-f51eb2a764358ce24ba7fae74eb23d071785d195.zip
Keep magical barrier
Diffstat (limited to 'npc/042-2')
-rw-r--r--npc/042-2/boss.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/042-2/boss.txt b/npc/042-2/boss.txt
index 3479b7f2c..d7c3493f3 100644
--- a/npc/042-2/boss.txt
+++ b/npc/042-2/boss.txt
@@ -199,7 +199,6 @@ OnKillBoss:
setd("$@GTEMP_PC_"+.@m$, 0);
setd("$@GTEMP_MX_"+.@m$, 0);
.@g=getcharid(2);
- $KAMELOT_QUEST[.@g]=$KAMELOT_QUEST[.@g]|4; // This part is complete
// Player Reward for completing this stage
getitem GuildCoin, min(1, $KAMELOT_MX[.@g]/20);
getexp $KAMELOT_MX[.@g]*50, $KAMELOT_MX[.@g]*10;
@@ -219,7 +218,7 @@ OnKillBoss:
message .@gm$, strcharinfo(0)+" defeated Krukan: Guild GP +"+.@ggp+" Guild XP +"+.@gxp;
// Arrest scene + exp
maptimer .@m$, 1500, .@n$+"::OnReward";
- setd("$@GTEMP_"+.@m$, $KAMELOT_ID[.@g]);
+ setd("$@GTEMP_"+.@m$, .@g);
setnpctimer 1000000; // Prefix 1M
startnpctimer;
end;
@@ -281,7 +280,8 @@ OnTimer1012000:
OnTimer1015000:
.@m$=instance_mapname("042-2");
.@t$=instance_mapname("042-3");
- .@n$=instance_npcname("#KSlimeSpawn", getd("$@GTEMP_"+.@m$));
+ .@g=getd("$@GTEMP_"+.@m$);
+ .@n$=instance_npcname("#KSlimeSpawn", $KAMELOT_ID[.@g]);
setarray .@x, 33, 84, 41, 74, 36, 57, 79, 43, 24, 86, 59, 38;
setarray .@y, 135, 127, 119, 107, 96, 84, 63, 67, 67, 22, 49, 27;
.@c=getunits(BL_PC, .@unt, false, .@m$, 20, 24, 59, 59);
@@ -299,6 +299,7 @@ OnTimer1015000:
debugmes "FATAL: Could not attach: %d", .@unt[.@i];
}
}
+ $KAMELOT_QUEST[.@g]=$KAMELOT_QUEST[.@g]|4; // This part is complete
setd("$@GTEMP_"+.@m$, 0);
stopnpctimer;
end;