summaryrefslogtreecommitdiff
path: root/world/map/npc/magic/event-boss-powerup-poison.txt
diff options
context:
space:
mode:
authorHello TMW <hello@themanaworld.org>2024-10-30 18:03:06 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-10-30 18:03:06 +0000
commitad066a6c3faf848f3fc82c58bfbc8eaa1a422ea4 (patch)
tree56d6a7bd9cb55bcfcf03555e53428c00634d71df /world/map/npc/magic/event-boss-powerup-poison.txt
parentb63ac45a0596b7e65af091b1b7530a82f0ffd36a (diff)
downloadserverdata-ad066a6c3faf848f3fc82c58bfbc8eaa1a422ea4.tar.gz
serverdata-ad066a6c3faf848f3fc82c58bfbc8eaa1a422ea4.tar.bz2
serverdata-ad066a6c3faf848f3fc82c58bfbc8eaa1a422ea4.tar.xz
serverdata-ad066a6c3faf848f3fc82c58bfbc8eaa1a422ea4.zip
Bosspowers overhaul - new spells, fixes, tweaks,...
**NOTE: depends on** https://git.themanaworld.org/legacy/serverdata/-/merge_requests/814 to be merged before it. (uses TeleportManager features to open warps - otherwise mapserver would fail to start) Rather big BossPowers (pseudo)spells pack including tweaks/fixes/new features: * #totheabyss/#tothecrypt: Randomize warp times so players see each other teleporting. * #totheabyss/#tothecrypt: Hopefully fix DCs and boss sudden deaths on teleport. * #tormenta: try to restore original class of caster on timeout and visuals. * bosspowers checks: small changes to how it done and unification with TeleportManager. ** Eventer flag is IS_EVENTER in both. ** DENY is PER ACCOUNT (#BP_DISABLE) - otherwise ppl can bypass DENY flag by creating new char. * Extras: few functions for magic refactors (used by multitarget lightning, WIP). * #mappoison: reduce cooldown. * #headshot: reduce cooldown and slow player on hit. * #mapmanadrain: reduce cooldown. * #maplifedrain: reduce cooldown. * #grenades: nearly stun players for short time + reduce cooldown. * #mapmassslow: new spell, does what advertised, makes boss considerably more scary. * New pseudospell, #bossflee. Example: #bossflee 070-1 25 25 (lets boss to escape in a stylish manner, opening transient teleport)
Diffstat (limited to 'world/map/npc/magic/event-boss-powerup-poison.txt')
-rw-r--r--world/map/npc/magic/event-boss-powerup-poison.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/world/map/npc/magic/event-boss-powerup-poison.txt b/world/map/npc/magic/event-boss-powerup-poison.txt
index a37f5aa9..777930c1 100644
--- a/world/map/npc/magic/event-boss-powerup-poison.txt
+++ b/world/map/npc/magic/event-boss-powerup-poison.txt
@@ -6,8 +6,8 @@ OnCast:
if (call("boss_powerup_checks")) end;
if (getmapflag(getmap(), MF_TOWN)) goto L_Fail_town;
set @_M_BLOCK, 1; // block casting, until the timer clears it
- addtimer 16000, "Magic Timer::OnClear"; // set the new debuff
- sc_start SC_COOLDOWN, 16000, 0, BL_ID;
+ addtimer 10000, "Magic Timer::OnClear"; // set the new debuff
+ sc_start SC_COOLDOWN, 10000, 0, BL_ID;
misceffect FX_MAGIC_SNAKE_CAST, strcharinfo(0);
set @dist, 12;
foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit";