Package de.Keyle.MyPet.api.skill.skills
Interface Slow
- All Superinterfaces:
OnHitSkill,Skill
Skill that gives the pet a chance to apply the Slowness potion effect to targets on
hit, reducing their movement speed. Both the slowness duration and trigger chance
scale with the pet's skilltree level.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the upgrade computer controlling the percent chance to slow on hit.Returns the upgrade computer controlling the slowness duration in ticks.Methods inherited from interface de.Keyle.MyPet.api.skill.OnHitSkill
apply, triggerMethods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getDuration
UpgradeComputer<Integer> getDuration()Returns the upgrade computer controlling the slowness duration in ticks.- Returns:
- the upgrade computer for the slowness duration in ticks
-
getChance
UpgradeComputer<Integer> getChance()Returns the upgrade computer controlling the percent chance to slow on hit.- Returns:
- the upgrade computer for the percent chance to slow on hit
-