mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-27 06:03:36 +00:00
13 lines
456 B
C++
13 lines
456 B
C++
#include "../Platform/stdafx.h"
|
|
#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; } |