QtCraft API C++ classes QML types Handbook

QcGolemDefinition Struct

How a creature with the golem AI fights, is repaired and built (decision E-471), from its data (golem). More...

Header: #include <common/content/mobs/QcMobDefinition.h>

Public Variables

QString attackSound
QString buildBody
QString buildHead
double knockbackResistance
double lift
double repairHealth
QString repairItem
QString repairSound

Detailed Description

Server side only.

Member Variable Documentation

QString QcGolemDefinition::attackSound

Played where a blow of it lands; empty for none.

double QcGolemDefinition::knockbackResistance

Share of a blow's push it shrugs off (1: it stands firm).

double QcGolemDefinition::lift

Its blows throw what they strike upwards this many times a blow's usual lift.