summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level1-flare-dart.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level1-flare-dart.txt')
-rw-r--r--world/map/npc/magic/level1-flare-dart.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/magic/level1-flare-dart.txt b/world/map/npc/magic/level1-flare-dart.txt
index 29a4f3c1..2f17c499 100644
--- a/world/map/npc/magic/level1-flare-dart.txt
+++ b/world/map/npc/magic/level1-flare-dart.txt
@@ -3,7 +3,7 @@
if(call("magic_checks")) end;
if (Sp < 10) end;
set @level, getskilllv(.school);
- if (@level < .level) end;
+ if (getskilllv(SKILL_MAGIC) < .level) end;
if (@level <= 2 && countitem("SulphurPowder") >= 1) delitem "SulphurPowder", 1;
elif (@level <= 2) end;
set @_M_BLOCK, 1; // block casting, until the timer clears it