Unicopia/src/main/java/com/minelittlepony/unicopia/ability/AbilitySlot.java
Sollace 4202723731 Make first/second/gem spell selection less confusing
- cast and shoot now both use the slot that's visually selected in the hud
- swapping between first/second slot is done only by sneaking
- there are now messages in the hud indicating the spell being cast
- gems now have a cooldown after being used
- holding a gem now changes the selector icon and title to make it clear that spells can be swapped
- activating an ability whilst holding a gem changes the message to indicate you're casting the spell from the gem rather than your spell slot
- ability titles now reflect what they do when sneaking
- equipping a spell from a gem whilst in creative mode no longer consumes the gem's spell
2023-05-29 14:13:52 +01:00

28 lines
692 B
Java

package com.minelittlepony.unicopia.ability;
public enum AbilitySlot {
/**
* No slot. Corresponds to abilities that are not equipped.
*/
NONE,
/**
* The primary ability slot. Corresponds to the largest ring in the HUD
*/
PRIMARY,
/**
* The secondary ability slot. Corresponds to the top small ring in the HUD
*/
SECONDARY,
/**
* The tertiary ability slot. Corresponds to the bottom small ring in the HUD.
*/
TERTIARY,
/**
* The passive primary ability slot. Appears in place of the primary ability whilst sneaking.
*/
PASSIVE;
public boolean isPassive() {
return this == PASSIVE;
}
}