Mudlib target

Documentation for the adversary-target functions for the mudlib in /std/adversary/target.c.

Functions

int is_attacking_me(object ob)

Check if the object is attacking us Returns 1 if the object is attacking us, 0 otherwise.

object get_target()

Get someone to attack from our attackers list

void switch_to(object who)

Make the specified target the primary target

void stop_hitting_me()

remove the previous object from the target list

varargs void stop_fight(object who)

stop fighting with object ob (handles making sure they stop fighting with us too). stop_fight(0) stops all fights.

File generated by Lima 1.1a4 reStructured Text daemon.