dao::animation::Shot
struct
The three parts of a shot with a bow, a crossbow or a staff, in the order they play, in seconds.
Declared in dao/Animation.h.
Functions
Total()
float Total() const
Returns the whole shot’s time, from the end of the turn to face the target.
Fields
| Field | Type | |
|---|---|---|
aim |
float = 0 |
Raising the weapon: the Aim animation, sped or slowed to take the scripts’ attack time when there is one. 0 for a creature with no Aim animation, such as one holding a staff. |
aimLoop |
float = 0 |
holding the aim: the scripts’ aim time, 0 when there is none |
fire |
float = 0 |
loosing: the Fire animation and what it runs on into |