summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-03-03 12:33:11 -0300
committerJesusaves <cpntb1@ymail.com>2019-03-03 12:33:11 -0300
commitbf132fe60b927c0ff6b21235ff9da0e8ba622235 (patch)
treed59a4f8bccd5f341b88acd87ea127b27257fd2db
parent18ef46d32b78e03e1117b04a5da6c5c8ee1334d8 (diff)
downloadserverdata-bf132fe60b927c0ff6b21235ff9da0e8ba622235.tar.gz
serverdata-bf132fe60b927c0ff6b21235ff9da0e8ba622235.tar.bz2
serverdata-bf132fe60b927c0ff6b21235ff9da0e8ba622235.tar.xz
serverdata-bf132fe60b927c0ff6b21235ff9da0e8ba622235.zip
Nylo Quest (aka. MARGGO) - 50% chances to spawn two maggots at once.
So the quest is harder.
-rw-r--r--npc/005-1-1/main.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/005-1-1/main.txt b/npc/005-1-1/main.txt
index 994afe56c..a78e53d3e 100644
--- a/npc/005-1-1/main.txt
+++ b/npc/005-1-1/main.txt
@@ -124,6 +124,13 @@ OnSpawn:
.@mobID=areamonster(.@MAP$, 23, 22, 35, 34, l("Maggot"), Maggot, 1, "Nylo#Marggo::OnMurder");
htput @MARGGO, str(.@mobID), 1;
+
+ // 50% chances to spawn two maggots at once
+ if (any(true, false) && @TOTAL_MRG < 8) {
+ @TOTAL_MRG+=1;
+ .@mobID=areamonster(.@MAP$, 23, 22, 35, 34, l("Maggot"), Maggot, 1, "Nylo#Marggo::OnMurder");
+ htput @MARGGO, str(.@mobID), 1;
+ }
end;
// Move all maggots