18 virtual int getMinCost(
int level)
const ;
21 virtual int getMaxCost(
int level)
const ;
24 virtual int getMaxLevel()
const ;
27 virtual float getDamageBonus(
int level,
::Actor const& target,
::Actor const&)
const ;
30 virtual void doPostAttack(
::Actor& attacker,
::Actor& victim,
int level)
const ;
33 virtual bool isMeleeDamageEnchant()
const ;
36 virtual bool _isValidEnchantmentTypeForCategory(::Enchant::Type type)
const ;
45 MCAPI static ::std::vector<::Enchant::Type>
const& VALID_ENCHANTMENTS();
51 MCAPI
int $getMinCost(
int level)
const;
53 MCAPI
int $getMaxCost(
int level)
const;
55 MCAPI
int $getMaxLevel()
const;
57 MCAPI
float $getDamageBonus(
int level,
::Actor const& target,
::Actor const&)
const;
59 MCAPI
void $doPostAttack(
::Actor& attacker,
::Actor& victim,
int level)
const;
61 MCFOLD
bool $isMeleeDamageEnchant()
const;
63 MCAPI
bool $_isValidEnchantmentTypeForCategory(::Enchant::Type type)
const;