From 8b4a85ac19d2e65c762492ff4538a1f213b192c4 Mon Sep 17 00:00:00 2001 From: Den Date: Sun, 26 Jun 2011 03:02:26 +0400 Subject: [PATCH] [11677] Paladin T10 Holy 2P Bonus Signed-off-by: VladimirMangos --- src/game/Spell.cpp | 8 +++++++- src/shared/revision_nr.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f6114d920..c93d6b66b 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -3105,8 +3105,14 @@ void Spell::cast(bool skipCheck) } case SPELLFAMILY_PALADIN: { + // Divine Illumination + if (m_spellInfo->Id == 31842) + { + if (m_caster->HasAura(70755)) // Item - Paladin T10 Holy 2P Bonus + AddPrecastSpell(71166); // Divine Illumination + } // Hand of Reckoning - if (m_spellInfo->Id == 62124) + else if (m_spellInfo->Id == 62124) { if (m_targets.getUnitTarget() && m_targets.getUnitTarget()->getVictim() != m_caster) AddPrecastSpell(67485); // Hand of Rekoning (no typos in name ;) ) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d2c964995..32dc40f1a 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11676" + #define REVISION_NR "11677" #endif // __REVISION_NR_H__