diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-03 12:33:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-03 12:33:11 -0300 |
commit | bf132fe60b927c0ff6b21235ff9da0e8ba622235 (patch) | |
tree | d59a4f8bccd5f341b88acd87ea127b27257fd2db /npc | |
parent | 18ef46d32b78e03e1117b04a5da6c5c8ee1334d8 (diff) | |
download | serverdata-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.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/005-1-1/main.txt | 7 |
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 |