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:
1 parent
b93bcd89c4
commit
bd956a4f57
28 files changed
+720
-22
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user