Implement highest damage AI, further work on AI runner, random fixes
All checks were successful
Build / Build (push) Successful in 51s

This commit is contained in:
2025-07-05 14:56:25 +02:00
parent 32aaa5150a
commit c795f20e54
30 changed files with 261 additions and 26 deletions

View File

@@ -38,6 +38,8 @@ public interface IMoveChoice : ITurnChoice
/// </summary>
Dictionary<StringKey, object?>? AdditionalData { get; }
void SetAdditionalData(StringKey key, object? value);
/// <summary>
/// Volatile effects that are applied to the move choice.
/// </summary>
@@ -84,7 +86,14 @@ public class MoveChoice : TurnChoice, IMoveChoice
public ScriptContainer Script { get; set; } = new();
/// <inheritdoc />
public Dictionary<StringKey, object?>? AdditionalData { get; }
public Dictionary<StringKey, object?>? AdditionalData { get; private set; }
/// <inheritdoc />
public void SetAdditionalData(StringKey key, object? value)
{
AdditionalData ??= new Dictionary<StringKey, object?>();
AdditionalData[key] = value;
}
/// <inheritdoc />
public IScriptSet Volatile { get; }