Core/Entities: Port some refactors
Port From (https://github.com/TrinityCore/TrinityCore/commit/431a326e6974d3c86452192767368ab6c4ea9b0b)
This commit is contained in:
@@ -1845,12 +1845,6 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
void TriggerAurasProcOnEvent(CalcDamageInfo damageInfo)
|
||||
{
|
||||
DamageInfo dmgInfo = new(damageInfo);
|
||||
TriggerAurasProcOnEvent(null, null, damageInfo.target, damageInfo.procAttacker, damageInfo.procVictim, ProcFlagsSpellType.None, ProcFlagsSpellPhase.None, dmgInfo.GetHitMask(), null, dmgInfo, null);
|
||||
}
|
||||
|
||||
void TriggerAurasProcOnEvent(List<AuraApplication> myProcAuras, List<AuraApplication> targetProcAuras, Unit actionTarget, ProcFlags typeMaskActor, ProcFlags typeMaskActionTarget, ProcFlagsSpellType spellTypeMask, ProcFlagsSpellPhase spellPhaseMask, ProcFlagsHit hitMask, Spell spell, DamageInfo damageInfo, HealInfo healInfo)
|
||||
{
|
||||
// prepare data for self trigger
|
||||
|
||||
Reference in New Issue
Block a user