Merge pull request #2630 from Ramusik/master
Core/Spells: Fix Item - Shaman T10 Restoration 4P Bonus
This commit is contained in:
@@ -7207,6 +7207,8 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
if (!triggeredSpell)
|
if (!triggeredSpell)
|
||||||
return false;
|
return false;
|
||||||
basepoints0 = CalculatePctN(int32(damage), triggerAmount) / (triggeredSpell->GetMaxDuration() / triggeredSpell->Effects[0].Amplitude);
|
basepoints0 = CalculatePctN(int32(damage), triggerAmount) / (triggeredSpell->GetMaxDuration() / triggeredSpell->Effects[0].Amplitude);
|
||||||
|
// Add remaining ticks to healing done
|
||||||
|
basepoints0 += GetRemainingPeriodicAmount(GetGUID(), triggered_spell_id, SPELL_AURA_PERIODIC_HEAL);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user