Core/Spells: Remove duplicate healing bonus calculation for Prayer of Mending, closes issue 3879, thanks dr.tenma
--HG-- branch : trunk
This commit is contained in:
@@ -16944,7 +16944,7 @@ INSERT INTO `spell_bonus_data` (`entry`,`direct_bonus`,`dot_bonus`,`ap_bonus`,`a
|
||||
(53000, 0.229, -1, -1, -1, 'Priest - Penance Hurt (Rank 4)'),
|
||||
(17, 0.8068, -1, -1, -1, 'Priest - Power Word: Shield'),
|
||||
(596, 0.8068, -1, -1, -1, 'Priest - Prayer of Healing'),
|
||||
(33110, 0.8068, -1, -1, -1, 'Priest - Prayer of Mending Heal Proc'),
|
||||
(33110, 0.8068, 0, 0, 0, 'Priest - Prayer of Mending Heal Proc'),
|
||||
(33619, 0, 0, 0, 0, 'Priest - Reflective Shield'),
|
||||
(139, -1, 0.376, -1, -1, 'Priest - Renew'),
|
||||
(32379, 0.4296, -1, -1, -1, 'Priest - Shadow Word: Death'),
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `spell_bonus_data` WHERE `entry` IN ('33110');
|
||||
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
|
||||
('33110','0.8068','0','0','0','Priest - Prayer of Mending Heal Proc');
|
||||
@@ -15062,7 +15062,6 @@ bool Unit::HandleAuraRaidProcFromChargeWithValue(AuraEffect *triggeredByAura)
|
||||
CastCustomSpell(target, spellProto->Id, &heal, NULL, NULL, true, NULL, triggeredByAura, caster_guid);
|
||||
if (Aura * aura = target->GetAura(spellProto->Id, caster->GetGUID()))
|
||||
aura->SetCharges(jumps);
|
||||
heal = caster->SpellHealingBonus(this, spellProto, heal, HEAL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user