diff options
author | Treeston <treeston.mmoc@gmail.com> | 2016-02-15 14:58:10 +0100 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2016-02-15 14:58:10 +0100 |
commit | 1a213bd9214bee65e887d9a20766032af0cbdb80 (patch) | |
tree | b272c247689ed756f03d17b0141e5082d2454ad9 | |
parent | 657adc270a32da4ef943b443c1fdcf2814466909 (diff) | |
parent | ff324e728417b80079bd42d9fea7f35f2b62ff71 (diff) |
Merge pull request #16535 from Eliminationzx/FixWrongSealOfRighteousnessCalculation
[3.3.5] Core/Spells: Fix incorrect Seal of Righteousness calculation.
-rw-r--r-- | src/server/scripts/Spells/spell_paladin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_paladin.cpp b/src/server/scripts/Spells/spell_paladin.cpp index 8bd4b3eb070..847de049128 100644 --- a/src/server/scripts/Spells/spell_paladin.cpp +++ b/src/server/scripts/Spells/spell_paladin.cpp @@ -1358,7 +1358,7 @@ class spell_pal_seal_of_righteousness : public SpellScriptLoader float ap = GetTarget()->GetTotalAttackPowerValue(BASE_ATTACK); int32 holy = GetTarget()->SpellBaseDamageBonusDone(SPELL_SCHOOL_MASK_HOLY); holy += eventInfo.GetProcTarget()->SpellBaseDamageBonusTaken(SPELL_SCHOOL_MASK_HOLY); - int32 bp = int32((ap * 0.022f + 0.044f * holy) * GetTarget()->GetAttackTime(BASE_ATTACK) / 1000); + int32 bp = int32((ap * 0.0225f + 0.0355f * holy) * GetTarget()->GetAttackTime(BASE_ATTACK) / 1000); GetTarget()->CastCustomSpell(SPELL_PALADIN_SEAL_OF_RIGHTEOUSNESS, SPELLVALUE_BASE_POINT0, bp, eventInfo.GetProcTarget(), true, NULL, aurEff); } |