summaryrefslogtreecommitdiff
path: root/npc/005-1-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-02-10 01:33:19 -0200
committerJesusaves <cpntb1@ymail.com>2019-02-10 01:33:19 -0200
commit637f8b7cf7485a37c3e9e0da689b9a1cd92cffeb (patch)
tree7193b9538f16e475402f44f41b3aea5a77a06e25 /npc/005-1-1
parenta5a992ef588bce14593ee90cd897fbf50884efb0 (diff)
downloadserverdata-637f8b7cf7485a37c3e9e0da689b9a1cd92cffeb.tar.gz
serverdata-637f8b7cf7485a37c3e9e0da689b9a1cd92cffeb.tar.bz2
serverdata-637f8b7cf7485a37c3e9e0da689b9a1cd92cffeb.tar.xz
serverdata-637f8b7cf7485a37c3e9e0da689b9a1cd92cffeb.zip
Bugfix
Diffstat (limited to 'npc/005-1-1')
-rw-r--r--npc/005-1-1/main.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/npc/005-1-1/main.txt b/npc/005-1-1/main.txt
index 0fb4620bf..6823fc441 100644
--- a/npc/005-1-1/main.txt
+++ b/npc/005-1-1/main.txt
@@ -35,8 +35,15 @@
end;
OnStart:
- initnpctimer;
- addtimer(60000, "Nylo#Marggo::OnBegin");
+ //initnpctimer;
+ addtimer(10000, "Nylo#Marggo::OnTimer10000");
+ addtimer(20000, "Nylo#Marggo::OnTimer20000");
+ addtimer(30000, "Nylo#Marggo::OnTimer30000");
+ addtimer(40000, "Nylo#Marggo::OnTimer40000");
+ addtimer(50000, "Nylo#Marggo::OnTimer50000");
+ addtimer(55000, "Nylo#Marggo::OnTimer55000");
+ addtimer(60000, "Nylo#Marggo::OnTimer60000");
+ addtimer(60300, "Nylo#Marggo::OnBegin");
mesn;
mesq l("The maggots will spawn in @@ at random.", b(l("60 seconds")));
mes l("Read the instructions carefully.");
@@ -79,7 +86,7 @@ OnTimer55000:
OnTimer60000:
npctalk "Start!";
- stopnpctimer;
+ //stopnpctimer;
end;
OnBegin:
@@ -105,7 +112,7 @@ OnSpawn:
addtimer(rand(10000, 12500), "Nylo#Marggo::OnSpawn");
.@mobID=areamonster(.@MAP$, 23, 22, 35, 34, l("Maggot"), Maggot, 1, "Nylo#Marggo::OnMurder");
- htput @MARGGO, .@mobID, 1;
+ htput @MARGGO, str(.@mobID), 1;
end;
// Move all maggots
@@ -159,7 +166,7 @@ OnMurder:
continue;
// We found the dead monster, mark it as dead and stop this meaningless loop
- htput .@key$, .@mobId, 0;
+ htput @MARGGO, .@key$, 0;
break;
}
htidelete(.@hti);