fix(Scripts/Hyjal): make sure Jaina takes no damage from Death and Decay (#18680)
init
This commit is contained in:
parent
b80dc095d3
commit
39b94880db
1 changed files with 8 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -98,7 +101,10 @@ public:
|
|||
}
|
||||
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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue