[11510] Implement SPELL_AURA_MOD_PARRY_FROM_BEHIND_PERCENT (288) and related spell 19263.

Original patchs provided by KAPATEJIb and Roshnak.
This commit is contained in:
VladimirMangos 2011-05-19 03:46:28 +04:00
parent b7cc436571
commit 0564b622c2
6 changed files with 48 additions and 22 deletions

View file

@ -3037,8 +3037,11 @@ void Spell::cast(bool skipCheck)
break;
case SPELLFAMILY_HUNTER:
{
// Deterrence
if (m_spellInfo->Id == 19263)
AddPrecastSpell(67801);
// Kill Command
if (m_spellInfo->Id == 34026)
else if (m_spellInfo->Id == 34026)
{
if (m_caster->HasAura(37483)) // Improved Kill Command - Item set bonus
m_caster->CastSpell(m_caster, 37482, true);// Exploited Weakness