feat(free-battle): register PvpOnly ModePolicy for rotation+unlimited
This commit is contained in:
@@ -153,6 +153,10 @@ public class Program
|
||||
new ModePolicy("arena_two_pick_battle", PolicyKind.PvpOnly),
|
||||
new ModePolicy("rotation_rank_battle", PolicyKind.PvpFirstThenAiFallback),
|
||||
new ModePolicy("unlimited_rank_battle", PolicyKind.PvpFirstThenAiFallback),
|
||||
// Free battle is casual PvP — no /ai_*_free_battle URL family exists in the client
|
||||
// (see Shadowverse_Code_2026-05-23/ApiType.cs), so PvpOnly: park forever, no AI fallback.
|
||||
new ModePolicy("rotation_free_battle", PolicyKind.PvpOnly),
|
||||
new ModePolicy("unlimited_free_battle", PolicyKind.PvpOnly),
|
||||
}));
|
||||
builder.Services.AddSingleton<IMatchingPairUpService, InProcessPairUp>();
|
||||
// Single resolver shared by every /do_matching family controller. Owns the
|
||||
|
||||
Reference in New Issue
Block a user