From bf132fe60b927c0ff6b21235ff9da0e8ba622235 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 3 Mar 2019 12:33:11 -0300 Subject: Nylo Quest (aka. MARGGO) - 50% chances to spawn two maggots at once. So the quest is harder. --- npc/005-1-1/main.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- cgit v1.2.3-60-g2f50