summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-boss-powerup-lifedrain.txt
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-04-11 05:07:44 +0300
committerLed Mitz <smoothshifter@tuta.io>2024-04-11 04:58:52 +0000
commit8a9ffe6787fc7f7fa32ec1845f8f40c936d13601 (patch)
tree3ad066182ca8c34482c37aea8ece5bcc4b6b648a /world/map/npc/magic/event-boss-powerup-lifedrain.txt
parent41260f108953b44a2d2b5167e08e1e9fdd949835 (diff)
downloadserverdata-8a9ffe6787fc7f7fa32ec1845f8f40c936d13601.tar.gz
serverdata-8a9ffe6787fc7f7fa32ec1845f8f40c936d13601.tar.bz2
serverdata-8a9ffe6787fc7f7fa32ec1845f8f40c936d13601.tar.xz
serverdata-8a9ffe6787fc7f7fa32ec1845f8f40c936d13601.zip
Boss Spells/actions: re-wired to new FX effects. Server constants added as well.
Diffstat (limited to 'world/map/npc/magic/event-boss-powerup-lifedrain.txt')
-rw-r--r--world/map/npc/magic/event-boss-powerup-lifedrain.txt2
1 files changed, 1 insertions, 1 deletions
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