TargetDebuffBonus

public interface TargetDebuffBonus

Cross-skill debuff bonus applied against a target that was previously debuffed (by this or any player's earlier hits). Implementations own their marking state; the damage event only asks whether the debuff applies and what it is worth.

Inheritors

Functions

Link copied to clipboard
public abstract boolean appliesTo(LivingEntity target, Player attacker)
Whether this debuff bonus applies to the given target for the given attacker.
Link copied to clipboard
public abstract double bonusFor(Player attacker, LivingEntity target, int level)
The additive bonus fraction for this attack (e.g.
Link copied to clipboard
public abstract String debugLabel()
The literal label used in the skill bonus debug log, including the trailing '='.
Link copied to clipboard
public abstract SkillType levelSource()
The skill whose level scales this bonus for the attacker.