patch(rng-seam): make StableRandomDouble/StableRandomOnlySelf virtual (DP5, zero logic change)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
gamer147
2026-06-06 10:25:35 -04:00
parent 1a108fa393
commit 201158db5d
3 changed files with 16 additions and 3 deletions

View File

@@ -1583,7 +1583,7 @@ public class BattleManagerBase
return (int)Math.Floor((double)val * randomResult);
}
public double StableRandomDouble()
public virtual double StableRandomDouble()
{
if (IsForecast)
{
@@ -1594,7 +1594,7 @@ public class BattleManagerBase
return randomResult;
}
public int StableRandomOnlySelf(int val)
public virtual int StableRandomOnlySelf(int val)
{
if (IsForecast)
{