First couple abilities implemented
All checks were successful
Build / Build (push) Successful in 48s
All checks were successful
Build / Build (push) Successful in 48s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user