diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-05-08 22:24:58 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-05-08 22:24:58 -0300 |
commit | f7654785a622559328b9d2c5dd17f3ca1bac98a9 (patch) | |
tree | db4ae81e1e451d6d31e34a302f8fa2a9d0456eea | |
parent | 60261f4f1c13045c1984a537d9ff639d30186d06 (diff) | |
download | serverdata-f7654785a622559328b9d2c5dd17f3ca1bac98a9.tar.gz serverdata-f7654785a622559328b9d2c5dd17f3ca1bac98a9.tar.bz2 serverdata-f7654785a622559328b9d2c5dd17f3ca1bac98a9.tar.xz serverdata-f7654785a622559328b9d2c5dd17f3ca1bac98a9.zip |
Fix "the Guinevere bug"
-rw-r--r-- | npc/042-1/door.txt | 10 |
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; } |