mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
Fix one palain seal damage calculation (remove dead code)
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
2cd801a9ef
commit
a17dd3c0a0
2 changed files with 11 additions and 19 deletions
|
|
@ -1608,6 +1608,14 @@ void Spell::EffectDummy(uint32 i)
|
|||
|
||||
switch(m_spellInfo->Id)
|
||||
{
|
||||
// Judgement of Righteousness (0.2*$AP+0.32*$SPH) holy added in spellDamagBonus
|
||||
case 20187:
|
||||
{
|
||||
if (!unitTarget)
|
||||
return;
|
||||
m_damage+=int32(0.2f*m_caster->GetTotalAttackPowerValue(BASE_ATTACK));
|
||||
return;
|
||||
}
|
||||
case 31789: // Righteous Defense (step 1)
|
||||
{
|
||||
// 31989 -> dummy effect (step 1) + dummy effect (step 2) -> 31709 (taunt like spell for each target)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue