add secondary influence gain to report
This commit is contained in:
parent
d789c75116
commit
561db29394
@ -163,6 +163,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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user