diff options
| author | QAston <none@none> | 2009-06-15 18:18:24 +0200 |
|---|---|---|
| committer | QAston <none@none> | 2009-06-15 18:18:24 +0200 |
| commit | bcab60c253aae78da7cce0b898c55e2ba2731390 (patch) | |
| tree | 98b0629192865223c5fcd82fb598764c5909bd5a /src | |
| parent | 109302999d63c85fe14842d1222f0ce30addbe92 (diff) | |
*Spell power coefficient for Sacred Shield.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/SpellAuras.cpp | 10 | ||||
| -rw-r--r-- | src/game/SpellMgr.h | 2 |
2 files changed, 10 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index bc7c07768d6..6dec2b1b041 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -5838,7 +5838,7 @@ void AuraEffect::HandleSchoolAbsorb(bool apply, bool Real, bool changeAmount) switch(m_spellProto->SpellFamilyName) { case SPELLFAMILY_PRIEST: - // PW: S + // Power Word: Shield if(m_spellProto->SpellFamilyFlags.IsEqual(0x1, 0, 0x400)) { // +80.68% from sp bonus @@ -5870,6 +5870,14 @@ void AuraEffect::HandleSchoolAbsorb(bool apply, bool Real, bool changeAmount) DoneActualBenefit = caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) * 0.3f; } break; + case SPELLFAMILY_PALADIN: + // Sacred Shield + if (m_spellInfo->SpellFamilyFlags[1] & 0x80000) + { + // 0.75 from sp bonus + DoneActualBenefit = caster->SpellBaseDamageBonus(GetSpellSchoolMask(m_spellProto)) * 0.75f; + } + break; default: break; } diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h index 09ab1759669..c479a57d7f6 100644 --- a/src/game/SpellMgr.h +++ b/src/game/SpellMgr.h @@ -460,7 +460,7 @@ enum ProcFlagsEx PROC_EX_EX_ONE_TIME_TRIGGER = 0x0020000, // If set trigger always but only one time (not used) PROC_EX_INTERNAL_CANT_PROC = 0x0800000, PROC_EX_INTERNAL_DOT = 0x1000000, // Only for internal use - PROC_EX_INTERNAL_HOT = 0x2000000 // Only for internal use + PROC_EX_INTERNAL_HOT = 0x2000000, // Only for internal use PROC_EX_INTERNAL_TRIGGERED = 0x4000000, // Only for internal use PROC_EX_INTERNAL_REQ_FAMILY = 0x8000000 // Only for internal use }; |
