The attribute system provides good editor extensions for some attribute-related structures, such as AttributeInfo, AttributeRelation, etc.
Attribute GameplayTag
The attribute system divides attributes into three major categories, which exist as parent Tags and cannot be modified. You can specify your own attribute sets based on these three categories.
Attribute.Primary: This is similar to primary attributes in RPGs, such as Strength, Intelligence, Constitution, etc.
Attribute.Base: This is similar to secondary attributes in RPGs, such as Health, Health Regeneration, Hunger, Mana, Stamina, Attack, Defense, etc.
Attribute.Special: This is a category of special attributes, such as Fire Damage, Fire Resistance, etc.

Attribute Tag Configuration
This is the same as using GameplayTags, except that the parent of the Tag has already been specified by the attribute system. You can only create your attribute Tags based on the three parents introduced above. The plugin provides a default attribute Tag set configuration table (DT_AttributeSystemTags). If you want to use it directly, you need to add it to your own GameplayTag configuration. (Configuration path: Edit->Project Settings...->GameplayTags->Gameplay Tag Table List. Add a new item to the List and set the data table.)


Utility Functions
1. GetMaxLevel
Gets the maximum level allowed by the system.

2. FromAttributeTagToReadableName
Converts an attribute Tag to a readable string.

3. GetPrimaryAttributesTagRoot
Gets the parent of primary attributes (level-one attributes).

4. GetBaseAttributesTagRoot
Gets the parent of base attributes (secondary attributes).

5. GetSpecialAttributesTagRoot
Gets the parent of special attributes.

6. IsValidPrimaryAttributeTag
Determines whether the given Tag is a valid primary attribute (level-one attribute).

7. IsValidBaseAttributeTag
Determines whether the given Tag is a valid base attribute (secondary attribute).

8. IsValidSpecialAttributeTag
Determines whether the given Tag is a valid special attribute.

Comments
Share your thoughts and discuss with everyone