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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Map<String,PlaceholderString> protected StringFields inherited from class io.lumine.mythic.core.skills.SkillMechanic
clock, config, executeAfterDeath, forceSync, interval, line, originOverride, targetIsOriginFields 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
ConstructorsConstructorDescriptionMetaSkillMechanic(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, usableMethods 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, triggerCooldownMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getInternalNamein interfaceSkillHolder- Overrides:
getInternalNamein classSkillMechanic
-
getSkill
Gets the underlying skill that this mechanic calls- Returns:
- Skill
-
cast
- Specified by:
castin interfaceIMetaSkill
-