|
Eye of the Nile Docs
Everything you need to know to get started!
|
Allows an ability to apply a permanent stat increase to the player. Right now, this script only supports increasing the player's max health.
Documentation updated 8/13/2024
Public Member Functions | |
| override void | Apply (AbilityOwner abilityOwner) |
| Instantly heal the player by the buffValue. | |
Public Member Functions inherited from AbilityEffect | |
| void | Apply (AbilityOwner abilityOwner) |
| Run by the ability info object when the ability is activated. Must be filled in to instantiate. | |
| virtual void | Disable (AbilityOwner abilityOwner) |
| Run by the ability info object when the ability is deactivated. Doesn’t have to be filled in to instantiate. | |
Public Attributes | |
| int | buffValue |
| The amount the player’s health should be buffed by. | |
Private Member Functions | |
| void | Awake () |
| Set AbilityEffectType to continuous. | |
Private Attributes | |
| PlayerHealth | playerHealth |
| Reference to the player’s health. | |
Additional Inherited Members | |
Properties inherited from AbilityEffect | |
| AbilityEffectType | AbilityEffectType [get, set] |
| Determines how the effect should be applied. | |
| override void BuffAE.Apply | ( | AbilityOwner | abilityOwner | ) |
Instantly heal the player by the buffValue.
| abilityOwner |
|
private |
Set AbilityEffectType to continuous.
| int BuffAE.buffValue |
The amount the player’s health should be buffed by.
|
private |
Reference to the player’s health.