Added a bunch of utilities and modfief the character data structue

This commit is contained in:
Sebastian Bularca
2026-03-29 18:31:03 +02:00
parent 4a9c00212a
commit ee97b2fec3
110 changed files with 6752 additions and 169 deletions

View File

@@ -10,7 +10,7 @@ namespace Nox.Game {
bool TryAddModifier(CharacterDefinition character, string modiferId);
}
public enum ModifierType {
public enum ModifierRole {
None,
Flat,
Addition,
@@ -20,8 +20,11 @@ namespace Nox.Game {
[Serializable]
public sealed class ModifierDefinition {
public ModifierIds id;
public ModifierType type;
[ReadOnlyField]
public System.Guid id = Guid.NewGuid();
public StatType statType;
public AttributeType attributeType;
public ModifierRole role;
public float value;
}