Package valorless.rarespawns.soulpower
Annotation Interface SoulPowerInfo
Annotation for providing metadata about a custom soulpowers in RareSpawns.
Used to specify the power's type and cooldown.
This annotation is retained at runtime for reflection-based access.
-
Required Element Summary
Required Elements
-
Element Details
-
type
String typeThe type of the power.- Returns:
- The power type.
-
cooldown
String cooldownThe cooldown value for the ability (in seconds).- Returns:
- The cooldown value as a string.
-
chance
String chanceThe chance value for the ability (as a percentage).- Returns:
- The chance value as a string.
-
failCooldown
String failCooldownWhether the cooldown should apply on failure.- Returns:
- "true" if cooldown applies on failure, otherwise "false".
-