public abstract class DamagingMechanic extends SkillMechanic
AbstractSkill.DelayedSkill
Modifier and Type | Field and Description |
---|---|
protected String |
element |
protected boolean |
ignoresArmor |
protected static boolean |
noloop |
protected boolean |
preventImmunity |
protected boolean |
preventKnockback |
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 |
---|
DamagingMechanic(String line,
MythicLineConfig mlc) |
Modifier and Type | Method and Description |
---|---|
protected void |
doDamage(SkillCaster caster,
AbstractEntity target,
double amount) |
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 static boolean noloop
protected boolean ignoresArmor
protected boolean preventImmunity
protected boolean preventKnockback
protected String element
public DamagingMechanic(String line, MythicLineConfig mlc)
protected void doDamage(SkillCaster caster, AbstractEntity target, double amount)
Copyright © 2020. All rights reserved.