summaryrefslogtreecommitdiff
path: root/src/game-server/abilitycomponent.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-26[Abilities] Added abilities to monstersErik Schilling1-2/+4
Monsters can now either receive abilities at lifetime via scripts, or via the <ability> node in the monsters node.
2013-08-26[Abilities] Inform other players about ability usesErik Schilling1-0/+27
2013-08-26[Abilities] Added support for a global cooldownErik Schilling1-1/+13
Each ability can now define a cooldown that prevents the player from using other abilities for a while. The time of this cooldown can be set to any attribute. The modified value of the attribute is the value of the cooldown in game ticks. The cooldown will be automatically started if the ability has `autoconsume` set to true. Otherwise a script has to call entity:cooldown_ability(ability).
2013-08-26[Abilities] Moved the ability code into a own componentErik Schilling1-0/+108
This later allows monsters and characters to use this component.