Behaviors
Behaviors can be applied to units.
Types of Behaviors
Attribute
An Attribute is e.g. Strength
Attributes are Behaviors that are assigned to a unit at design time and cannot be removed or added at runtime. They also have a level and their modifications to the unit are multiplied by the current level at runtime.
Buff
Buffs are typically temporary Behaviors, that means that they destroy themselves after a certain time. However, optionally a Buff can last forever.
Buffs can also be on Items in which case they are applied when the item is equipped. Buffs on items should not have a duration as this would probably be counterintuitive and also force the player
| Debuffs are Buffs with negative values. Use the Buff’s Alignment property to mark a Buff as being negative for a Unit. |
Veterancy
| Veterancy is NYI. |
When a Unit has a Veterancy Behavior, it can gain experience.The Vererancy Behavior describes the level up path.
A Veterancy has an (XP) growth curve. There is a "Debug Levels" Button. The output has the format level: 2 value: 130. This means that for going from begin to end of level 2, 130 XP are needed.