diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-06-25 08:06:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-06-25 08:06:17 -0300 |
commit | 966297f7b40879a453de0b5bfbde938e428bf83f (patch) | |
tree | 9d896db7dc0b1ff198e5b540f71e8d668d4cd8ec /npc | |
parent | 7191c523d4a920978e74e9d7be24716646359d94 (diff) | |
download | serverdata-966297f7b40879a453de0b5bfbde938e428bf83f.tar.gz serverdata-966297f7b40879a453de0b5bfbde938e428bf83f.tar.bz2 serverdata-966297f7b40879a453de0b5bfbde938e428bf83f.tar.xz serverdata-966297f7b40879a453de0b5bfbde938e428bf83f.zip |
Add 20% chance of Giant Maggots showing up with Kalmurk.
This only happens if you have a magic power of 3+ and perfect control
Maggot GHQ must also be complete.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/hub.txt | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 3e745825d..85c8f8c6a 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -497,10 +497,6 @@ function script HUB_SkillInvoke { GetManaExp(@skillId, 1); break; // Summons which may fail - case TMW2_KALMURK: - // TODO: Allow Giant Maggot summoning - SK_summon(Maggot, 2, any(1,2)); - break; case TMW2_KALWULF: SK_summon(Wolvern, 4, any(3,4)); break; @@ -524,6 +520,16 @@ function script HUB_SkillInvoke { SK_summon(any(VanityPixie, HolyPixie, ShadowPixie, NulityPixie), 5, any(4,5)); break; // More complex summons + case TMW2_KALMURK: + .@mobId=Maggot; + if (abizit() > 4 && + GHMEMO[GHQ_GetQuestIDByMonsterID(Maggot)] >= 10000 && + MAGIC_LVL >= 3) + { + .@mobId=any(Maggot, Maggot, Maggot, Maggot, GiantMaggot); + } + SK_summon(.@mobId, (.@mobId == Maggot ? 2 : 4), any(1,2)); + break; case TMW2_HALHISS: .@mobId=Snake; if (abizit() > 3 && |