*Fix spell Savage Defense's reducing damage amount.
--HG-- branch : trunk
This commit is contained in:
@@ -7866,6 +7866,12 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
|
|||||||
((Player*)this)->RemoveCategoryCooldown(82);
|
((Player*)this)->RemoveCategoryCooldown(82);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// Savage Defense
|
||||||
|
case 62606:
|
||||||
|
{
|
||||||
|
basepoints0 = int32(GetTotalAttackPowerValue(BASE_ATTACK) * triggerAmount / 100.f);
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if( cooldown && GetTypeId()==TYPEID_PLAYER && ((Player*)this)->HasSpellCooldown(trigger_spell_id))
|
if( cooldown && GetTypeId()==TYPEID_PLAYER && ((Player*)this)->HasSpellCooldown(trigger_spell_id))
|
||||||
|
|||||||
Reference in New Issue
Block a user