diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/042-2/boss.txt | 7 |
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; |