QcServerCombat::Blow Struct
struct QcServerCombat::BlowA blow or a hit on a creature: from where, and the player who dealt it (only then it gives experience and provokes a neutral creature, decision E-460, and villages and golems remember them: QcGolemGrudges, decision E-471). More...
Public Variables
Detailed Description
Member Variable Documentation
quint32 Blow::attacker
Entity id of the player; 0 for none (a creature's blow or shot).
quint32 Blow::creature
Entity id of the creature hit.
double Blow::damage
The damage dealt.
QcVec3 Blow::from
Where the blow came from.
double Blow::knockback
Strength of the push away from from; 1 is a blow's (decision E-427).
double Blow::lift
Times a blow's usual lift (a golem's throws upwards, decision E-471).