Fold scattered constants into Tuning

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ZHU MINCHAOandClaude Sonnet 5.5 committed 2026-11-03 18:36:01 +08:00
1 parent 81b42ac2d3
commit b28a03f565
8 files changed
+25 -14

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ namespace Decentralized.Domain
var c = Claim.Truth(u);
if (kind == DealerKind.Honest) return c;
c.Model = u.Model;
double hide = kind == DealerKind.Scammer ? 1.0 : 0.7;
double hide = kind == DealerKind.Scammer ? 1.0 : Tuning.UsedMiddlemanHide;
foreach (int r in new[] { RowFan, RowFingers, RowBracket, RowPrint, RowSerial, RowSeal })
if (rng.Chance(hide)) c = c.With(r, 0);
return c;