Core/Auras: fix a typo in PowerDrain auras periodic tick handler.

This commit is contained in:
QAston
2011-06-23 15:51:14 +02:00
parent 3352cabb49
commit dc8a926c8d
2 changed files with 2 additions and 1 deletions
@@ -6435,7 +6435,7 @@ void AuraEffect::HandlePeriodicManaLeechAuraTick(Unit* target, Unit* caster) con
if (powerType == POWER_MANA)
drainAmount -= target->GetSpellCritDamageReduction(drainAmount);
int32 drainedAmount = target->ModifyPower(powerType, -drainAmount);
int32 drainedAmount = -target->ModifyPower(powerType, -drainAmount);
float gainMultiplier = SpellMgr::CalculateSpellEffectValueMultiplier(GetSpellProto(), GetEffIndex(), caster);