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