feat(battle-node): BuildBattleStart consumes MatchContext for player half
ClassId/CharaId/CardMasterName/BattleType flow from ctx. PlayerBattleStart Profile removed; Rank/BattlePoint remain as standalone consts pending real per-viewer rank tracker. One test updated, one new test added. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -27,13 +27,10 @@ internal static class ScriptedProfiles
|
||||
Seed: BattleSeed,
|
||||
OppoDeckCount: 30);
|
||||
|
||||
// From frame[5] (BattleStart).
|
||||
public static readonly BattleStartSelfInfo PlayerBattleStartProfile = new(
|
||||
Rank: "10",
|
||||
BattlePoint: "6270",
|
||||
ClassId: "1",
|
||||
CharaId: "1",
|
||||
CardMasterName: "card_master_node_10015");
|
||||
// From frame[5] (BattleStart). Hardcoded; see spec §Deferred plumbing — sourcing these
|
||||
// from real per-viewer state needs a TK2 rank/battle-point tracker.
|
||||
public const string PlayerRank = "10";
|
||||
public const string PlayerBattlePoint = "6270";
|
||||
|
||||
public static readonly BattleStartOppoInfo OpponentBattleStartProfile = new(
|
||||
Rank: "1",
|
||||
|
||||
Reference in New Issue
Block a user