Nightbreak Java API
Toggle table of contents
JVM
Target filter
JVM
Switch theme
Search in API
Skip to content
Nightbreak Java API
EliteMobs
/
com.magmaguy.elitemobs.combatsystem
/
ClassAbilityDamageAttribution
Class
Ability
Damage
Attribution
public
final
class
ClassAbilityDamageAttribution
Tracks the counterfactual damage of a hit without its active class-ability multipliers.
Members
Constructors
Class
Ability
Damage
Attribution
Link copied to clipboard
public
void
ClassAbilityDamageAttribution
(
)
Functions
apply
Multiplier
Link copied to clipboard
public
double
applyMultiplier
(
String
abilityId
,
double currentDamage
,
double multiplier
)
Returns the damage after one real ability multiplier and remembers its exact pre-buff value.
bonus
Damage
Link copied to clipboard
public
double
bonusDamage
(
double finalDamage
)
observe
Replacement
Link copied to clipboard
public
void
observeReplacement
(
double previousDamage
,
double replacementDamage
)
Keeps the counterfactual aligned when a later combat listener scales or clamps the hit.
sources
Link copied to clipboard
public
Set
<
String
>
sources
(
)