Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
440 B · 22 lines
C++
at master
12345678910111213141516171819202122#include "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;}