Core/Spells: Fix Warrior T10 Protection 4P Bonus

Closes #1307
This commit is contained in:
Shocker
2011-05-06 13:36:03 +03:00
parent 49602752a6
commit dc6224d60a
3 changed files with 17 additions and 0 deletions
+13
View File
@@ -7982,6 +7982,19 @@ bool Unit::HandleAuraProc(Unit * pVictim, uint32 damage, Aura * triggeredByAura,
}
break;
}
case SPELLFAMILY_WARRIOR:
{
switch (dummySpell->Id)
{
// Item - Warrior T10 Protection 4P Bonus
case 70844:
{
int32 basepoints0 = CalculatePctN(GetMaxHealth(), SpellMgr::CalculateSpellEffectAmount(dummySpell, 1));
CastCustomSpell(this, 70845, &basepoints0, NULL, NULL, true);
break;
}
}
}
}
return false;
}