Starter economy: stronger low-end cards; handbook: withdrawal screening rules and wallet destroy; revert wallet-destroy guard
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f2ee57c89a
commit
76d97706a6
7 files changed
+10
-12
No files matched your search
@@ -124,7 +124,7 @@ internal static class Program
|
||||
Check(Near(u.Hash(ModuleBonus.None), 3.0, 1e-9), "健康 0:60%");
|
||||
Check(Near(new Unit { Model = "RTX70" }.Hash(ModuleBonus.From(36, -44, 0)), 5 * 1.09, 1e-9), "一个超频模块(+36 性能):算力 +9%");
|
||||
var fake = new Unit { Model = "RTX90", FakeOf = "RTX60" };
|
||||
Check(fake.Hash(ModuleBonus.None) == 1.0 && fake.Label.Model == "RTX90", "假卡标着 RTX90,算力按 RTX60");
|
||||
Check(fake.Hash(ModuleBonus.None) == Hardware.Specs["RTX60"].Hash && fake.Label.Model == "RTX90", "假卡标着 RTX90,算力按 RTX60");
|
||||
Check(Near(fake.DeathChance(ModuleBonus.None), new Unit { Model = "RTX90" }.DeathChance(ModuleBonus.None) * 2, 1e-12), "假卡暴毙率 ×2");
|
||||
var r = new Unit { Model = "RTX70", Health = 50 };
|
||||
Check(r.Refurbish() && r.Health == 80 && !r.Refurbish(), "翻新一次 +30,不能再翻新");
|
||||
|
||||
Reference in new issue
Block a user