summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-summon-managuardian.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-19 21:50:12 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-19 21:51:17 -0300
commit35ad4b573976f1357a9ff7722070763cedf5977f (patch)
treeac47b2923fcea90d76748d98b046277f1a9c11f9 /world/map/npc/magic/event-summon-managuardian.txt
parent46c23bf5824563fa20694b331d8dc08ae9ac130b (diff)
downloadserverdata-2020.05.09.3.tar.gz
serverdata-2020.05.09.3.tar.bz2
serverdata-2020.05.09.3.tar.xz
serverdata-2020.05.09.3.zip
Spell #manatez (summons Mana Tyrant); Soul Menhir; submodule update.v2020.05.09.3
Diffstat (limited to 'world/map/npc/magic/event-summon-managuardian.txt')
-rw-r--r--world/map/npc/magic/event-summon-managuardian.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/event-summon-managuardian.txt b/world/map/npc/magic/event-summon-managuardian.txt
index e18c08ce..bad1213c 100644
--- a/world/map/npc/magic/event-summon-managuardian.txt
+++ b/world/map/npc/magic/event-summon-managuardian.txt
@@ -4,6 +4,8 @@
OnCast:
if(call("magic_checks")) end;
+ // FIXME: Incomplete check, should still work during sieges
+ if (getmapflag(getmap(), MF_TOWN)) end;
if (Sp < 100) end;
if (getskilllv(SKILL_MAGIC) < .level) end;
if (countitem("TinyManaElixir") < 1) end;