class_simple.c

lima-1.0b5/lib/std/adversary/blows/class_simple.c · 423 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

#include <combat_modules.h>

inherit CLASS_EVENT_INFO;

nosave class event_info array queue = ({ });

void add_event(object target, object weapon, mixed target_extra, mixed data)
{
   queue += ({ new(class event_info, target: target, weapon: weapon, data: data
#ifdef HEALTH_USES_LIMBS
               , target_extra: target_extra
#endif
   ) });
}

Site Stats

Snippets: 1791
Codebases: 571