More move scripts

This commit is contained in:
2025-05-03 16:51:44 +02:00
parent f8c43b6ba0
commit 1973ff50fa
52 changed files with 704 additions and 78 deletions

View File

@@ -172,6 +172,7 @@ public class BattleImpl : ScriptSource, IBattle
CanFlee = canFlee;
NumberOfSides = numberOfSides;
PositionsPerSide = positionsPerSide;
Volatile = new ScriptSet(this);
var sides = new IBattleSide[numberOfSides];
for (byte i = 0; i < numberOfSides; i++)
sides[i] = new BattleSideImpl(i, positionsPerSide, this);
@@ -399,7 +400,7 @@ public class BattleImpl : ScriptSource, IBattle
}
/// <inheritdoc />
public IScriptSet Volatile { get; } = new ScriptSet();
public IScriptSet Volatile { get; }
/// <inheritdoc />
public StringKey? WeatherName => WeatherScript.Script?.Name;