QcMobExchange::CreatureHit Struct
struct QcMobExchange::CreatureHitA blow of one creature at another (a golem at a hostile creature, decision E-471; a pet at its owner's foe, decision E-480); the server deals it after the tick (QcServerCreatures). More...
| Header: | #include <server/mobs/QcMobExchange.h> |
Public Variables
Detailed Description
Member Variable Documentation
quint32 CreatureHit::attacker
Entity id of the creature that strikes.
double CreatureHit::damage
The damage of the blow.
QcVec3 CreatureHit::from
Where the blow comes from (the push goes away from it).
double CreatureHit::lift
Times a blow's usual lift (PlayerHit::lift).
quint32 CreatureHit::target
Entity id of the creature struck.