From 8a9ffe6787fc7f7fa32ec1845f8f40c936d13601 Mon Sep 17 00:00:00 2001 From: "Hello=)" Date: Thu, 11 Apr 2024 05:07:44 +0300 Subject: Boss Spells/actions: re-wired to new FX effects. Server constants added as well. --- world/map/npc/magic/event-boss-powerup-lifedrain.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'world/map/npc/magic/event-boss-powerup-lifedrain.txt') diff --git a/world/map/npc/magic/event-boss-powerup-lifedrain.txt b/world/map/npc/magic/event-boss-powerup-lifedrain.txt index 27c467d5..5399ea37 100644 --- a/world/map/npc/magic/event-boss-powerup-lifedrain.txt +++ b/world/map/npc/magic/event-boss-powerup-lifedrain.txt @@ -22,7 +22,7 @@ OnHit: L_cont: set @hpgain, min((@targethp / 4), 500); // Boss could be beefy -> clamp message strcharinfo(0, @target_id), "[boss-lifedrain] : "+strcharinfo(0, BL_ID)+" drains "+(@hpgain * 2)+" hitpoints!"; - misceffect FX_CHANNELLING_RAISE, strcharinfo(0, @target_id); + misceffect FX_CHANNELLING_RAISE_RED, strcharinfo(0, @target_id); set Hp, (@targethp - (2 * @hpgain)), @target_id; // Drain victim set @targethp, (get(Hp, BL_ID) + @hpgain); // Compute caster's HP + bonus set Hp, (@targethp), BL_ID; // Heal caster by half drain -- cgit v1.2.3-70-g09d2