diff options
author | Anubisss <none@none> | 2009-07-25 01:50:55 +0200 |
---|---|---|
committer | Anubisss <none@none> | 2009-07-25 01:50:55 +0200 |
commit | 8c4e30eb07a6fef825a095e78908cf4af44b493c (patch) | |
tree | f9fd12d92e6a395a6f25e47b5530c7458523379d | |
parent | 4096b616b1a5c44f60327852a8afdcd8aceb2f10 (diff) |
*Fix spell Savage Defense's reducing damage amount.
--HG--
branch : trunk
-rw-r--r-- | src/game/Unit.cpp | 6 |
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)) |