Package de.Keyle.MyPet.api.skill.skills
Interface Bleed
- All Superinterfaces:
OnHitSkill,Scheduler,Skill
Skill that gives the pet a chance to inflict a bleeding damage-over-time effect on
hit targets. When triggered, the target takes periodic damage for the configured
duration. The bleed ticks are managed via
Scheduler.
All parameters (damage per tick, tick interval, total 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 inflict bleed on hit.Returns the upgrade computer controlling the damage dealt per bleed tick.Returns the upgrade computer controlling the total bleed duration in ticks.Returns the upgrade computer controlling the interval (in ticks) between bleed damage applications.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
-
getDamage
UpgradeComputer<Number> getDamage()Returns the upgrade computer controlling the damage dealt per bleed tick.- Returns:
- the upgrade computer for the damage dealt per bleed tick
-
getInterval
UpgradeComputer<Integer> getInterval()Returns the upgrade computer controlling the interval (in ticks) between bleed damage applications.- Returns:
- the upgrade computer for the interval (in ticks) between bleed damage applications
-
getDuration
UpgradeComputer<Integer> getDuration()Returns the upgrade computer controlling the total bleed duration in ticks.- Returns:
- the upgrade computer for the total bleed duration in ticks
-
getChance
UpgradeComputer<Integer> getChance()Returns the upgrade computer controlling the percent chance to inflict bleed on hit.- Returns:
- the upgrade computer for the percent chance to inflict bleed on hit
-