summaryrefslogtreecommitdiff
path: root/src/game-server/abilitycomponent.h
AgeCommit message (Collapse)AuthorFilesLines
2013-09-08Actually send the info about beings using direction abilitiesErik Schilling1-1/+6
2013-09-08Added support for direction based ability targetsErik Schilling1-1/+6
I had to rearrange the protocol a bit in order to allow to keep the related things together.
2013-08-26Made cooldowns of abilities scriptableErik Schilling1-14/+14
- Removed hardcoded using of attributes - Simply introduced lua functions to set global and ability cooldowns - Requires database update - Bumps the protocol
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.