Пример #1
0
 public static void LogIncomingDamage(Attacker attacker, Defender defender, float timer)
 {
     battle_log += Math.Round(timer, 1, MidpointRounding.AwayFromZero) + ";GetDamage;;";
     Write_log_line(attacker, defender);
 }
Пример #2
0
 public static void LogDefenderAction(string action, Attacker attacker, Defender defender, float timer)
 {
     battle_log += Math.Round(timer, 1, MidpointRounding.AwayFromZero) + ";;"
                   + action + ";";
     Write_log_line(attacker, defender);
 }