refactor(Core/Spell): Move some SpellImmune from script to db (#4381)

* refactor(Core/Spell): Move some SpellImmune from script to db
This commit is contained in:
Kitzunu
2021-02-06 00:57:51 +01:00
committed by GitHub
parent 158b1bcf73
commit bfcc3c6f87
7 changed files with 15 additions and 18 deletions

View File

@@ -225,7 +225,6 @@ public:
me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
me->LoadEquipment(0, true);
me->RemoveAllAuras();
me->ApplySpellImmune(0, IMMUNITY_SCHOOL, SPELL_SCHOOL_MASK_ALL, true);
summons.DespawnAll();
}
}