first commit
This commit is contained in:
22
Minecraft.World/ArrowFireEnchantment.cpp
Normal file
22
Minecraft.World/ArrowFireEnchantment.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#include "stdafx.h"
|
||||
#include "ArrowFireEnchantment.h"
|
||||
|
||||
ArrowFireEnchantment::ArrowFireEnchantment(int id, int frequency) : Enchantment(id, frequency, EnchantmentCategory::bow)
|
||||
{
|
||||
setDescriptionId(IDS_ENCHANTMENT_ARROW_FIRE);
|
||||
}
|
||||
|
||||
int ArrowFireEnchantment::getMinCost(int level)
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
|
||||
int ArrowFireEnchantment::getMaxCost(int level)
|
||||
{
|
||||
return 50;
|
||||
}
|
||||
|
||||
int ArrowFireEnchantment::getMaxLevel()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
Reference in New Issue
Block a user