Class ValueTextCondition
java.lang.Object
studio.magemonkey.fabled.dynamic.EffectComponent
studio.magemonkey.fabled.dynamic.condition.ConditionComponent
studio.magemonkey.fabled.dynamic.condition.ValueTextCondition
A condition for dynamic skills that requires the text value to match the settings
-
Field Summary
Fields 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.condition.ConditionComponent
getType, playPreview
Methods inherited from class studio.magemonkey.fabled.dynamic.EffectComponent
cleanUp, doCleanUp, execute, executeChildren, filter, getInstanceKey, getNum, getSettings, getSkillData, isPreviewEnabled, lastPassed, load, parseValues, playChildrenPreviews, save
-
Constructor Details
-
ValueTextCondition
public ValueTextCondition()
-
-
Method Details
-
getKey
- Specified by:
getKey
in classEffectComponent
-
execute
public boolean execute(org.bukkit.entity.LivingEntity caster, int level, List<org.bukkit.entity.LivingEntity> targets, boolean force) Description copied from class:ConditionComponent
Executes the component (to be implemented)- Overrides:
execute
in classConditionComponent
- 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
-