Core/Auras:

Make Aura::ModStackAmount(1) an equivalent of reapplying the aura
    Recalculate periodic aura timers on aura reapply.
This commit is contained in:
QAston
2011-06-11 10:55:17 +02:00
parent 23d43c72b2
commit 3ec587e21e
6 changed files with 43 additions and 23 deletions
-3
View File
@@ -3158,9 +3158,6 @@ Aura* Unit::_TryStackingOrRefreshingExistingAura(SpellEntry const* newAura, uint
*oldGUID = castItemGUID;
}
// refresh charges
foundAura->SetCharges(foundAura->CalcMaxCharges(caster));
// try to increase stack amount
foundAura->ModStackAmount(1);
return foundAura;