summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-08 00:18:48 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-08 00:18:48 -0300
commit24a08d69e6afd1c8b40ad24cb2a9bb6174d5a914 (patch)
treeac1c12c846275c3048c7df8ab756d0e61673d945
parentc30da2624f9a6ceb4039868af2326c08393da0c4 (diff)
downloadserverdata-24a08d69e6afd1c8b40ad24cb2a9bb6174d5a914.tar.gz
serverdata-24a08d69e6afd1c8b40ad24cb2a9bb6174d5a914.tar.bz2
serverdata-24a08d69e6afd1c8b40ad24cb2a9bb6174d5a914.tar.xz
serverdata-24a08d69e6afd1c8b40ad24cb2a9bb6174d5a914.zip
Fix a bug with areatimer
-rw-r--r--npc/003-1-1/yetiking.txt4
-rw-r--r--npc/006-1/crazyfefe.txt4
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";