mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-05-26 04:34:41 +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
420 B
C++
21 lines
420 B
C++
#include "ArrowInfiniteEnchantment.h"
|
|
|
|
ArrowInfiniteEnchantment::ArrowInfiniteEnchantment(int id, int frequency) : Enchantment(id, frequency, EnchantmentCategory::bow)
|
|
{
|
|
setDescriptionId(IDS_ENCHANTMENT_ARROW_INFINITE);
|
|
}
|
|
|
|
int ArrowInfiniteEnchantment::getMinCost(int level)
|
|
{
|
|
return 20;
|
|
}
|
|
|
|
int ArrowInfiniteEnchantment::getMaxCost(int level)
|
|
{
|
|
return 50;
|
|
}
|
|
|
|
int ArrowInfiniteEnchantment::getMaxLevel()
|
|
{
|
|
return 1;
|
|
} |