First couple abilities implemented
All checks were successful
Build / Build (push) Successful in 48s

This commit is contained in:
2025-05-31 12:29:03 +02:00
parent c1a7b806b1
commit b090aa65f9
34 changed files with 733 additions and 50 deletions

View File

@@ -59,7 +59,7 @@ public static class AbilityDataLoader
var flags = serialized.Flags.Select(x => new StringKey(x)).ToImmutableHashSet();
var ability = new AbilityImpl(name, effectName, parameters, flags);
var ability = new AbilityImpl(name, effectName, parameters, flags, serialized.CanBeChanged ?? true);
return ability;
}
}

View File

@@ -19,4 +19,6 @@ public class SerializedAbility
/// A collection of arbitrary flags that can be used to mark the ability with specific properties.
/// </summary>
public string[] Flags { get; set; } = [];
public bool? CanBeChanged { get; set; }
}