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:
Jelle Meeus
2025-04-30 03:09:20 +02:00
committed by GitHub
parent e45b04daec
commit 775b9ff29a
5 changed files with 22 additions and 84 deletions

View File

@@ -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;