From 7a08866907468155b6ea56e326e6c23bb8a2b0f0 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Mon, 27 Nov 2023 13:48:01 +0000 Subject: activity checks and casts counting --- world/map/npc/magic/level1-grow-cobalt.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'world/map/npc/magic/level1-grow-cobalt.txt') diff --git a/world/map/npc/magic/level1-grow-cobalt.txt b/world/map/npc/magic/level1-grow-cobalt.txt index e50cfb39..58028e8c 100644 --- a/world/map/npc/magic/level1-grow-cobalt.txt +++ b/world/map/npc/magic/level1-grow-cobalt.txt @@ -11,6 +11,8 @@ sc_start SC_COOLDOWN, 2000, 0, BL_ID; callfunc "adjust_spellpower"; set Sp, Sp - 4; + set CASTS, CASTS + 1; + if (CASTS < 0) set CASTS, 1; // overflow misceffect FX_MAGIC_GROW_CAST, strcharinfo(0); setarray @summon[0], 0, (getskilllv(.school)/2)+1; callfunc "magic_exp"; -- cgit v1.2.3-70-g09d2