public class DistanceCondition extends SkillCondition implements IEntityComparisonCondition, ILocationComparisonCondition
Modifier and Type | Field and Description |
---|---|
protected io.lumine.utils.numbers.RangedDouble |
distance |
ACTION, actionVar, conditionVar
Constructor and Description |
---|
DistanceCondition(String line,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
boolean |
check(AbstractEntity entity,
AbstractEntity target) |
boolean |
check(AbstractLocation location,
AbstractLocation target) |
evaluateCaster, evaluateDropCause, evaluateDropper, evaluateEntity, evaluateRandomSpawnPoint, evaluateTargets, evaluateToEntity, evaluateTrigger, getActionVar, getCondition, getPlugin, handleOutcome, handleOutcome, handleOutcome, handleOutcome, setAction
public DistanceCondition(String line, MythicLineConfig mlc)
public boolean check(AbstractEntity entity, AbstractEntity target)
check
in interface IEntityComparisonCondition
public boolean check(AbstractLocation location, AbstractLocation target)
check
in interface ILocationComparisonCondition
Copyright © 2020. All rights reserved.