aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnubisss <none@none>2009-07-25 01:50:55 +0200
committerAnubisss <none@none>2009-07-25 01:50:55 +0200
commit8c4e30eb07a6fef825a095e78908cf4af44b493c (patch)
treef9fd12d92e6a395a6f25e47b5530c7458523379d /src
parent4096b616b1a5c44f60327852a8afdcd8aceb2f10 (diff)
*Fix spell Savage Defense's reducing damage amount.
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Unit.cpp6
1 files changed, 6 insertions, 0 deletions
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))