diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-11-23 14:59:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-11-23 14:59:17 -0300 |
commit | dd2f72404c81de7918a693d8fab95bf06d137c84 (patch) | |
tree | 7f1219c581d401644e0f4afb391da3c38b017727 /world/map/npc/magic/level2-summon-spiky-mushroom.txt | |
parent | 60bce38f8de80eb50977cc96a01db96c7b8f25e4 (diff) | |
download | serverdata-dd2f72404c81de7918a693d8fab95bf06d137c84.tar.gz serverdata-dd2f72404c81de7918a693d8fab95bf06d137c84.tar.bz2 serverdata-dd2f72404c81de7918a693d8fab95bf06d137c84.tar.xz serverdata-dd2f72404c81de7918a693d8fab95bf06d137c84.zip |
Disable summoning magic in towns.
close serverdata!2
Diffstat (limited to 'world/map/npc/magic/level2-summon-spiky-mushroom.txt')
-rw-r--r-- | world/map/npc/magic/level2-summon-spiky-mushroom.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-summon-spiky-mushroom.txt b/world/map/npc/magic/level2-summon-spiky-mushroom.txt index 84d4eb82..ff861283 100644 --- a/world/map/npc/magic/level2-summon-spiky-mushroom.txt +++ b/world/map/npc/magic/level2-summon-spiky-mushroom.txt @@ -5,6 +5,7 @@ OnCast: if(call("magic_checks")) end; if (Sp < 33) end; + if (getmapflag(getmap(), MF_TOWN)) end; if (getskilllv(SKILL_MAGIC) < .level) end; if (getskilllv(.school) < .level) end; if (countitem("HardSpike") < 1 || countitem("Root") < 1) end; |