Astraeus Player's Guide

Combat Basics

COMBAT BASICS

Using a Weapon


DODGE AND ACCURACY

Dodge 


Accuracy


Note:  When you use getCurrentSpeed(), it is measured in raw pixels per frame which is a different scale than what is shown in the entity panel and used to calculate dodge.  


To convert, you'll divide by Values.SPEED.  This is a global constant that is used to help keep the math simpler and easy to scale.  


To make things simpler, if you're trying to determine a unit's dodge chance, you may want to use the getDodgeChance() method instead.

DEFENSE AND BLOCK

Defenses


Damage flows from one defense to the next, represented as different health bars.



Block