Skip to content

Commit bb73702

Browse files
Odeyalolegbilly1arm
authored andcommitted
Seal of Righteousness (20154) proc and formula fix
1 parent dd66228 commit bb73702

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/game/WorldHandlers/UnitAuraProcHandler.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2142,8 +2142,8 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit* pVictim, uint32 damage, Aura
21422142
}
21432143
case SPELLFAMILY_PALADIN:
21442144
{
2145-
// Seal of Righteousness - melee proc dummy (addition ${$MWS*(0.022*$AP+0.044*$SPH)} damage)
2146-
if (dummyClassOptions && (dummyClassOptions->SpellFamilyFlags & UI64LIT(0x000000008000000)) && effIndex == EFFECT_INDEX_0)
2145+
// Seal of Righteousness - melee proc dummy (addition ${$MWS*(0.011*$AP+0.022*$SPH)} damage)
2146+
if (dummySpell->Id == 20154 && effIndex == EFFECT_INDEX_0)
21472147
{
21482148
triggered_spell_id = 25742;
21492149
float ap = GetTotalAttackPowerValue(BASE_ATTACK);
@@ -2152,7 +2152,7 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit* pVictim, uint32 damage, Aura
21522152
{
21532153
holy = 0;
21542154
}
2155-
basepoints[0] = GetAttackTime(BASE_ATTACK) * int32(ap * 0.022f + 0.044f * holy) / 1000;
2155+
basepoints[0] = GetAttackTime(BASE_ATTACK) * int32(ap * 0.011f + 0.022f * holy) / 1000;
21562156
break;
21572157
}
21582158
// Righteous Vengeance

0 commit comments

Comments
 (0)