From 24a08d69e6afd1c8b40ad24cb2a9bb6174d5a914 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 8 Jun 2018 00:18:48 -0300 Subject: Fix a bug with areatimer --- npc/003-1-1/yetiking.txt | 4 ++-- npc/006-1/crazyfefe.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/npc/003-1-1/yetiking.txt b/npc/003-1-1/yetiking.txt index 948d3e79d..1310e3f46 100644 --- a/npc/003-1-1/yetiking.txt +++ b/npc/003-1-1/yetiking.txt @@ -42,7 +42,7 @@ OnTimer5000: npctalk("A lone adventurer? Pft. I'm back to my slumber!"); } else { npctalk("You're courageous to summon me, I'll give you that."); - areatimer 0, "003-1-1", 93, 20, 97, 25,3000, "#YetiKing::OnSummonTalk"; + areatimer "003-1-1", 93, 20, 97, 25,3000, "#YetiKing::OnSummonTalk"; stopnpctimer; } end; @@ -103,7 +103,7 @@ OnSummonTalk: mesn "Dah Yeti King!!"; mesq l("I'll warp you to the Cave Of Trials. Pass all trials, and meet me on Soren's House. Hahah!"); setq HurnscaldQuest_Celestia, 2; - areatimer 0, "003-1-1", 93, 20, 97, 25, 15000, "#YetiKing::OnWarper"; + areatimer "003-1-1", 93, 20, 97, 25, 15000, "#YetiKing::OnWarper"; npctalk l("Listen to me! Whoever wants to follow foolish @@ on their suicide quest, stay here for 15 seconds!", strcharinfo(0)); close; diff --git a/npc/006-1/crazyfefe.txt b/npc/006-1/crazyfefe.txt index 197a0f777..028b1a371 100644 --- a/npc/006-1/crazyfefe.txt +++ b/npc/006-1/crazyfefe.txt @@ -146,7 +146,7 @@ L_CaveLogic: L_NextRound: // Prepare next round, and reward survivors $@FIGHT_CAVE_LEVEL = $@FIGHT_CAVE_LEVEL + $@FIGHT_CAVE_PLAYER_COUNT + rand(1,3); - areatimer 0, "006-1", 20, 20, 70, 60, 10, "Crazyfefe::OnReward"; + areatimer "006-1", 20, 20, 70, 60, 10, "Crazyfefe::OnReward"; mapannounce "006-1", "The next round is starting with " + $@FIGHT_CAVE_PLAYER_COUNT + " player(s) left alive." , 0; goto L_Summon; @@ -197,7 +197,7 @@ L_Summon: L_CleanUp: mapannounce "006-1", "Game over! Who will be the next to fall on Crazyfefe's Cave?", 0; - areatimer 0, "006-1", 20, 20, 70, 60, 10, "Crazyfefe::OnReward"; + areatimer "006-1", 20, 20, 70, 60, 10, "Crazyfefe::OnReward"; $@FIGHT_CAVE_LEVEL = 0; $@FIGHT_CAVE_HERO$ = ""; killmonster "006-1", "Crazyfefe::OnPetDeath"; -- cgit v1.2.3-60-g2f50