summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--world/map/db/const.txt5
-rw-r--r--world/map/npc/magic/event-boss-powerup-headshot.txt1
-rw-r--r--world/map/npc/magic/event-boss-powerup-lifedrain.txt2
-rw-r--r--world/map/npc/magic/event-boss-powerup-manadrain.txt4
-rw-r--r--world/map/npc/magic/event-boss-powerup-totheabyss.txt4
5 files changed, 11 insertions, 5 deletions
diff --git a/world/map/db/const.txt b/world/map/db/const.txt
index 6a9bcba7..b60a2bff 100644
--- a/world/map/db/const.txt
+++ b/world/map/db/const.txt
@@ -256,6 +256,11 @@ FX_MAGIC_DARK_EXPLOSION 42
FX_PUMPKIN_EXPLOSION 43
FX_GETITEM 44
FX_HUG 49
+FX_CHANNELLING_RAISE_RED 57
+FX_CHANNELLING_RAISE_BLUE 58
+FX_CHANNELLING_CAST_RED 59
+FX_CHANNELLING_CAST_BLUE 60
+FX_RED_MAGIC_CAST 61
FX_MAGIC_SHIELD_ENDS 111
FX_ELECTRICITY_RED 114
FX_ELECTRICITY_BLUE 115
diff --git a/world/map/npc/magic/event-boss-powerup-headshot.txt b/world/map/npc/magic/event-boss-powerup-headshot.txt
index f8477648..5e3dc4f9 100644
--- a/world/map/npc/magic/event-boss-powerup-headshot.txt
+++ b/world/map/npc/magic/event-boss-powerup-headshot.txt
@@ -15,6 +15,7 @@ OnCast:
sc_start SC_COOLDOWN, 16000, 0, BL_ID;
misceffect FX_MEDIUM_EXPLOSION, strcharinfo(0);
+ misceffect FX_CHANNELLING_CAST_RED, @target_id;
set @tgthp, (get(Hp, @target_id) / 2);
set Sp, 1, @target_id; // Hurt target
if (@tgthp < 1500) set @tgthp, 1; // Boss or not? (>3000 HP)
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
diff --git a/world/map/npc/magic/event-boss-powerup-manadrain.txt b/world/map/npc/magic/event-boss-powerup-manadrain.txt
index 1359a2b8..b6f7f835 100644
--- a/world/map/npc/magic/event-boss-powerup-manadrain.txt
+++ b/world/map/npc/magic/event-boss-powerup-manadrain.txt
@@ -8,7 +8,7 @@ OnCast:
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 20000, "Magic Timer::OnClear"; // set the new debuff
sc_start SC_COOLDOWN, 20000, 0, BL_ID;
- misceffect FX_BLUE_MAGIC_CAST, strcharinfo(0);
+ misceffect FX_CHANNELLING_CAST_BLUE, strcharinfo(0);
set @dist, 16;
foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit";
end;
@@ -23,7 +23,7 @@ OnHit:
L_cont:
set @hpgain, min((@targetmp * 2 ), 900); // Clamp in case of weird setups.
message strcharinfo(0, @target_id), "[boss-manadrain] : "+strcharinfo(0, BL_ID)+" drains all your mana!";
- misceffect FX_CHANNELLING_RAISE, strcharinfo(0, @target_id);
+ misceffect FX_CHANNELLING_RAISE_BLUE, strcharinfo(0, @target_id);
set Sp, 1, @target_id; // Drain victim
set Hp, (Hp + @hpgain), BL_ID; // Heal caster by computed amount
set @hpgain, 0;
diff --git a/world/map/npc/magic/event-boss-powerup-totheabyss.txt b/world/map/npc/magic/event-boss-powerup-totheabyss.txt
index 6d8f880f..d215db8b 100644
--- a/world/map/npc/magic/event-boss-powerup-totheabyss.txt
+++ b/world/map/npc/magic/event-boss-powerup-totheabyss.txt
@@ -11,7 +11,7 @@ OnCast:
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 60000, "Magic Timer::OnClear"; // set the new debuff
sc_start SC_COOLDOWN, 60000, 0, BL_ID;
- misceffect FX_BLUE_MAGIC_CAST, strcharinfo(0);
+ misceffect FX_RED_MAGIC_CAST, strcharinfo(0);
set @dist, 25;
foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit";
end;
@@ -22,7 +22,7 @@ OnHit:
set Hp, min(((Hp/2)), 100), @target_id; // Hurt target
sc_start SC_POISON, 1, 10, @target_id; // Poison target
message strcharinfo(0, @target_id), "[boss-to-the-abyss] : "+strcharinfo(0, BL_ID)+" ##B PULLS YOU TO THE ABYSS!!";
- misceffect FX_CHANNELLING_RAISE, strcharinfo(0, @target_id);
+ misceffect FX_RED_MAGIC_CAST, strcharinfo(0, @target_id);
addtimer 1000, strnpcinfo(0)+"::OnTeleport", @target_id;
end;