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:
Shocker
2010-09-13 22:54:04 +03:00
parent de9ed810ef
commit 6528a82b61
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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)'), (53000, 0.229, -1, -1, -1, 'Priest - Penance Hurt (Rank 4)'),
(17, 0.8068, -1, -1, -1, 'Priest - Power Word: Shield'), (17, 0.8068, -1, -1, -1, 'Priest - Power Word: Shield'),
(596, 0.8068, -1, -1, -1, 'Priest - Prayer of Healing'), (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'), (33619, 0, 0, 0, 0, 'Priest - Reflective Shield'),
(139, -1, 0.376, -1, -1, 'Priest - Renew'), (139, -1, 0.376, -1, -1, 'Priest - Renew'),
(32379, 0.4296, -1, -1, -1, 'Priest - Shadow Word: Death'), (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');
-1
View File
@@ -15062,7 +15062,6 @@ bool Unit::HandleAuraRaidProcFromChargeWithValue(AuraEffect *triggeredByAura)
CastCustomSpell(target, spellProto->Id, &heal, NULL, NULL, true, NULL, triggeredByAura, caster_guid); CastCustomSpell(target, spellProto->Id, &heal, NULL, NULL, true, NULL, triggeredByAura, caster_guid);
if (Aura * aura = target->GetAura(spellProto->Id, caster->GetGUID())) if (Aura * aura = target->GetAura(spellProto->Id, caster->GetGUID()))
aura->SetCharges(jumps); aura->SetCharges(jumps);
heal = caster->SpellHealingBonus(this, spellProto, heal, HEAL);
} }
} }
} }