The GameplayAbilities API allows you to associate a set of attributes, that is, UAttributeSet, to an Actor. UAttributeSet describes properties appropriate for that Actor's in-game attributes, such as Hp, Mana, Speed, Armor, AttackDamage, and so on. You can either define a single game-wide set of attributes common to all Actors, or several different sets of attributes appropriate for the different classes of actors.
GameplayAbilities API - Implementing stats with UAttributeSet
Getting ready
AbilitySystemComponent is the first thing you will need to add to your actors to equip them to use the GameplayAbilities API and UAttributeSet classes. To define your custom UAttributeSet, you will simply derive from the UAttributeSet...