[Spells] Update to SPA 297 and 484 to support focus from AA and items. (#1858)

[Spells] Update to SPA 297 and 484 to support focus from  AA and items.
This commit is contained in:
KayenEQ
2021-12-03 15:39:06 -05:00
committed by GitHub
parent 4a154686e1
commit 82000949e3
5 changed files with 9 additions and 69 deletions
+1 -1
View File
@@ -5458,7 +5458,7 @@ void Mob::CommonOutgoingHitSuccess(Mob* defender, DamageHitInfo &hit, ExtraAttac
int pct_damage_reduction = defender->GetSkillDmgTaken(hit.skill, opts) + defender->GetPositionalDmgTaken(this);
hit.damage_done += (hit.damage_done * pct_damage_reduction / 100) + (defender->GetFcDamageAmtIncoming(this, 0, true, hit.skill)) + defender->GetPositionalDmgTakenAmt(this);
hit.damage_done += (hit.damage_done * pct_damage_reduction / 100) + defender->GetPositionalDmgTakenAmt(this);
if (defender->GetShielderID()) {
DoShieldDamageOnShielder(defender, hit.damage_done, hit.skill);