Entity
In Alacrity, An entity represents any kind of abstract object within a simulation. It can be a character, an object, or any other kind of abstraction that could contain collections of attributes that can be track and affected by buff's modifiers. Entities have attributes, which are modifiable values that represent the entity's state, and properties, which are non-modifiable values that hold arbitrary data for the entity.
🚨 The term "modifiable" in the paragraph above makes reference to "being modifiable by buff's modifiers".
It's important to note that while attributes can be modified by buffs, properties cannot be modified directly by buffs. However, both attributes and properties can be used in conditional statements to check for certain conditions or requirements.
Entities can have buffs attached to them, which modify their attributes according to a set of rules and conditions defined by the buff. While attributes can be modified directly by buff's modifiers, properties can only be modified through the library's API. The Entities section of the documentation provides more information on working with entities in Alacrity, including how to define attributes, properties, values, and buffs.