summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-hide.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/level2-hide.txt')
-rw-r--r--world/map/npc/magic/level2-hide.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-hide.txt b/world/map/npc/magic/level2-hide.txt
index 6f78f1cf..1274f7a2 100644
--- a/world/map/npc/magic/level2-hide.txt
+++ b/world/map/npc/magic/level2-hide.txt
@@ -16,6 +16,8 @@
sc_start SC_COOLDOWN, 1000, 0, BL_ID;
callfunc "adjust_spellpower";
set Sp, Sp - 11;
+ set CASTS, CASTS + 1;
+ if (CASTS < 0) set CASTS, 1; // overflow
misceffect FX_MAGIC_HIDE_CAST, strcharinfo(0);
callfunc "magic_exp";