diff --git a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs index aeb2f81303eb2b14696519bb3c445a6e9baf42aa..dfc797c2f90ab87607ac90e2f58f1a99e70f2b47 100644 --- a/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs +++ b/MrBigsock/Assets/Code/Core/Abilities/Base/BaseAbility.cs @@ -50,7 +50,7 @@ namespace BigSock { Handles cooldown and ability cost here. Returns true if the ability was successfully used. */ - public bool Use(Character actor, Vector2 target) { + public bool Use(Character actor, Vector3? target = null) { // Check that the ability is cooled down. if(Ready) { //> Handle checking costs here. @@ -77,7 +77,7 @@ namespace BigSock { - Even if nothing was hit, used to indicate that cooldowns should be updated. This should be overridden in sub-classes for the actual abilities. */ - protected abstract bool Activate(Character actor, Vector2 target); + protected abstract bool Activate(Character actor, Vector3? target); } diff --git a/MrBigsock/Assets/Code/Core/Abilities/Base/IAbility.cs b/MrBigsock/Assets/Code/Core/Abilities/Base/IAbility.cs index 80fa70963e840b5f6aef56553106009215b67628..07034791d6bbc841104db946dc9025a1413c3647 100644 --- a/MrBigsock/Assets/Code/Core/Abilities/Base/IAbility.cs +++ b/MrBigsock/Assets/Code/Core/Abilities/Base/IAbility.cs @@ -57,6 +57,6 @@ namespace BigSock { /* Try to use the ability. */ - bool Use(Character actor, Vector2 target); + bool Use(Character actor, Vector3? target); } } \ No newline at end of file