 |
Crossfire Server, Trunk
1.75.0
|
#define UP_OBJ_FACE
Only thing that changed was the face.
#define QUERY_FLAG(xyz, p)
int16_t invisible
How much longer the object will be invis.
void spring_trap(object *trap, object *victim)
This function generalizes attacks by runes/traps.
float speed_left
How much speed is left to spend this round.
method_ret common_trap_type_process(object *op)
Processes a Rune or Trap.
int rndm(int min, int max)
Returns a number between min and max.
int16_t level
Level of creature or object.
#define FLAG_ALIVE
Object can fight (or be fought)
void object_update(object *op, int action)
object_update() updates the array which represents the map.
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
char method_ret
Define some standard return values for callbacks which don't need to return any other results.
method_ret common_trap_type_move_on(object *trap, object *victim, object *originator)
Move on this Rune or Trap object.
living stats
Str, Con, Dex, etc.
void common_post_ob_move_on(object *trap, object *victim, object *originator)