diff options
author | HoraK-FDF <horak-fdf@web.de> | 2023-11-27 13:48:01 +0000 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2023-11-27 13:48:01 +0000 |
commit | 7a08866907468155b6ea56e326e6c23bb8a2b0f0 (patch) | |
tree | 9701f87b46cb188b214902de56725c66d1e0f632 /world/map/npc/magic/level2-summon-wickedmushroom.txt | |
parent | 0b68e1c138698232798807ea53329e3fd94a1098 (diff) | |
download | serverdata-7a08866907468155b6ea56e326e6c23bb8a2b0f0.tar.gz serverdata-7a08866907468155b6ea56e326e6c23bb8a2b0f0.tar.bz2 serverdata-7a08866907468155b6ea56e326e6c23bb8a2b0f0.tar.xz serverdata-7a08866907468155b6ea56e326e6c23bb8a2b0f0.zip |
activity checks and casts counting
Diffstat (limited to 'world/map/npc/magic/level2-summon-wickedmushroom.txt')
-rw-r--r-- | world/map/npc/magic/level2-summon-wickedmushroom.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/world/map/npc/magic/level2-summon-wickedmushroom.txt b/world/map/npc/magic/level2-summon-wickedmushroom.txt index eced8c3a..9107955a 100644 --- a/world/map/npc/magic/level2-summon-wickedmushroom.txt +++ b/world/map/npc/magic/level2-summon-wickedmushroom.txt @@ -21,6 +21,8 @@ L_Pay: sc_start SC_COOLDOWN, 15000, 0, BL_ID; callfunc "adjust_spellpower"; set Sp, Sp - 35; + set CASTS, CASTS + 1; + if (CASTS < 0) set CASTS, 1; // overflow misceffect FX_MAGIC_WICKED_CAST, strcharinfo(0); callfunc "magic_exp"; set .@puppet$, "#"+strnpcinfo(0)+"#"+BL_ID; |