improvfmeents

This commit is contained in:
Michal Vrba
2026-09-04 11:31:52 +02:00
parent 7ca0e08637
commit d4e0071f95
14 changed files with 941 additions and 61 deletions
+5
View File
@@ -50,6 +50,11 @@ public class Player
Avatar = avatar;
Difficulty = difficulty;
PersonalityId = personalityId;
if (type == PlayerType.AI && string.IsNullOrEmpty(PersonalityId))
{
var pers = AIPersonality.All.FirstOrDefault(a => a.BaseAvatar == avatar);
PersonalityId = pers?.Id ?? "fox";
}
}
public string GetLiveAvatar()