fix(Core/Spells): Update crit chance on shapeshifting to/from feral f… (#14683)
This commit is contained in:
parent
4744f561bf
commit
44226e4754
1 changed files with 13 additions and 0 deletions
|
|
@ -2103,6 +2103,19 @@ void AuraEffect::HandleAuraModShapeshift(AuraApplication const* aurApp, uint8 mo
|
|||
target->ToPlayer()->_ApplyWeaponDamage(EQUIPMENT_SLOT_MAINHAND, pItem->GetTemplate(), nullptr, apply);
|
||||
}
|
||||
}
|
||||
|
||||
// Update crit chance for feral forms
|
||||
switch (form)
|
||||
{
|
||||
case FORM_CAT:
|
||||
case FORM_BEAR:
|
||||
case FORM_DIREBEAR:
|
||||
case FORM_GHOSTWOLF:
|
||||
target->ToPlayer()->UpdateAllCritPercentages();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// stop handling the effect if it was removed by linked event
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue