mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-26 12:44:36 +00:00
* Remove stdafx.h and some <unordered_set> includes * Update Minecraft Server Defines and remove more unused folders/files * Unbloat stdafx.h from Minecraft.World
21 lines
392 B
C++
21 lines
392 B
C++
#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;
|
|
} |