also add it to the generic discord template

This commit is contained in:
Florian Stinglmayr 2022-01-22 09:09:08 +01:00
parent 561db29394
commit 654444d39c

View File

@ -164,6 +164,17 @@ namespace EliteBGS.BGS {
output.Append(")\n\n");
}
var support = objective.LogEntries.OfType<InfluenceSupport>();
foreach (InfluenceSupport inf in support) {
output.Append(inf.ToString());
output.Append("\n");
total_influence += inf.Influence.Length;
}
if (support.Count() > 0) {
output.Append("\n");
}
if (total_influence > 0) {
output.AppendFormat("Total Influence: {0}\n\n", total_influence);
}