summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-boss-powerup-lifedrain.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/event-boss-powerup-lifedrain.txt')
-rw-r--r--world/map/npc/magic/event-boss-powerup-lifedrain.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/world/map/npc/magic/event-boss-powerup-lifedrain.txt b/world/map/npc/magic/event-boss-powerup-lifedrain.txt
index ce4c9e33..dff74def 100644
--- a/world/map/npc/magic/event-boss-powerup-lifedrain.txt
+++ b/world/map/npc/magic/event-boss-powerup-lifedrain.txt
@@ -3,22 +3,14 @@
end;
OnCast:
- message strcharinfo(0), "[boss-lifedrain] : -> OnCast";
if(call("boss_powerup_checks")) end;
- message strcharinfo(0), "[boss-lifedrain] : after boss powerup check";
if (getmapflag(getmap(), MF_TOWN)) goto L_Fail_town;
- message strcharinfo(0), "[boss-lifedrain] : after mapflags check";
- message strcharinfo(0), "[boss-lifedrain] : HP="+get(Hp, BL_ID);
-// TBD who can use this.
set @_M_BLOCK, 1; // block casting, until the timer clears it
addtimer 10000, "Magic Timer::OnClear"; // set the new debuff
sc_start SC_COOLDOWN, 10000, 0, BL_ID;
misceffect FX_PENTAGRAM_BURST, strcharinfo(0);
set @dist, 12;
foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit";
- message strcharinfo(0), "[boss-lifedrain] : after foreach";
- message strcharinfo(0), "[boss-lifedrain] : HP="+get(Hp, BL_ID);
- message strcharinfo(0), "[boss-lifedrain] : <- OnCast";
end;
OnHit: