Hit Rate

From Dark Deity Wiki
Jump to navigation Jump to search

Hit rate is determined by one unit's Accuracy minus the defending unit's Dodge. This number is them added to the map's Map Rate to form a percentage. This percentage is the unit's chance to hit. A number between 1-100 is rolled twice, and if one of the numbers rolled is below the displayed hit chance, the attack will hit. If both of the numbers rolled are higher than the displayed hit, the attack will miss.


The full formula for how hit is calculated as of version 1.5:

accuracy = ceil(115 + (dexterity * 1.25 + weapon_accuracy) * 5 * (max(0.3, (50 - level) / 50)))

dodge = ceil(40 + (true_speed * 1.5 + dexterity * 0.5) * 5 * (max(0.25, (50 - level) / 50))) (edited)