fix(Core/Unit): SPELLMOD_RESIST_MISS_CHANCE should decrease miss chance (#18849)
fix: hitchance should decrease misschance
This commit is contained in:
parent
45ad5acddb
commit
ac203da3d3
1 changed files with 1 additions and 1 deletions
|
|
@ -19281,7 +19281,7 @@ float Unit::MeleeSpellMissChance(Unit const* victim, WeaponAttackType attType, i
|
|||
modOwner->ApplySpellMod(spellId, SPELLMOD_RESIST_MISS_CHANCE, hitChance);
|
||||
}
|
||||
|
||||
missChance += hitChance - 100.0f;
|
||||
missChance -= hitChance - 100.0f;
|
||||
|
||||
if (attType == RANGED_ATTACK)
|
||||
missChance -= m_modRangedHitChance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue