23int dtype_raw(
int type,
double *shield,
double *armour,
double *knockback );
25 double *knockback,
const Damage *dmg,
int dtype_load(void)
Loads the dtype stack.
int dtype_raw(int type, double *shield, double *armour, double *knockback)
Gets the raw modulation stats of a damage type.
void dtype_calcDamage(double *dshield, double *darmour, double absorb, double *knockback, const Damage *dmg, const ShipStats *s)
Gives the real shield damage, armour damage and knockback modifier.
int dtype_get(const char *name)
Gets the id of a dtype based on name.
void dtype_free(void)
Frees the dtype stack.
const char * dtype_damageTypeToStr(int type)
Gets the human readable string from damage type.
Core damage that an outfit does.
Represents ship statistics, properties ship can use.