@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user