mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 19:05:42 +00:00
fix(Scripts/Hyjal): make sure Jaina takes no damage from Death and Decay (#18680)
init
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user