log_attack.c

final_realms_fluffos_v1/lib/secure/simul_efun/log_attack.c · 378 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

/* log_attacks.c
 * Logs all attacks on a player from a player. with level.
 * This is used to look after playerkillers.
 * Baldrick, feb '95
 */

void log_attack(string attacker, int att_level, string victim, int vic_level)
  {
  log_file("ATTACKS", attacker + " with lvl: " + att_level + " attacked " +
           victim + " with lvl: " + vic_level +"\n");
} /* log attack */

Site Stats

Snippets: 1791
Codebases: 571