Table of Contents

Accuracy

Overview

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.

How Accuracy Works

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 * weaponAccuracyFactor
where 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.

Factors Affecting Accuracy

Accuracy vs. Evasion

Improving Accuracy

Source Code

See Also