Skip to content

Commit

Permalink
[SD] Add missing Aura Passives to npcs
Browse files Browse the repository at this point in the history
Correct Thrash Aura Passive for Soulflayer 11359 - npc_soulflayer

Add missing Thrash for Maws 15571 - boss_maws

Add missing Frost Armor for Maleki the Pallid 10438 - boss_maleki_the_pallid
  • Loading branch information
AnonXS authored and killerwife committed Nov 1, 2023
1 parent 46cbe99 commit 1c82f5b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ EndScriptData */

enum
{
SPELL_FROST_ARMOR = 12556,
SPELL_FROSTBOLT = 17503,
SPELL_DRAIN_LIFE = 17238,
SPELL_DRAIN_MANA = 17243,
Expand All @@ -46,6 +47,8 @@ struct boss_maleki_the_pallidAI : public ScriptedAI
m_uiFrostboltTimer = 0;
m_uiIceTombTimer = 15000;
m_uiDrainLifeTimer = 20000;

DoCastSpellIfCan(nullptr, SPELL_FROST_ARMOR, CAST_TRIGGERED | CAST_AURA_NOT_PRESENT);
}

void UpdateAI(const uint32 uiDiff) override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enum
// npc_soulflayer
SPELL_SOUL_TAP = 24619,
SPELL_LIGHTNING_BREATH = 20543,
SPELL_THRASH = 12787,
SPELL_THRASH = 8876,
SPELL_KNOCKDOWN = 20276,
SPELL_FEAR = 22678,
SPELL_FRENZY = 28371,
Expand Down
3 changes: 3 additions & 0 deletions src/game/AI/ScriptDevAI/scripts/kalimdor/azshara.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ GameObjectAI* GetAI_go_lightning(GameObject* go)

enum
{
SPELL_THRASH = 8876,
SPELL_FRENZY = 19812,
SPELL_DARK_WATER = 25743,
SPELL_RAMPAGE = 25744,
Expand All @@ -698,6 +699,8 @@ struct boss_mawsAI : public ScriptedAI
uiDarkWaterTimer = 15 * IN_MILLISECONDS;
uiRampageTimer = urand(20, 120) * IN_MILLISECONDS;
uiDespawnTimer = 2.5 * HOUR * IN_MILLISECONDS;

DoCastSpellIfCan(nullptr, SPELL_THRASH, CAST_TRIGGERED | CAST_AURA_NOT_PRESENT);
}

void JustDied(Unit* /*pKiller*/)
Expand Down

0 comments on commit 1c82f5b

Please sign in to comment.