QtCraft API C++ classes QML types Handbook

QcHitEffects::Impact Struct

struct QcHitEffects::Impact

What one hit does to the body. More...

Public Variables

int burnTicks
double damage
QList<QcStatusEffect> effects
double knockback

Detailed Description

Member Variable Documentation

int Impact::burnTicks

Ticks the body burns from now on at least.

double Impact::damage

The damage dealt.

QList<QcStatusEffect> Impact::effects

Status effects the body gets when the hit counts (decision E-450).

double Impact::knockback

Strength of the push along the flight; 1 is a blow, 0 none.