*Judgement (Seal of Light, Seal of Wisdom, Seal of Justice), and Judgement of Righteousness, proper spell damage bonus, by Destalker.
--HG-- branch : trunk
This commit is contained in:
@@ -1718,11 +1718,13 @@ INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`
|
||||
(20467, 0.25, -1, 0.16, -1, 'Paladin - Judgement of Command'),
|
||||
(53733, 0.22, -1, 0.14, -1, 'Paladin - Judgement of Corruption'),
|
||||
(20267, 0.1, -1, 0.1, -1, 'Paladin - Judgement of Light Proc'),
|
||||
(20187, 0.4, -1, 0.25, -1, 'Paladin - Judgement of Righteousness'),
|
||||
-- (20187, 0.4, -1, 0.25, -1, 'Paladin - Judgement of Righteousness'),
|
||||
(20187, 0, 0, 0, 0, 'Paladin - Judgement of Righteousness'),
|
||||
(53726, 0.25, -1, 0.16, -1, 'Paladin - Judgement of the Martyr Enemy'),
|
||||
(53725, 0.0833, -1, 0.0533, -1, 'Paladin - Judgement of the Martyr Self'),
|
||||
(31804, 0.22, -1, 0.14, -1, 'Paladin - Judgement of Vengeance'),
|
||||
(54158, 0.25, -1, 0.16, -1, 'Paladin - Jugdement (Seal of Light, Seal of Wisdom, Seal of Justice)'),
|
||||
-- (54158, 0.25, -1, 0.16, -1, 'Paladin - Judgement (Seal of Light, Seal of Wisdom, Seal of Justice)'),
|
||||
(54158, 0, 0, 0, 0, 'Paladin - Judgement (Seal of Light, Seal of Wisdom, Seal of Justice)')
|
||||
(58597, 0.75, -1, -1, -1, 'Paladin - Sacred Shield'),
|
||||
(53601, 0.75, -1, -1, -1, 'Paladin - Sacred Shield'),
|
||||
(31893, 0, 0, 0, 0, 'Paladin - Seal of Blood Proc Enemy'),
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
|
||||
DELETE FROM `spell_bonus_data` WHERE `entry` IN (20187,54158);
|
||||
INSERT INTO `spell_bonus_data` (`entry`, `direct_bonus`, `dot_bonus`, `ap_bonus`, `ap_dot_bonus`, `comments`) VALUES
|
||||
(20187, 0, 0, 0, 0, 'Paladin - Judgement of Righteousness'),
|
||||
(54158, 0, 0, 0, 0, 'Paladin - Judgement (Seal of Light, Seal of Wisdom, Seal of Justice)');
|
||||
@@ -647,6 +647,20 @@ void Spell::SpellDamageSchoolDmg(uint32 effect_idx)
|
||||
{
|
||||
damage += int32(m_caster->GetShieldBlockValue() * 1.3f);
|
||||
}
|
||||
// Judgement of Righteousness
|
||||
else if (m_spellInfo->Id == 20187)
|
||||
{
|
||||
float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK);
|
||||
float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo));
|
||||
damage += int32(0.25f*ap + 0.4f*sp);
|
||||
}
|
||||
// Judgement of Wisdom, Light, Justice
|
||||
else if (m_spellInfo->SpellFamilyFlags[0]&0x00800000)
|
||||
{
|
||||
float ap = m_caster->GetTotalAttackPowerValue(BASE_ATTACK);
|
||||
float sp = m_caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellInfo));
|
||||
damage += int32(0.16f*ap + 0.25f*sp);
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_DEATHKNIGHT:
|
||||
|
||||
Reference in New Issue
Block a user