Package de.Keyle.MyPet.api.skill.skills
Interface Fire
- All Superinterfaces:
OnHitSkill,Skill
Skill that gives the pet a chance to ignite targets on hit, setting them on fire for
a configurable duration. Both the fire 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 ignite on hit.Returns the upgrade computer controlling the fire 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 fire duration in ticks.- Returns:
- the upgrade computer for the fire duration in ticks
-
getChance
UpgradeComputer<Integer> getChance()Returns the upgrade computer controlling the percent chance to ignite on hit.- Returns:
- the upgrade computer for the percent chance to ignite on hit
-