mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 06:06:23 +00:00
feat(Core/Spell): Header include optimization for files: SpellAura.h SpellAuraEffects.h (#2632)
This commit is contained in:
@@ -416,6 +416,26 @@ void AuraEffect::GetApplicationList(std::list<AuraApplication*> & applicationLis
|
||||
}
|
||||
}
|
||||
|
||||
uint32 AuraEffect::GetId() const
|
||||
{
|
||||
return m_spellInfo->Id;
|
||||
}
|
||||
|
||||
int32 AuraEffect::GetMiscValueB() const
|
||||
{
|
||||
return m_spellInfo->Effects[m_effIndex].MiscValueB;
|
||||
}
|
||||
|
||||
int32 AuraEffect::GetMiscValue() const
|
||||
{
|
||||
return m_spellInfo->Effects[m_effIndex].MiscValue;
|
||||
}
|
||||
|
||||
AuraType AuraEffect::GetAuraType() const
|
||||
{
|
||||
return (AuraType)m_spellInfo->Effects[m_effIndex].ApplyAuraName;
|
||||
}
|
||||
|
||||
int32 AuraEffect::CalculateAmount(Unit* caster)
|
||||
{
|
||||
int32 amount;
|
||||
@@ -1048,6 +1068,11 @@ bool AuraEffect::IsAffectedOnSpell(SpellInfo const* spell) const
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AuraEffect::HasSpellClassMask() const
|
||||
{
|
||||
return m_spellInfo->Effects[m_effIndex].SpellClassMask;
|
||||
}
|
||||
|
||||
void AuraEffect::SendTickImmune(Unit* target, Unit* caster) const
|
||||
{
|
||||
if (caster)
|
||||
|
||||
Reference in New Issue
Block a user