fix(Core/Unit): SPELLMOD_RESIST_MISS_CHANCE should decrease miss chance (#18849)
fix: hitchance should decrease misschance
This commit is contained in:
@@ -19281,7 +19281,7 @@ float Unit::MeleeSpellMissChance(Unit const* victim, WeaponAttackType attType, i
|
|||||||
modOwner->ApplySpellMod(spellId, SPELLMOD_RESIST_MISS_CHANCE, hitChance);
|
modOwner->ApplySpellMod(spellId, SPELLMOD_RESIST_MISS_CHANCE, hitChance);
|
||||||
}
|
}
|
||||||
|
|
||||||
missChance += hitChance - 100.0f;
|
missChance -= hitChance - 100.0f;
|
||||||
|
|
||||||
if (attType == RANGED_ATTACK)
|
if (attType == RANGED_ATTACK)
|
||||||
missChance -= m_modRangedHitChance;
|
missChance -= m_modRangedHitChance;
|
||||||
|
|||||||
Reference in New Issue
Block a user