diff options
author | Hello=) <hello@themanaworld.org> | 2024-04-10 22:04:38 +0300 |
---|---|---|
committer | Led Mitz <smoothshifter@tuta.io> | 2024-04-11 04:58:52 +0000 |
commit | 41260f108953b44a2d2b5167e08e1e9fdd949835 (patch) | |
tree | 888484a853e9fe796af87cef7a660893e2edfe01 | |
parent | 816dfa9c0074ac7013161450da175fa94ca03d3f (diff) | |
download | serverdata-41260f108953b44a2d2b5167e08e1e9fdd949835.tar.gz serverdata-41260f108953b44a2d2b5167e08e1e9fdd949835.tar.bz2 serverdata-41260f108953b44a2d2b5167e08e1e9fdd949835.tar.xz serverdata-41260f108953b44a2d2b5167e08e1e9fdd949835.zip |
Boss Powerups: set more reasonable cooldowns for boss actions
8 files changed, 16 insertions, 16 deletions
diff --git a/world/map/npc/magic/event-boss-powerup-disarm.txt b/world/map/npc/magic/event-boss-powerup-disarm.txt index 03ce3a02..27a199a0 100644 --- a/world/map/npc/magic/event-boss-powerup-disarm.txt +++ b/world/map/npc/magic/event-boss-powerup-disarm.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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 12000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 12000, 0, BL_ID; misceffect FX_MEDIUM_EXPLOSION, strcharinfo(0); set @dist, 12; foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit"; diff --git a/world/map/npc/magic/event-boss-powerup-grenades.txt b/world/map/npc/magic/event-boss-powerup-grenades.txt index b07bb87e..0a692314 100644 --- a/world/map/npc/magic/event-boss-powerup-grenades.txt +++ b/world/map/npc/magic/event-boss-powerup-grenades.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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 16000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 16000, 0, BL_ID; misceffect FX_MEDIUM_EXPLOSION, strcharinfo(0); set @dist, 5; foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit"; diff --git a/world/map/npc/magic/event-boss-powerup-headshot.txt b/world/map/npc/magic/event-boss-powerup-headshot.txt index 1e4152d8..f8477648 100644 --- a/world/map/npc/magic/event-boss-powerup-headshot.txt +++ b/world/map/npc/magic/event-boss-powerup-headshot.txt @@ -11,8 +11,8 @@ OnCast: if ((get(Hp, @target_id)) < 1) goto L_Too_dead; // Do not touch dead if (target(BL_ID, @target_id, 0x20) != 0x20) goto L_No_los; 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; + addtimer 16000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 16000, 0, BL_ID; misceffect FX_MEDIUM_EXPLOSION, strcharinfo(0); set @tgthp, (get(Hp, @target_id) / 2); diff --git a/world/map/npc/magic/event-boss-powerup-lifedrain.txt b/world/map/npc/magic/event-boss-powerup-lifedrain.txt index dff74def..27c467d5 100644 --- a/world/map/npc/magic/event-boss-powerup-lifedrain.txt +++ b/world/map/npc/magic/event-boss-powerup-lifedrain.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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 30000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 30000, 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"; diff --git a/world/map/npc/magic/event-boss-powerup-manadrain.txt b/world/map/npc/magic/event-boss-powerup-manadrain.txt index d8ee8436..1359a2b8 100644 --- a/world/map/npc/magic/event-boss-powerup-manadrain.txt +++ b/world/map/npc/magic/event-boss-powerup-manadrain.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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 20000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 20000, 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"; diff --git a/world/map/npc/magic/event-boss-powerup-poison.txt b/world/map/npc/magic/event-boss-powerup-poison.txt index 777930c1..a37f5aa9 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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 16000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 16000, 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"; diff --git a/world/map/npc/magic/event-boss-powerup-totheabyss.txt b/world/map/npc/magic/event-boss-powerup-totheabyss.txt index c1ab574a..6d8f880f 100644 --- a/world/map/npc/magic/event-boss-powerup-totheabyss.txt +++ b/world/map/npc/magic/event-boss-powerup-totheabyss.txt @@ -9,8 +9,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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 60000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 60000, 0, BL_ID; misceffect FX_BLUE_MAGIC_CAST, strcharinfo(0); set @dist, 25; foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit"; diff --git a/world/map/npc/magic/event-boss-powerup-tothecrypt.txt b/world/map/npc/magic/event-boss-powerup-tothecrypt.txt index af35a3f0..8ae4b3b6 100644 --- a/world/map/npc/magic/event-boss-powerup-tothecrypt.txt +++ b/world/map/npc/magic/event-boss-powerup-tothecrypt.txt @@ -9,8 +9,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 10000, "Magic Timer::OnClear"; // set the new debuff - sc_start SC_COOLDOWN, 10000, 0, BL_ID; + addtimer 60000, "Magic Timer::OnClear"; // set the new debuff + sc_start SC_COOLDOWN, 60000, 0, BL_ID; misceffect FX_BLUE_MAGIC_CAST, strcharinfo(0); set @dist, 25; foreach 0, getmap(), (POS_X - @dist), (POS_Y - @dist), (POS_X + @dist), (POS_Y + @dist), strnpcinfo(0) + "::OnHit"; |