From f7654785a622559328b9d2c5dd17f3ca1bac98a9 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 May 2020 22:24:58 -0300 Subject: Fix "the Guinevere bug" --- npc/042-1/door.txt | 10 +++++----- 1 file 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; } -- cgit v1.2.3-60-g2f50