Class MetaSkillMechanic
java.lang.Object
io.lumine.mythic.core.skills.AbstractSkill
io.lumine.mythic.core.skills.SkillMechanic
io.lumine.mythic.core.skills.mechanics.MetaSkillMechanic
- All Implemented Interfaces:
IMetaSkill
,ISkillMechanic
,SkillHolder
- Direct Known Subclasses:
SudoSkillMechanic
-
Nested Class Summary
Nested classes/interfaces inherited from class io.lumine.mythic.core.skills.AbstractSkill
AbstractSkill.DelayedSkill
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected Map<String,
PlaceholderString> protected String
Fields inherited from class io.lumine.mythic.core.skills.SkillMechanic
clock, config, executeAfterDeath, forceSync, interval, line, originOverride, targetIsOrigin
Fields inherited from class io.lumine.mythic.core.skills.AbstractSkill
chance, conditions, conditionsTarget, conditionsTrigger, cooldown, cooldowns, delay, file, healthMod, parent, power, powerSplitBetweenTargets, repeat, repeatInterval, sourceIsOrigin, target_creative, targeter, targetInterval, threadSafetyLevel, trigger, uuid
-
Constructor Summary
ConstructorDescriptionMetaSkillMechanic
(SkillExecutor manager, File file, String skill, MythicLineConfig mlc) MetaSkillMechanic
(SkillExecutor manager, File file, String skill, String skillName, MythicLineConfig mlc) -
Method Summary
Modifier and TypeMethodDescriptioncast
(SkillMetadata dataIn) getSkill()
Gets the underlying skill that this mechanic callsMethods inherited from class io.lumine.mythic.core.skills.SkillMechanic
execute, executeNoTargetSkill, executeSkills, executeSkills, executeTargetedEntitySkill, executeTargetedLocationSkill, getClock, getConfigLine, getRunAsync, getTimerInterval, getTypeName, isAsyncSafe, isUsableFromCaster, isUsableFromSkill, resetClock, setAsyncSafe, setTimerInterval, tickClock, usable, usable, usable
Methods inherited from class io.lumine.mythic.core.skills.AbstractSkill
checkHealth, checkSkillTrigger, checkSkillTrigger, evaluateTargets, evaluateTargets, getCooldown, getFilePath, onCooldown, parseSkillCondition, parseSkillTargeter, parseSkillTrigger, rollChance, setCooldown, setParent, setTargetsCreativePlayers, targetsCreativePlayers, triggerCooldown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.lumine.mythic.api.skills.ISkillMechanic
getPlugin, getTargetsCreatives, getTargetsSpectators, getThreadSafetyLevel
-
Field Details
-
skillName
-
metaskill
-
branch
protected boolean branch -
parameters
-
-
Constructor Details
-
MetaSkillMechanic
-
MetaSkillMechanic
public MetaSkillMechanic(SkillExecutor manager, File file, String skill, String skillName, MythicLineConfig mlc)
-
-
Method Details
-
getInternalName
- Specified by:
getInternalName
in interfaceSkillHolder
- Overrides:
getInternalName
in classSkillMechanic
-
getSkill
Gets the underlying skill that this mechanic calls- Returns:
- Skill
-
cast
- Specified by:
cast
in interfaceIMetaSkill
-