summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-boss-powerup-manadrain.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/magic/event-boss-powerup-manadrain.txt')
-rw-r--r--world/map/npc/magic/event-boss-powerup-manadrain.txt8
1 files changed, 0 insertions, 8 deletions
diff --git a/world/map/npc/magic/event-boss-powerup-manadrain.txt b/world/map/npc/magic/event-boss-powerup-manadrain.txt
index 69dae18a..d8ee8436 100644
--- a/world/map/npc/magic/event-boss-powerup-manadrain.txt
+++ b/world/map/npc/magic/event-boss-powerup-manadrain.txt
@@ -3,22 +3,14 @@
end;
OnCast:
- message strcharinfo(0), "[boss-manadrain] : -> OnCast";
if(call("boss_powerup_checks")) end;
- message strcharinfo(0), "[boss-manadrain] : after boss powerup check";
if (getmapflag(getmap(), MF_TOWN)) goto L_Fail_town;
- message strcharinfo(0), "[boss-manadrain] : after mapflags check";
- message strcharinfo(0), "[boss-manadrain] : 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_BLUE_MAGIC_CAST, strcharinfo(0);
set @dist, 16;
foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit";
- message strcharinfo(0), "[boss-manadrain] : after foreach";
- message strcharinfo(0), "[boss-manadrain] : HP="+get(Hp, BL_ID);
- message strcharinfo(0), "[boss-manadrain] : <- OnCast";
end;
OnHit: