refactor(Core/Unit): Split spell things into SpellDefines.h (#10009)

This commit is contained in:
Kitzunu
2022-01-09 12:37:51 +01:00
committed by GitHub
parent aaf85d0984
commit 14c0b62be5
3 changed files with 193 additions and 166 deletions
@@ -385,4 +385,15 @@ enum AuraObjectType
UNIT_AURA_TYPE,
DYNOBJ_AURA_TYPE,
};
enum AuraRemoveMode
{
AURA_REMOVE_NONE = 0,
AURA_REMOVE_BY_DEFAULT = 1, // scripted remove, remove by stack with aura with different ids and sc aura remove
AURA_REMOVE_BY_CANCEL,
AURA_REMOVE_BY_ENEMY_SPELL, // dispel and absorb aura destroy
AURA_REMOVE_BY_EXPIRE, // aura duration has ended
AURA_REMOVE_BY_DEATH
};
#endif