feat: init

This commit is contained in:
dxfiscool
2026-03-08 10:09:54 +01:00
commit 25809b8455
18807 changed files with 3944357 additions and 0 deletions
+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;
}