csharp
public enum AbilityFailureWhy an ability did not start.
Remarks
A reason rather than a boolean, for ContainerFailure's reason: every one of these is something a player is told, and a client that has to guess shows the wrong message at the worst moment.
Fields and properties (10)
NoneIt started.
UnknownThis build has no such ability.
CastingSomething else is being cast.
OnCooldownIt has no charge ready.
GlobalCooldownThe global cooldown is running.
BlockedAn effect on the caster blocks it — a silence, a stun.
RequirementsThe caster does not satisfy its requirements.
ResourcesThe caster cannot pay for it.
NoTargetIt needs something selected and nothing is.
OutOfRangeWhat is selected is too far away.
Used by (3)
- AbilityCasterVixen.Gameplay.Combat
- AbilityCasterTestsVixen.Gameplay.Combat.Tests
- AbilityEventVixen.Gameplay.Combat