-
Notifications
You must be signed in to change notification settings - Fork 9
Ability object
Nicholas-Fuchs edited this page May 9, 2020
·
1 revision
A Ability object must have the follow properties:
- Drain - Number - The total of ability power to drain
- MaxAbilityPower - Number - The max ability power to have
- DrainOnActivation - Boolean - Used to define if the ability will drain 'Drain' of ability power when activated
- UseAction - function(Player) - Function called when player uses his ability
- CanUseAbility - function() return Boolean - Function used to check if player can use ability