PassiveConditionContext
Immutable facts available while evaluating a passive trait.
Constructors
Link copied to clipboard
public void PassiveConditionContext(double playerHealthFraction, boolean moving, boolean recentlyHit, boolean grouped, boolean targetPresent, double targetHealthFraction, boolean targetBoss, boolean targetControlled, boolean targetIsolated, boolean targetGrouped, double targetDistance, boolean criticalHit, boolean rangedAttack, boolean classAbilityDamage, boolean nonSummonClassAbilityDamage, boolean areaClassAbilityDamage, boolean trapClassAbilityDamage, boolean blastClassAbilityDamage, boolean magicWeaponDamage, boolean recentEliteKill, boolean wardBroken, boolean drawingRangedWeapon)
public void PassiveConditionContext(double playerHealthFraction, boolean moving, boolean recentlyHit, boolean grouped, boolean targetPresent, double targetHealthFraction, boolean targetBoss, boolean targetControlled, boolean targetIsolated, boolean targetGrouped, double targetDistance, boolean criticalHit, boolean rangedAttack, boolean classAbilityDamage)
public void PassiveConditionContext(double playerHealthFraction, boolean moving, boolean recentlyHit, boolean grouped, boolean targetPresent, double targetHealthFraction, boolean targetBoss, boolean targetControlled, boolean targetIsolated, boolean targetGrouped, double targetDistance, boolean criticalHit, boolean rangedAttack, boolean classAbilityDamage, boolean magicWeaponDamage, boolean recentEliteKill, boolean wardBroken)
Compatibility constructor for callers predating typed class-ability domains.
Functions
Link copied to clipboard
public static PassiveConditionContext playerOnly(double playerHealthFraction, boolean moving, boolean recentlyHit, boolean grouped)
public static PassiveConditionContext playerOnly(double playerHealthFraction, boolean moving, boolean recentlyHit, boolean grouped, boolean recentEliteKill, boolean wardBroken)
public static PassiveConditionContext playerOnly(double playerHealthFraction, boolean moving, boolean recentlyHit, boolean grouped, boolean recentEliteKill, boolean wardBroken, boolean drawingRangedWeapon)