Skip to content

Commit

Permalink
fix(Scripts/Hyjal): make sure Jaina takes no damage from Death and De…
Browse files Browse the repository at this point in the history
…cay (azerothcore#18680)

init
  • Loading branch information
elthehablo authored Apr 7, 2024
1 parent b80dc09 commit 39b9488
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ enum Spells
SPELL_FROST_BREATH = 31688,

// Fel Stalker
SPELL_MANA_BURN = 31729
SPELL_MANA_BURN = 31729,

// Misc
SPELL_DEATH_AND_DECAY = 31258
};

enum Talk
Expand Down Expand Up @@ -98,7 +101,10 @@ class npc_hyjal_jaina : public CreatureScript
}
struct hyjalJainaAI : public ScriptedAI
{
hyjalJainaAI(Creature* creature) : ScriptedAI(creature) { }
hyjalJainaAI(Creature* creature) : ScriptedAI(creature)
{
me->ApplySpellImmune(SPELL_DEATH_AND_DECAY, IMMUNITY_ID, SPELL_DEATH_AND_DECAY, true);
}

void Reset() override
{
Expand Down

0 comments on commit 39b9488

Please sign in to comment.