From 479fcca851097254b7e3f771f8186a9bf820678d Mon Sep 17 00:00:00 2001 From: Florian Stinglmayr Date: Tue, 28 Sep 2021 14:45:39 +0200 Subject: [PATCH] improve combat zone and faction kill bond reporting --- BGS/CombatZone.cs | 4 +++- BGS/FactionKillBonds.cs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BGS/CombatZone.cs b/BGS/CombatZone.cs index 8d405c7..b584931 100644 --- a/BGS/CombatZone.cs +++ b/BGS/CombatZone.cs @@ -1,4 +1,5 @@ using System; +using System.Linq; namespace NonaBGS.BGS { public class CombatZone : LogEntry, IComparable { @@ -24,7 +25,8 @@ namespace NonaBGS.BGS { } 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); } } } diff --git a/BGS/FactionKillBonds.cs b/BGS/FactionKillBonds.cs index 89b5143..b0a5a8e 100644 --- a/BGS/FactionKillBonds.cs +++ b/BGS/FactionKillBonds.cs @@ -37,7 +37,9 @@ namespace NonaBGS.BGS { } 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); } } }