Accuracy in Remixed Dungeon represents the chance to successfully hit an enemy with an attack. It is a crucial combat mechanic that determines whether your attacks land or miss.
Accuracy is calculated based on:
The actual hit check (see CharUtils.hit()) compares two random rolls:
hit = Random.Float(attackSkill) >= Random.Float(defenseSkill)
The attack skill is computed in Char.attackSkill() as:
attackSkill = (baseAttackSkill + lvl) * 1.4 ^ buffBonus * weaponAccuracyFactorwhere
weaponAccuracyFactor decreases when wielding weapons too heavy for the character's Strength. Attacks with a ranged weapon at point-blank range (distance 1) are only half as accurate.
Char.checkCriticalHit())