Files
purpur-fantasy-stick/src/main/java/games/dmg/fantasystick/ability/AbilityEffect.java
T
dmg 27f38818ae
Release / release (push) Successful in 6m27s
feat(abilities): add Revive
2026-09-20 06:19:56 -04:00

10 lines
433 B
Java

package games.dmg.fantasystick.ability;
/** Focused native effect invoked only after shared persistence, cooldown and target authorization. */
@FunctionalInterface
public interface AbilityEffect {
/** Effect-specific initial eligibility checked before the shared cooldown commit. */
default boolean accepts(games.dmg.fantasystick.session.ControlInput input) { return true; }
void activate(AbilityExecution execution);
}