public interface SkillCaster
Modifier and Type | Method and Description |
---|---|
default void |
addChild(AbstractEntity entity) |
default AuraRegistry |
getAuraRegistry() |
default int |
getAuraStacks(String auraName) |
default Collection<AbstractEntity> |
getChildren() |
AbstractEntity |
getEntity() |
default int |
getGlobalCooldown()
Returns 0 if the caster has no global cooldown active, or the number of ticks if it does.
|
default double |
getLevel() |
default AbstractLocation |
getLocation() |
default float |
getPower() |
default boolean |
hasAura(String auraName) |
boolean |
isUsingDamageSkill() |
default void |
registerAura(String buffName,
Aura.AuraTracker buff) |
default void |
setGlobalCooldown(int ticks)
Sets the number of ticks the caster's global cooldown should be active
|
void |
setUsingDamageSkill(boolean b) |
default void |
unregisterAura(String buffName,
Aura.AuraTracker buff) |
AbstractEntity getEntity()
default AbstractLocation getLocation()
void setUsingDamageSkill(boolean b)
boolean isUsingDamageSkill()
default double getLevel()
default float getPower()
default int getGlobalCooldown()
default void setGlobalCooldown(int ticks)
ticks
- default AuraRegistry getAuraRegistry()
default void registerAura(String buffName, Aura.AuraTracker buff)
default void unregisterAura(String buffName, Aura.AuraTracker buff)
default boolean hasAura(String auraName)
default int getAuraStacks(String auraName)
default void addChild(AbstractEntity entity)
default Collection<AbstractEntity> getChildren()
Copyright © 2020. All rights reserved.