I have an ability that costs 30 stamina that I want to have run for 0.5s always so I have it setup like below
The problem looks like when CanStartAbilityInternal runs and passes, the stamina gets subtracted
but then Update runs right after and it checks the stamina level again but if it is not above 30, then the ability stops. So the ability starts and stops immediately.
Is this a bug? It only happens if the remaining stamina is not above 30 after the ability activates.
The problem looks like when CanStartAbilityInternal runs and passes, the stamina gets subtracted
but then Update runs right after and it checks the stamina level again but if it is not above 30, then the ability stops. So the ability starts and stops immediately.
Is this a bug? It only happens if the remaining stamina is not above 30 after the ability activates.