I'm having trouble however adding the baseDamageStat = "willpower" to my item. Any help appreciated Akroma22.
Code: Select all
defineObject{
name = "staff_fireballs",
baseObject = "base_item",
components = {
{
class = "Model",
model = "assets/models/items/acolyte_staff.fbx",
},
{
class = "Item",
uiName = "Staff of Fireballs",
gfxIndex = 340,
weight = 2.7,
description = "A magical staff that radiates great power.",
},
{
class = "CastSpell",
spell = "fireball",
cooldown = 3.0,
},
},
}