Archived
1
0

improve combat zone and faction kill bond reporting

This commit is contained in:
Florian Stinglmayr 2021-09-28 14:45:39 +02:00
parent 1d747756ac
commit 479fcca851
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,5 @@
using System; using System;
using System.Linq;
namespace NonaBGS.BGS { namespace NonaBGS.BGS {
public class CombatZone : LogEntry, IComparable { public class CombatZone : LogEntry, IComparable {
@ -24,7 +25,8 @@ namespace NonaBGS.BGS {
} }
public override string ToString() { public override string ToString() {
return string.Format("Won {0} x {1} {2} Combat Zone(s)", Amount, Grade, Type); return string.Format("Won {0} x {1} {2} Combat Zone(s) for {3}",
Amount, Grade, Type, Faction);
} }
} }
} }

View File

@ -37,7 +37,9 @@ namespace NonaBGS.BGS {
} }
public override string ToString() { public override string ToString() {
return string.Format("Faction Kill Bonds: {0}", Credits.FormatCredits(TotalSum)); return string.Format("Faction Kill Bonds: {0} against {1}",
Credits.FormatCredits(TotalSum),
VictimFaction);
} }
} }
} }