From 42aa9880ba40a065f9cccb8ee41eb4df8cc4a28d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 15 Jun 2021 19:53:57 -0300 Subject: Fix a bad scope --- npc/099-7/boss.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/npc/099-7/boss.txt b/npc/099-7/boss.txt index 9668ceed..7f47910e 100644 --- a/npc/099-7/boss.txt +++ b/npc/099-7/boss.txt @@ -575,22 +575,22 @@ OnBoss: OnTimer150000: // 1148 - $@KeshlamMc = mobcount("099-7", "Keshlam::OnDeath8"); - if ($@KeshlamMc < 10) - areamonster "099-7", 20, 20, 120, 120, "", 1148, 10-$@KeshlamMc, "Keshlam::OnDeath8"; + .@KeshlamMc = mobcount("099-7", "Keshlam::OnDeath8"); + if (.@KeshlamMc < 10) + areamonster "099-7", 20, 20, 120, 120, "", 1148, 10-.@KeshlamMc, "Keshlam::OnDeath8"; // 1149 - $@KeshlamMc = mobcount("099-7", "Keshlam::OnDeath9"); - if ($@KeshlamMc < 10) - areamonster "099-7", 20, 20, 120, 120, "", 1149, 10-$@KeshlamMc, "Keshlam::OnDeath9"; + .@KeshlamMc = mobcount("099-7", "Keshlam::OnDeath9"); + if (.@KeshlamMc < 10) + areamonster "099-7", 20, 20, 120, 120, "", 1149, 10-.@KeshlamMc, "Keshlam::OnDeath9"; // Boss (TODO maybe give boss their own timer with 5 minutes) - $@KeshlamMc = mobcount("099-7", "Keshlam::OnBoss"); - if ($@KeshlamMc < 1) + .@KeshlamMc = mobcount("099-7", "Keshlam::OnBoss"); + if (.@KeshlamMc < 1) monster "099-7", 20, 105, "Grim Reaper", 1068, 1, "Keshlam::OnBoss"; // Done - $@KeshlamMc = 0; + .@KeshlamMc = 0; stopnpctimer; end; } -- cgit v1.2.3-60-g2f50