diff options
author | HoraK-FDF <horak-fdf@web.de> | 2022-09-16 03:25:04 +0200 |
---|---|---|
committer | HoraK-FDF <horak-fdf@web.de> | 2022-09-16 03:25:04 +0200 |
commit | 5d12bfc67aa59cfed4aa141db16c5c036ebbdfa3 (patch) | |
tree | 8cec2e2dd1eddcd62187295a5c032264dfd2ec35 /world/map/npc/magic/level2-summon-wickedmushroom.txt | |
parent | 6256685d330bf4f0a540a8e1df7746a84bfbcb16 (diff) | |
download | serverdata-5d12bfc67aa59cfed4aa141db16c5c036ebbdfa3.tar.gz serverdata-5d12bfc67aa59cfed4aa141db16c5c036ebbdfa3.tar.bz2 serverdata-5d12bfc67aa59cfed4aa141db16c5c036ebbdfa3.tar.xz serverdata-5d12bfc67aa59cfed4aa141db16c5c036ebbdfa3.zip |
summon/spell event fixes
Diffstat (limited to 'world/map/npc/magic/level2-summon-wickedmushroom.txt')
-rw-r--r-- | world/map/npc/magic/level2-summon-wickedmushroom.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-summon-wickedmushroom.txt b/world/map/npc/magic/level2-summon-wickedmushroom.txt index dc5fb72d..3b817f8d 100644 --- a/world/map/npc/magic/level2-summon-wickedmushroom.txt +++ b/world/map/npc/magic/level2-summon-wickedmushroom.txt @@ -10,6 +10,10 @@ OnCast: if (getskilllv(.school) < .level) end; if (countitem("DarkCrystal") < 1 || countitem("SmallMushroom") < 1) end; if (OrumQuest <= 36) end; + if (getmap() == "033-1") goto L_SpecialRules6; + goto L_Pay; + +L_Pay: delitem "DarkCrystal", 1; delitem "SmallMushroom", 1; set @_M_BLOCK, 1; // block casting, until the timer clears it @@ -53,6 +57,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) + "helorp"; // used in npcs that refer to this spell |