fix(bot): respect teammates opening factions

This commit is contained in:
IceCodeNew committed 2026-10-11 12:38:34 +00:00
1 parent bc50cac01f
commit e376f25407
4 files changed
+54 -4

No files matched your search

+3 -1
View File
@@ -122,7 +122,9 @@ Official rule (bwiki 盟约, 更新公告 5114): before a match the player canno
[ASSUMED] Bot purchasing applies one soft 18-point penalty to non-elite, non-DIY tier V/VI shared-pool cards whose
active bonds overlap another living teammate's opening strategy. Human and AI teammates are treated equally; it
neither reserves stock nor prevents a stronger purchase. Existing strategy presets and rehearsal counts are unchanged.
neither reserves stock nor prevents a stronger purchase. A living teammate's selected strategy also reserves its bond
for bot strategy selection and focus planning before any member is deployed. The reservation ends when that teammate is
eliminated. Existing strategy presets and rehearsal counts are unchanged.
[ASSUMED] AI reactions are cosmetic social choices, enabled by default and disabled with `SP_BOT_EMOTES=0`. Only
mixed human/AI matches emit them, through the existing whitelist and cooldown. A human emote gets at most one eligible
+7
View File
@@ -274,3 +274,10 @@ enemy: picking emitted a unit click with no definition, instead of the tile clic
engine-canvas regression retains the card/100 HP assertions and also covers another field refresh, live HP loss and
closing the card when the crate is destroyed. Device metadata supplied by the new entry still wins; changing fields
does not carry old devices across. Gameplay and allied targeting rules are unchanged.
### 29.15 Opening faction reservations for bots
When a living teammate has already selected a faction strategy, the bot now treats that strategy's bond as an opening
reservation before the teammate has deployed a member. It avoids selecting the same offered strategy and includes the
bond in focus planning and the existing soft penalty for shared high-tier cards. The reservation is removed when the
teammate is eliminated; it does not reserve cards or prevent an immediate merge from winning.