[7348] Remove hack code from IsDeathPersistentSpell. Author: VladimirMangos
Re-apply zone dependent auras at resurrection by triggering zone update for player. --HG-- branch : trunk
This commit is contained in:
+1
-9
@@ -391,14 +391,6 @@ inline bool IsPassiveSpellStackableWithRanks(SpellEntry const* spellProto)
|
||||
|
||||
inline bool IsDeathPersistentSpell(SpellEntry const *spellInfo)
|
||||
{
|
||||
switch(spellInfo->Id)
|
||||
{
|
||||
case 40214: // Dragonmaw Illusion
|
||||
case 35480: case 35481: case 35482: // Human Illusion
|
||||
case 35483: case 39824: // Human Illusion
|
||||
return true;
|
||||
}
|
||||
|
||||
return spellInfo->AttributesEx3 & SPELL_ATTR_EX3_DEATH_PERSISTENT;
|
||||
}
|
||||
|
||||
@@ -1114,7 +1106,7 @@ class SpellMgr
|
||||
SpellPetAuraMap mSpellPetAuraMap;
|
||||
SpellCustomAttribute mSpellCustomAttr;
|
||||
SpellLinkedMap mSpellLinkedMap;
|
||||
PetLevelupSpellMap mPetLevelupSpellMap;
|
||||
PetLevelupSpellMap mPetLevelupSpellMap;
|
||||
};
|
||||
|
||||
#define spellmgr SpellMgr::Instance()
|
||||
|
||||
Reference in New Issue
Block a user