feat(Core/Unit): Optimize AuraEffectList container (#22584)
This commit is contained in:
parent
cb580b9865
commit
f31643c72c
4 changed files with 9 additions and 9 deletions
|
|
@ -910,7 +910,7 @@ class spell_warr_heroic_strike : public SpellScript
|
|||
Unit* target = GetHitUnit();
|
||||
if (!target)
|
||||
return;
|
||||
std::list<AuraEffect*> AuraEffectList = target->GetAuraEffectsByType(SPELL_AURA_MOD_DECREASE_SPEED);
|
||||
Unit::AuraEffectList const& AuraEffectList = target->GetAuraEffectsByType(SPELL_AURA_MOD_DECREASE_SPEED);
|
||||
bool bonusDamage = false;
|
||||
for (AuraEffect* eff : AuraEffectList)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue