This commit is contained in:
str1k3r committed 2026-07-09 04:15:40 -04:00
commit 6a777d54df
5376 files changed
+978510

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#include "stdafx.h"
#include "BookItem.h"
BookItem::BookItem(int id) : Item(id)
{
}
bool BookItem::isEnchantable(shared_ptr<ItemInstance> itemInstance)
{
return itemInstance->count == 1;
}
int BookItem::getEnchantmentValue()
{
return 1;
}