Go to the documentation of this file.
72 if (!(
rndm(0,
MAX(1, (
op->stats.Cha))-1))) {
77 if (
op->invisible != det)
void object_update(object *op, int action)
#define QUERY_FLAG(xyz, p)
void spring_trap(object *trap, object *victim)
method_ret common_trap_type_move_on(object *trap, object *victim, object *originator)
method_ret common_pre_ob_move_on(object *trap, object *victim, object *originator)
int rndm(int min, int max)
method_ret common_trap_type_process(object *op)
void common_post_ob_move_on(object *trap, object *victim, object *originator)