summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/level2-summon-snakes.txt
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2023-11-27 13:48:01 +0000
committerLed Mitz <smoothshifter@tuta.io>2023-11-27 13:48:01 +0000
commitdee21706a816da2df1e888f3c0945d093b8136a5 (patch)
treebe50261be0bde9b19248ffbc6e5cf60eedbbb10e /world/map/npc/magic/level2-summon-snakes.txt
parent53c1f8c78cff7f031ada478df191626976d8da64 (diff)
parent7a08866907468155b6ea56e326e6c23bb8a2b0f0 (diff)
downloadserverdata-dee21706a816da2df1e888f3c0945d093b8136a5.tar.gz
serverdata-dee21706a816da2df1e888f3c0945d093b8136a5.tar.bz2
serverdata-dee21706a816da2df1e888f3c0945d093b8136a5.tar.xz
serverdata-dee21706a816da2df1e888f3c0945d093b8136a5.zip
Merge branch 'activity' into 'master'
activity checks and casts counting See merge request legacy/serverdata!689
Diffstat (limited to 'world/map/npc/magic/level2-summon-snakes.txt')
-rw-r--r--world/map/npc/magic/level2-summon-snakes.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-summon-snakes.txt b/world/map/npc/magic/level2-summon-snakes.txt
index db0d0b6c..0723961b 100644
--- a/world/map/npc/magic/level2-summon-snakes.txt
+++ b/world/map/npc/magic/level2-summon-snakes.txt
@@ -21,6 +21,8 @@ L_Pay:
sc_start SC_COOLDOWN, 15000, 0, BL_ID;
callfunc "adjust_spellpower";
set Sp, Sp - 40;
+ set CASTS, CASTS + 1;
+ if (CASTS < 0) set CASTS, 1; // overflow
misceffect FX_MAGIC_SNAKE_CAST, strcharinfo(0);
callfunc "magic_exp";
set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID;