Files
Viano-Core/src/server/game
ariel- d441e864c4 Core/Unit: cleanup and minor fixes of miss and resist calculations
- Removed Unit::GetUnitMeleeSkill as it was basically a copy of GetMaxSkillValueForLevel
- Removed static from GetEffectiveResistChance, as this was passed anyways, changed name to CalculateAverageResistReduction, which better reflects what it does
- Fix melee miss chances calculated from attacker maxskill instead of victim maxskill
- Do actual checks if spell can be resisted/missed in MagicSpellHitResult (ie chances > 0)
- Fixed SPELLMOD_RESIST_MISS_CHANCE calculation in MeleeSpellMissChance
- Minor codestyle and cleanup of diminishing returns calcs

(cherry picked from commit e565b34f6d24411e210151d0d03e524f94cdff85)
2022-02-16 04:49:24 +01:00
..
2022-01-28 22:32:59 +01:00
2020-01-04 18:32:38 +01:00
2020-01-04 18:32:38 +01:00
2021-07-24 01:25:07 +02:00
2020-01-04 18:32:38 +01:00
2021-10-20 18:53:21 +02:00
2020-01-04 18:32:38 +01:00