Class Powerup
java.lang.Object
org.kingdoms.constants.group.upgradable.Powerup
- All Implemented Interfaces:
KingdomUpgrade,StandardKingdomUpgrade,Upgrade,org.kingdoms.constants.namespace.Namespaced
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kingdoms.constants.group.upgradable.KingdomUpgrade
getScalingMethods inherited from interface org.kingdoms.constants.group.upgradable.StandardKingdomUpgrade
eval, evaluateConditions, getDefaultLevel, getMaxLevel, getScaling, getUpgradeCost, isEnabled, isEnabledMethods inherited from interface org.kingdoms.constants.group.upgradable.Upgrade
getConfigName
-
Field Details
-
DAMAGE_BOOST
-
DAMAGE_REDUCTION
-
REGENERATION_BOOST
-
ARROW_BOOST
-
-
Constructor Details
-
Powerup
public Powerup(org.kingdoms.constants.namespace.Namespace namespace)
-
-
Method Details
-
getRegistry
-
init
public static void init() -
toString
-
getDataName
- Specified by:
getDataNamein interfaceStandardKingdomUpgrade- Specified by:
getDataNamein interfaceUpgrade
-
isOwnLandOnly
public boolean isOwnLandOnly() -
getEnabledOption
- Specified by:
getEnabledOptionin interfaceStandardKingdomUpgrade
-
getScalingOption
- Specified by:
getScalingOptionin interfaceStandardKingdomUpgrade
-
getUpgradeCostOption
- Specified by:
getUpgradeCostOptionin interfaceStandardKingdomUpgrade
-
getMaxLevelOption
- Specified by:
getMaxLevelOptionin interfaceStandardKingdomUpgrade
-
getDefaultLevelOption
- Specified by:
getDefaultLevelOptionin interfaceStandardKingdomUpgrade
-
getConfig
- Specified by:
getConfigin interfaceStandardKingdomUpgrade
-
getDisplayName
- Specified by:
getDisplayNamein interfaceUpgrade
-
getNamespace
public @NonNull org.kingdoms.constants.namespace.Namespace getNamespace()- Specified by:
getNamespacein interfaceorg.kingdoms.constants.namespace.Namespaced
-