mirror of
https://github.com/Patoke/LCERenewed.git
synced 2026-08-27 06:55:00 +00:00
feat: init
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user