From 8c4e30eb07a6fef825a095e78908cf4af44b493c Mon Sep 17 00:00:00 2001 From: Anubisss Date: Sat, 25 Jul 2009 01:50:55 +0200 Subject: *Fix spell Savage Defense's reducing damage amount. --HG-- branch : trunk --- src/game/Unit.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 07db984be72..daefe39254e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -7866,6 +7866,12 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig ((Player*)this)->RemoveCategoryCooldown(82); 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)) -- cgit v1.2.3