summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-summon-managuardian.txt
diff options
context:
space:
mode:
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;