mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 19:37:02 +00:00
[8510] Fixes for healing crit calculation code
* Implement talent 63504 and ranks * Allow work target dependent healing crit chance mods This let work existed code for talent 57470 and ranks (cherry picked from commit eadc239846d6dc5db582908458421411995d7974) Signed-off-by: VladimirMangos <vladimir@getmangos.com> Also * Drop oudated functionality code for 47558 and ranks (new functionality code already added)
This commit is contained in:
parent
c361b0dc0b
commit
b42082bc0c
3 changed files with 28 additions and 17 deletions
|
|
@ -960,7 +960,7 @@ void Spell::DoAllEffectOnTarget(TargetInfo *target)
|
|||
// Do healing and triggers
|
||||
if (m_healing)
|
||||
{
|
||||
bool crit = caster->isSpellCrit(NULL, m_spellInfo, m_spellSchoolMask);
|
||||
bool crit = caster->isSpellCrit(unitTarget, m_spellInfo, m_spellSchoolMask);
|
||||
uint32 addhealth = m_healing;
|
||||
if (crit)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue