public class OrbitalMechanic extends Aura implements ITargetedEntitySkill, ITargetedLocationSkill
Aura.AuraTracker
AbstractSkill.DelayedSkill
Modifier and Type | Field and Description |
---|---|
protected double |
angularVelocityX |
protected double |
angularVelocityY |
protected double |
angularVelocityZ |
protected boolean |
hitNonPlayers |
protected boolean |
hitPlayers |
protected float |
hitRadius |
protected boolean |
hitSelf |
protected int |
interval |
protected int |
iterations |
protected Optional<Skill> |
onHitSkill |
protected String |
onHitSkillName |
protected int |
points |
protected float |
radius |
protected boolean |
rotate |
protected double |
velocity |
protected float |
verticalHitRadius |
protected double |
xOffset |
protected double |
xRotation |
protected double |
yOffset |
protected double |
yRotation |
protected double |
zOffset |
protected double |
zRotation |
auraName, barTimer, barTimerColor, barTimerDisplay, barTimerStyle, cancelOnChangeWorld, cancelOnDeath, cancelOnGiveDamage, cancelOnQuit, cancelOnSkillCast, cancelOnTakeDamage, cancelOnTeleport, charges, doEndSkillOnTerminate, duration, maxStacks, mergeAll, mergeSameCaster, onEndSkill, onEndSkillName, onStartSkill, onStartSkillName, onTickSkill, onTickSkillName, overwriteAll, overwriteCaster, refreshDuration, showBarTimer
clock, config, forceSync, 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 |
---|
OrbitalMechanic(String skill,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
boolean |
castAtEntity(SkillMetadata data,
AbstractEntity target) |
boolean |
castAtLocation(SkillMetadata data,
AbstractLocation 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 float radius
protected float hitRadius
protected float verticalHitRadius
protected int points
protected int interval
protected int iterations
protected double velocity
protected boolean rotate
protected double xRotation
protected double yRotation
protected double zRotation
protected double angularVelocityX
protected double angularVelocityY
protected double angularVelocityZ
protected double xOffset
protected double yOffset
protected double zOffset
protected String onHitSkillName
protected boolean hitSelf
protected boolean hitPlayers
protected boolean hitNonPlayers
public OrbitalMechanic(String skill, MythicLineConfig mlc)
public boolean castAtLocation(SkillMetadata data, AbstractLocation target)
castAtLocation
in interface ITargetedLocationSkill
public boolean castAtEntity(SkillMetadata data, AbstractEntity target)
castAtEntity
in interface ITargetedEntitySkill
Copyright © 2020. All rights reserved.