attack.c

gurba-0.40/lib/cmds/verb/attack.c · 308 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

mixed *query_verb_info( void ) {
  return( ({ "", "LIV" }) );
}

mixed can_attack( void ) {
  return( "Attack who?" );
}

mixed can_attack_liv( object liv ) {
  return( 1 );
}

mixed do_attack_liv( object liv ) {
  this_player()->targetted_action( "$N $vattack $t.", liv );
  this_player()->attack( liv );
}

Site Stats

Snippets: 1791
Codebases: 571