diff options
| author | tobmaps <spambot42@yandex.ru> | 2011-06-25 00:04:59 +0700 |
|---|---|---|
| committer | tobmaps <spambot42@yandex.ru> | 2011-06-25 00:04:59 +0700 |
| commit | cf4114894a92c30fdc7c6011da256379e9b57598 (patch) | |
| tree | 3db77674a52e0897d6a2a4403778f266e858e1c5 /src | |
| parent | 1340a3d3825895f768c4fdc699a91f3382fef641 (diff) | |
Core/Spells: Fix Paladin T8 Holy 4P Bonus
Diffstat (limited to 'src')
| -rwxr-xr-x | src/server/game/Entities/Unit/Unit.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 607ad66572d..ab6ce6e4c67 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -6688,7 +6688,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger { if (procFlag & PROC_FLAG_TAKEN_SPELL_MAGIC_DMG_CLASS_POS) { - if ((procSpell->SpellFamilyName == SPELLFAMILY_PALADIN) && (procSpell->SpellFamilyFlags[0] & 0x40000000)) + if (procSpell->SpellFamilyName == SPELLFAMILY_PALADIN && (procSpell->SpellFamilyFlags[0] & 0x40000000)) { basepoints0 = damage / 12; @@ -6703,6 +6703,10 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger else if (damage > 0) triggered_spell_id = 58597; + // Item - Paladin T8 Holy 4P Bonus + if (AuraEffect* aurEff = GetAuraEffect(64895, 0)) + cooldown = aurEff->GetAmount(); + target = this; break; } |
