public class VolleyMechanic extends ShootMechanic implements ITargetedEntitySkill, ITargetedLocationSkill
Modifier and Type | Class and Description |
---|---|
protected static class |
VolleyMechanic.VolleyType |
ShootMechanic.ProjectileData, ShootMechanic.ProjectileTracker, ShootMechanic.ProjectileType
AbstractSkill.DelayedSkill
Modifier and Type | Field and Description |
---|---|
protected PlaceholderInt |
amount |
protected double |
radius |
protected VolleyMechanic.VolleyType |
type |
protected double |
yOffset |
bounce, calculateFiringAngle, damage, disguise, fromOrigin, gravity, hSpread, maxdistance, onEndSkill, onEndSkillName, onHitSkill, onHitSkillName, onStartSkillName, onTickSkill, onTickSkillName, powerAffectsVelocity, projectileClass, projectileItem, projectileType, startYOffset, tickInterval, velocity, vSpread
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 |
---|
VolleyMechanic(String line,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
boolean |
castAtEntity(SkillMetadata data,
AbstractEntity target) |
boolean |
castAtLocation(SkillMetadata data,
AbstractLocation target) |
boolean |
shoot(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 VolleyMechanic.VolleyType type
protected PlaceholderInt amount
protected double radius
protected double yOffset
public VolleyMechanic(String line, MythicLineConfig mlc)
public boolean castAtEntity(SkillMetadata data, AbstractEntity target)
castAtEntity
in interface ITargetedEntitySkill
castAtEntity
in class ShootMechanic
public boolean castAtLocation(SkillMetadata data, AbstractLocation target)
castAtLocation
in interface ITargetedLocationSkill
castAtLocation
in class ShootMechanic
public boolean shoot(SkillMetadata data, AbstractLocation target)
shoot
in class ShootMechanic
Copyright © 2020. All rights reserved.