public class ChainMechanic extends SkillMechanic implements ITargetedEntitySkill
Modifier and Type | Class and Description |
---|---|
static class |
ChainMechanic.BounceSelector |
class |
ChainMechanic.ChainTracker |
AbstractSkill.DelayedSkill
Modifier and Type | Field and Description |
---|---|
protected List<SkillCondition> |
bounceConditions |
protected String |
bounceConditionString |
protected PlaceholderInt |
bounceDelay |
protected PlaceholderDouble |
bounceRadius |
protected PlaceholderInt |
bounces |
protected ChainMechanic.BounceSelector |
bounceSelector |
protected boolean |
hitNonPlayers |
protected boolean |
hitPlayers |
protected boolean |
hitSelf |
protected boolean |
hitTarget |
protected Skill |
onBounceSkill |
protected String |
onBounceSkillName |
clock, config, forceSync, interval, line, originOverride, targetIsOrigin
ASYNC_SAFE, chance, conditions, conditionsTarget, conditionsTrigger, cooldown, cooldowns, cooldownTimer, delay, healthMod, power, powerScale, powerSplitBetweenTargets, repeat, repeatInterval, sourceIsOrigin, target_creative, targeter, trigger, uuid
Constructor and Description |
---|
ChainMechanic(String skill,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
boolean |
castAtEntity(SkillMetadata data,
AbstractEntity target) |
execute, executeNoTargetSkill, executeSkills, executeSkills, executeTargetedEntitySkill, executeTargetedLocationSkill, getClock, getConfigLine, getRunAsync, getTimerInterval, init, isAsyncSafe, isUsableFromCaster, isUsableFromSkill, resetClock, setAsyncSafe, setTimerInterval, tickClock, usable, usable, usable
checkHealth, checkSkillTrigger, checkSkillTrigger, evaluateTargets, getCooldown, getPlugin, onCooldown, parseSkillCondition, parseSkillTargeter, parseSkillTrigger, rollChance, setCooldown, setTargetsCreativePlayers, targetsCreativePlayers
protected Skill onBounceSkill
protected String onBounceSkillName
protected PlaceholderInt bounces
protected PlaceholderInt bounceDelay
protected PlaceholderDouble bounceRadius
protected ChainMechanic.BounceSelector bounceSelector
protected boolean hitSelf
protected boolean hitTarget
protected boolean hitPlayers
protected boolean hitNonPlayers
protected String bounceConditionString
protected List<SkillCondition> bounceConditions
public ChainMechanic(String skill, MythicLineConfig mlc)
public boolean castAtEntity(SkillMetadata data, AbstractEntity target)
castAtEntity
in interface ITargetedEntitySkill
Copyright © 2020. All rights reserved.