public class SummonMechanic extends SkillMechanic implements ITargetedEntitySkill, ITargetedLocationSkill
AbstractSkill.DelayedSkill
Modifier and Type | Field and Description |
---|---|
protected PlaceholderInt |
amount |
protected boolean |
copyThreatTable |
protected boolean |
inheritFaction |
protected boolean |
inheritThreatTable |
protected PlaceholderDouble |
level |
protected BukkitEntityType |
me |
protected MythicMob |
mm |
protected int |
noise |
protected boolean |
onSurface |
protected String |
strType |
protected boolean |
summonerIsFaction |
protected boolean |
summonerIsOwner |
protected boolean |
summonerIsParent |
protected int |
yNoise |
protected boolean |
yUpOnly |
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 |
---|
SummonMechanic(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 MythicMob mm
protected BukkitEntityType me
protected String strType
protected PlaceholderInt amount
protected PlaceholderDouble level
protected int noise
protected int yNoise
protected boolean summonerIsOwner
protected boolean summonerIsParent
protected boolean summonerIsFaction
protected boolean yUpOnly
protected boolean onSurface
protected boolean inheritFaction
protected boolean inheritThreatTable
protected boolean copyThreatTable
public SummonMechanic(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.