SimpleEnchantment

constructor(name: String, description: String, levels: IntRange, applicable: List<ItemType>, base: Statistics = Statistics.zero(), special: SpecialStatistics = SpecialStatistics(), multiplier: Float = 1.0f, conflicts: List<String> = listOf())(source)

Parameters

name

name of the enchantment

description

description of the enchantment

levels

possible levels of the enchantment

applicable

item types this enchantment is applicable to

base

base statistics that this enchantment applies, excluding the level modifier

special

base special statistics that this enchantment applies, excluding the level modifier

multiplier

the multiplier that is applied each level

conflicts

IDs of enchantments this enchantment conflicts with