summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-summon-manatyrant.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/event-summon-manatyrant.txt')
-rw-r--r--world/map/npc/magic/event-summon-manatyrant.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/magic/event-summon-manatyrant.txt b/world/map/npc/magic/event-summon-manatyrant.txt
index f91b2a87..73ee6537 100644
--- a/world/map/npc/magic/event-summon-manatyrant.txt
+++ b/world/map/npc/magic/event-summon-manatyrant.txt
@@ -10,6 +10,10 @@ OnCast:
if (getskilllv(SKILL_MAGIC) < .level) end;
if (countitem("LargeManaElixir") < 1) end;
if (@dd4cooldown > gettimetick(2)) goto L_Cooldown;
+ if (getmap() == "033-1") goto L_SpecialRules6;
+ goto L_Pay;
+
+L_Pay:
delitem "LargeManaElixir", 1;
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 15000, "Magic Timer::OnClear"; // set the new debuff
@@ -51,6 +55,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) + "manatez"; // used in npcs that refer to this spell