summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-shear.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-shear.txt')
-rw-r--r--world/map/npc/magic/level2-shear.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-shear.txt b/world/map/npc/magic/level2-shear.txt
index c6141a1c..8f259bd3 100644
--- a/world/map/npc/magic/level2-shear.txt
+++ b/world/map/npc/magic/level2-shear.txt
@@ -9,6 +9,8 @@
sc_start SC_COOLDOWN, 1000, 0, BL_ID;
callfunc "adjust_spellpower";
set Sp, Sp - 23;
+ set CASTS, CASTS + 1;
+ if (CASTS < 0) set CASTS, 1; // overflow
misceffect FX_MAGIC_SHEAR_CAST, strcharinfo(0);
setarray @chipchipspell[0],
@spellpower,