Mudlib adversary
Documentation for the std-adversary functions for the mudlib in /std/adversary.c.
Functions
-
int start_fight(object who)
Add someone to the list of people we are attacking. If we were already attacking them, make them the primary person we are attacking. Then take a swing at them.
-
int attackable()
Return 1 if we can be attacked.
-
int query_ghost()
Returns 1 if the adversary is dead.
-
int karma_impact()
Override and return a number between -5 and 5 to impact karma when killed by someone. Notice: Requires USE_KARMA defined.
-
string diagnose()
Returns a string describing the current state of the adversary.
-
string query_in_room_desc()
Returns a description for the room for the adversary.
File generated by Lima 1.1a4 reStructured Text daemon.