summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-summon-managuardian.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/event-summon-managuardian.txt')
-rw-r--r--world/map/npc/magic/event-summon-managuardian.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/magic/event-summon-managuardian.txt b/world/map/npc/magic/event-summon-managuardian.txt
index bad1213c..0d3d2d0b 100644
--- a/world/map/npc/magic/event-summon-managuardian.txt
+++ b/world/map/npc/magic/event-summon-managuardian.txt
@@ -11,6 +11,10 @@ OnCast:
if (countitem("TinyManaElixir") < 1) end;
if (!$DOOMSDAY_SUMMON) end;
if (@ddcooldown > gettimetick(2)) goto L_Cooldown;
+ if (getmap() == "033-1") goto L_SpecialRules6;
+ goto L_Pay;
+
+L_Pay:
delitem "TinyManaElixir", 1;
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 15000, "Magic Timer::OnClear"; // set the new debuff
@@ -50,6 +54,12 @@ L_Cooldown:
message strcharinfo(0), "This skill is in forced cooldown; Please wait your first summon to expire.";
end;
+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) + "jande"; // used in npcs that refer to this spell