Master talents: experience, points and four branches (Builder, Warlord, Warlock, Merchant) with a toolbar window

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Richard ZinkandClaude Opus 5.5 committed 2026-11-06 11:35:11 +01:00
1 parent b93bcd89c4
commit bd956a4f57
28 files changed
+720 -22

No files matched your search

+2
View File
@@ -48,6 +48,8 @@ impl GameStats {
impl Game {
// counts for the master at this computer (another master's deeds count on his computer)
pub(crate) fn count(&mut self, k: usize, n: f32) {
// every master's deeds bring him experience for his talents
self.add_master_xp(crate::talents::xp_for(k) * n);
if self.me_side != self.local_side || self.demo.is_some() {
return;
}