summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-boss-powerup-manadrain.txt
diff options
context:
space:
mode:
authorHello=) <hello@themanaworld.org>2024-04-10 21:49:55 +0300
committerLed Mitz <smoothshifter@tuta.io>2024-04-11 04:58:52 +0000
commit816dfa9c0074ac7013161450da175fa94ca03d3f (patch)
tree96bd18c86f4adb0e43008abc92ef93aedbf0642d /world/map/npc/magic/event-boss-powerup-manadrain.txt
parent97e7713b729981081e3001db2c2e7b152298b109 (diff)
downloadclassic-serverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.tar.gz
classic-serverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.tar.bz2
classic-serverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.tar.xz
classic-serverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.zip
Boss Powerups/Event spells:
1) Removed a lot of debug messages that shouldnt be visible in normal gameplay. 2) On Tormenta impersonation end timer would also cancel HP bonus.
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: