summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-boss-powerup-tormenta.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-tormenta.txt
parent97e7713b729981081e3001db2c2e7b152298b109 (diff)
downloadserverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.tar.gz
serverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.tar.bz2
serverdata-816dfa9c0074ac7013161450da175fa94ca03d3f.tar.xz
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-tormenta.txt')
-rw-r--r--world/map/npc/magic/event-boss-powerup-tormenta.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/world/map/npc/magic/event-boss-powerup-tormenta.txt b/world/map/npc/magic/event-boss-powerup-tormenta.txt
index 1ecf4bf0..52e6f42f 100644
--- a/world/map/npc/magic/event-boss-powerup-tormenta.txt
+++ b/world/map/npc/magic/event-boss-powerup-tormenta.txt
@@ -3,22 +3,18 @@
end;
OnCast:
- // TBD who can use this.
- message strcharinfo(0), "[boss-tormenta] : -> OnCast";
if(call("boss_powerup_checks")) end;
- message strcharinfo(0), "[boss-tormenta] : after boss powerup check";
bonus bMaxHP, 20000;
set Hp, (Hp+20000), BL_ID;
set Class, 1137, BL_ID;
warp getmap(), POS_X, POS_Y; // Refresh witch appearance
addtimer 1500, strnpcinfo(0)+"::OnFix";
message strcharinfo(0), "[boss-tormenta] : Tormenta impersonation started!";
- message strcharinfo(0), "[boss-tormenta] : <- OnCast";
end;
OnFix:
set @fix_count, @fix_count + 1;
- if (@fix_count > 1000) goto L_done; // Timed out.
+ if (@fix_count > 1000) goto L_done; // Timed out.
if (get(Class, BL_ID) != 1137) goto L_done; // Caster attempted charclass?
set Class, 1142, BL_ID;
set Class, 1137, BL_ID;
@@ -28,6 +24,8 @@ L_done:
message strcharinfo(0, BL_ID), "[boss-tormenta] : Tormenta impersonation ended!";
set @fix_count, 0;
set Class, 0, BL_ID;
+ bonus bMaxHP, 0;
+ set Hp, 100, BL_ID;
end;
OnInit: