summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-summon-snakes.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-summon-snakes.txt')
-rw-r--r--world/map/npc/magic/level2-summon-snakes.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-summon-snakes.txt b/world/map/npc/magic/level2-summon-snakes.txt
index 2e2021ae..f412cd22 100644
--- a/world/map/npc/magic/level2-summon-snakes.txt
+++ b/world/map/npc/magic/level2-summon-snakes.txt
@@ -10,6 +10,10 @@ OnCast:
if (getskilllv(.school) < .level) end;
if (countitem("DarkCrystal") < 1 || countitem("SnakeEgg") < 1) end;
if (OrumQuest <= 40) end;
+ if (getmap() == "033-1") goto L_SpecialRules6;
+ goto L_Pay;
+
+L_Pay:
delitem "DarkCrystal", 1;
delitem "SnakeEgg", 1;
set @_M_BLOCK, 1; // block casting, until the timer clears it
@@ -54,6 +58,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_DARK;
set .invocation$, chr(MAGIC_SYMBOL) + "halhiss"; // used in npcs that refer to this spell