static Enchantment() { Looting = new EnchantmentLootBonus(21, 2, EnumEnchantmentType.weapon); Fortune = new EnchantmentLootBonus(35, 2, EnumEnchantmentType.digger); }
/// <summary> /// Determines if the enchantment passed can be applyied together with this enchantment. /// </summary> public override bool CanApplyTogether(Enchantment par1Enchantment) { return(!(par1Enchantment is EnchantmentDamage)); }
/// <summary> /// Determines if the enchantment passed can be applyied together with this enchantment. /// </summary> public virtual bool CanApplyTogether(Enchantment par1Enchantment) { return(this != par1Enchantment); }