Crossfire Server, Branches 1.12
R18729
|
#include <global.h>
#include <ob_methods.h>
#include <ob_types.h>
#include <sounds.h>
#include <sproto.h>
Go to the source code of this file.
Functions | |
void | init_type_poisoning (void) |
static method_ret | poisoning_type_process (ob_methods *context, object *op) |
The implementation of the Poisoning class of objects.
Definition in file poisoning.c.
void init_type_poisoning | ( | void | ) |
Initializer for the poisoning object type.
Definition at line 38 of file poisoning.c.
References POISONING, poisoning_type_process(), and register_process().
Referenced by register_all_ob_types().
|
static |
Handle ob_process for all poisoning objects.
context | The method context |
op | The poisoning that's being processed. |
Definition at line 48 of file poisoning.c.
References AT_INTERNAL, CLEAR_FLAG, liv::dam, draw_ext_info(), obj::env, fix_object(), FLAG_ALIVE, FLAG_APPLIED, liv::food, free_object(), hit_player(), liv::hp, llevDebug, LOG(), METHOD_ERROR, METHOD_OK, MSG_TYPE_ATTRIBUTE, MSG_TYPE_ATTRIBUTE_BAD_EFFECT_END, MSG_TYPE_ATTRIBUTE_BAD_EFFECT_START, NDI_UNIQUE, PLAYER, QUERY_FLAG, remove_ob(), obj::stats, and obj::type.
Referenced by init_type_poisoning().