From 5d12bfc67aa59cfed4aa141db16c5c036ebbdfa3 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Fri, 16 Sep 2022 03:25:04 +0200 Subject: summon/spell event fixes --- world/map/npc/magic/level2-summon-mouboo.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'world/map/npc/magic/level2-summon-mouboo.txt') diff --git a/world/map/npc/magic/level2-summon-mouboo.txt b/world/map/npc/magic/level2-summon-mouboo.txt index dfa60e57..13d9cfb0 100644 --- a/world/map/npc/magic/level2-summon-mouboo.txt +++ b/world/map/npc/magic/level2-summon-mouboo.txt @@ -9,6 +9,10 @@ OnCast: if (getskilllv(SKILL_MAGIC) < .level) end; if (getskilllv(.school) < .level) end; if (countitem("MoubooFigurine") < 1 || countitem("Root") < 1) end; + if (getmap() == "033-1") goto L_SpecialRules6; + goto L_Pay; + +L_Pay: delitem "MoubooFigurine", 1; delitem "Root", 1; set @_M_BLOCK, 1; // block casting, until the timer clears it @@ -48,6 +52,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) + "kalboo"; // used in npcs that refer to this spell -- cgit v1.2.3-60-g2f50