Enchantment Action
data class EnchantmentAction(val action: RegistrableAction, val chance: Double, val delay: Time, val target: TargetType, val arguments: List<String>, val conditions: List<EnchantmentCondition>) : Describable<EnchantmentAction>
This class represents an enchantment action, which includes a RegistrableAction, a chance of execution, a delay before execution and the arguments for this action.
At no point should you need to construct this class, as it is only created internally by UnderscoreEnchants to create enchantments.
Constructors
Link copied to clipboard
constructor(action: RegistrableAction, chance: Double, delay: Time, target: TargetType, arguments: List<String>, conditions: List<EnchantmentCondition>)