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/level2-lay-on-hands.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'world/map/npc/magic/level2-lay-on-hands.txt') diff --git a/world/map/npc/magic/level2-lay-on-hands.txt b/world/map/npc/magic/level2-lay-on-hands.txt index 8feb9107..1270dfb2 100644 --- a/world/map/npc/magic/level2-lay-on-hands.txt +++ b/world/map/npc/magic/level2-lay-on-hands.txt @@ -24,6 +24,8 @@ L_Pay: addtimer 500, "Magic Timer::OnClear"; // XXX should this be 0 ? sc_start SC_COOLDOWN, 500, 0, BL_ID; set Sp, Sp - 10; + set CASTS, CASTS + 1; + if (CASTS < 0) set CASTS, 1; // overflow misceffect FX_MAGIC_LAY_CAST, strcharinfo(0); // on caster misceffect FX_MAGIC_LAY_HIT, @args$; // on target -- cgit v1.2.3-60-g2f50