diff options
Diffstat (limited to 'world/map/npc/magic/level1-summon-maggots.txt')
-rw-r--r-- | world/map/npc/magic/level1-summon-maggots.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/magic/level1-summon-maggots.txt b/world/map/npc/magic/level1-summon-maggots.txt index 98ca6096..7924608b 100644 --- a/world/map/npc/magic/level1-summon-maggots.txt +++ b/world/map/npc/magic/level1-summon-maggots.txt @@ -8,6 +8,10 @@ OnCast: if (getmapflag(getmap(), MF_TOWN)) end; if (getskilllv(SKILL_MAGIC) < .level) end; if (countitem("MaggotSlime") < 1 || countitem("Root") < 1) end; + if (getmap() == "033-1") goto L_SpecialRules6; + goto L_Pay; + +L_Pay: delitem "MaggotSlime", 1; delitem "Root", 1; set @_M_BLOCK, 1; // block casting, until the timer clears it @@ -47,6 +51,12 @@ S_SummonAll: if (.@i < .count) goto S_SummonAll; destroy; +L_SpecialRules6: + if ($@KIMARR_EVENT < 1) goto L_Pay; + if ($@Fluffy_FighterID == BL_ID) goto L_Pay; + message strcharinfo(0), "You can't summon here unless hunting fluffies."; + end; + OnInit: set .school, SKILL_MAGIC_ASTRAL; set .invocation$, chr(MAGIC_SYMBOL) + "kalmurk"; // used in npcs that refer to this spell |