package net.minecraft.world.item.enchantment;

import net.minecraft.world.entity.EquipmentSlot;

public class QuickChargeEnchantment extends Enchantment {
    public QuickChargeEnchantment(final Rarity a, final EquipmentSlot... arr) {
        super(a, EnchantmentCategory.CROSSBOW, arr);
    }
    
    @Override
    public int getMinCost(final int integer) {
        return 12 + (integer - 1) * 20;
    }
    
    @Override
    public int getMaxCost(final int integer) {
        return 50;
    }
    
    @Override
    public int getMaxLevel() {
        return 3;
    }
}
