summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level0-wand.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level0-wand.txt')
-rw-r--r--world/map/npc/magic/level0-wand.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/level0-wand.txt b/world/map/npc/magic/level0-wand.txt
index 7a0f6c25..efb49ba8 100644
--- a/world/map/npc/magic/level0-wand.txt
+++ b/world/map/npc/magic/level0-wand.txt
@@ -10,6 +10,8 @@
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 500, "Magic Timer::OnClear"; // set the new debuff
sc_start SC_COOLDOWN, 500, 0, BL_ID;
+ set CASTS, CASTS + 1;
+ if (CASTS < 0) set CASTS, 1; // overflow
misceffect FX_MAGIC_WAND_CAST, strcharinfo(0);
callfunc "magic_exp";