Class WolfMechanic
java.lang.Object
studio.magemonkey.fabled.dynamic.EffectComponent
studio.magemonkey.fabled.dynamic.mechanic.MechanicComponent
studio.magemonkey.fabled.dynamic.mechanic.WolfMechanic
Applies a flag to each target
-
Field Summary
FieldsFields inherited from class studio.magemonkey.fabled.dynamic.EffectComponent
children, preview, settings, skill -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class studio.magemonkey.fabled.dynamic.mechanic.MechanicComponent
getTypeMethods inherited from class studio.magemonkey.fabled.dynamic.EffectComponent
doCleanUp, execute, executeChildren, filter, getInstanceKey, getNum, getSettings, getSkillData, isPreviewEnabled, lastPassed, load, parseValues, playChildrenPreviews, playPreview, save
-
Field Details
-
SKILL_META
- See Also:
-
LEVEL
- See Also:
-
-
Constructor Details
-
WolfMechanic
public WolfMechanic()
-
-
Method Details
-
execute
public boolean execute(org.bukkit.entity.LivingEntity caster, int level, List<org.bukkit.entity.LivingEntity> targets, boolean force) Description copied from class:EffectComponentExecutes the component (to be implemented)- Specified by:
executein classEffectComponent- Parameters:
caster- caster of the skilllevel- level of the skilltargets- targets to execute onforce- whether skill should be forced- Returns:
- true if executed, false if conditions not met
-
getKey
- Specified by:
getKeyin classEffectComponent
-
cleanUp
public void cleanUp(org.bukkit.entity.LivingEntity caster) - Overrides:
cleanUpin classEffectComponent
-