diff options
author | Anubisss <none@none> | 2009-12-29 23:53:00 +0100 |
---|---|---|
committer | Anubisss <none@none> | 2009-12-29 23:53:00 +0100 |
commit | 6b997f35afc38026993240e35d08de3fb9ef36ed (patch) | |
tree | 49cddf807c6a56728b35313b3a749ab1cc64f573 /src | |
parent | cd824b50fe9864883eb29a0651e1f62b6fd80154 (diff) |
Implement Glyph of Divine Storm. Based on zajast's patch.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index f846f9f6a32..04214762148 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -658,7 +658,8 @@ uint32 Unit::DealDamage(Unit *pVictim, uint32 damage, CleanDamage const* cleanDa if (spellProto->SpellFamilyName == SPELLFAMILY_PALADIN && spellProto->SpellFamilyFlags[1] & 0x20000) { Unit *pRaidGrpMember = GetNextRandomRaidMemberOrPet(30.0f); - int32 divineDmg = damage / 4; + + int32 divineDmg = damage * (25 + (HasAura(63220) ? 15 : 0)) / 100; //25%, if has Glyph of Divine Storm -> 40% if (!pRaidGrpMember) pRaidGrpMember = this; |