mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-12 03:55:07 +00:00
fix(Core/Player): correct SpellPriority logic (#21052)
Co-authored-by: killerwife <killerwife@gmail.com> Co-authored-by: Kitzunu <24550914+Kitzunu@users.noreply.github.com>
This commit is contained in:
@@ -701,6 +701,7 @@ void AuraEffect::CalculateSpellMod()
|
||||
m_spellmod->spellId = GetId();
|
||||
m_spellmod->mask = GetSpellInfo()->Effects[GetEffIndex()].SpellClassMask;
|
||||
m_spellmod->charges = GetBase()->GetCharges();
|
||||
m_spellmod->priority = GetSpellInfo()->SpellPriority;
|
||||
}
|
||||
m_spellmod->value = GetAmount();
|
||||
break;
|
||||
|
||||
@@ -1659,7 +1659,7 @@ void Aura::HandleAuraSpecificMods(AuraApplication const* aurApp, Unit* caster, b
|
||||
if (removeMode != AURA_REMOVE_BY_EXPIRE || aurApp->GetBase()->IsExpired())
|
||||
break;
|
||||
if (target->HasAura(70752)) // Item - Mage T10 2P Bonus
|
||||
target->CastSpell(target, 70753, true);
|
||||
target->CastSpell(target, 70753, true); // Pushing the Limit
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user