Add aggressor bonus

This commit is contained in:
Chomp 2021-08-17 16:33:31 +01:00
parent a639b5b9e9
commit b74592e522

View File

@ -77,6 +77,7 @@ namespace Generator
var firstBotOfDesiredType = rawBotsOfSameType.FirstOrDefault(); var firstBotOfDesiredType = rawBotsOfSameType.FirstOrDefault();
botToUpdate.experience.standingForKill = firstBotOfDesiredType.Info.Settings.StandingForKill; botToUpdate.experience.standingForKill = firstBotOfDesiredType.Info.Settings.StandingForKill;
botToUpdate.experience.aggressorBonus = firstBotOfDesiredType.Info.Settings.AggressorBonus;
} }
private void AddExperience(Bot botToUpdate, List<Datum> rawBotsOfSameType) private void AddExperience(Bot botToUpdate, List<Datum> rawBotsOfSameType)