summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/042-1/door.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/042-1/door.txt b/npc/042-1/door.txt
index 7cc9438a5..0970780f0 100644
--- a/npc/042-1/door.txt
+++ b/npc/042-1/door.txt
@@ -81,18 +81,18 @@ OnKillMob:
sleep2(800); // Give ~1 second before respawn
// Maybe we should advance the wave
- if ($@KAMELOT_WAVE == 3) {
+ if ($@KAMELOT_WAVE[.@g] == 3) {
debugmes "Kamelot %d: Boss Spawn", .@g;
initnpctimer;
setd("$@GTEMP_"+getmap(), .@avg);
.@mcount=.@gcount;
- } else if ($@KAMELOT_WAVE == 2) {
+ } else if ($@KAMELOT_WAVE[.@g] == 2) {
.@mcount=.@gcount*2;
mapannounce getmap(), "Don't make me come there myself!! GET RID OF THEM ALREADY!", 0;
- } else if ($@KAMELOT_WAVE == 1) {
+ } else if ($@KAMELOT_WAVE[.@g] == 1) {
.@mcount=.@gcount*3/2;
mapannounce getmap(), "Guards! What are you waiting for?? Arrest them!!", 0;
- } else if ($@KAMELOT_WAVE == 0) {
+ } else if ($@KAMELOT_WAVE[.@g] == 0) {
.@mcount=.@gcount;
mapannounce getmap(), "Guards!! Attack the intruders!!!", 0;
} else {
@@ -181,7 +181,7 @@ OnArrival:
percentheal -100, -100;
if (getmap() != "042-1@"+.@g)
end;
- if ($@KAMELOT_WAVE == 0)
+ if ($@KAMELOT_WAVE[.@g] == 0)
goto OnKillMob;
end;
}