fixed a warning
This commit is contained in:
1 parent
47d984d538
commit
1325c8cb97
1 file changed
-2
@@ -6742,8 +6742,6 @@ float Unit::SpellDamagePctDone(Unit* victim, SpellInfo const* spellProto, Damage
|
||||
// EFFECT_0 contains the bonus amount per application, EFFECT_1 contains the maximum bonus amount
|
||||
int32 bonusPerApplication = CalculateSpellDamage(this, (*i)->GetSpellInfo(), EFFECT_0);
|
||||
int32 pctBonus = 0;
|
||||
|
||||
AuraApplicationMap const& victimAuras = victim->GetAppliedAuras();
|
||||
for (auto const& itr : victim->GetAppliedAuras())
|
||||
{
|
||||
Aura const* aura = itr.second->GetBase();
|
||||
|
||||
Reference in new issue
Block a user