why when I set protection for some shield its not working ? :/
example:
Code: Select all
defineObject{
name = "test_shield",
baseObject = "base_item",
components = {
{
class = "Model",
model = "assets/models/items/crystal_shield.fbx",
},
{
class = "Item",
uiName = "test shiel",
description = " no proterction bonus when equiped ",
gfxAtlas = "mod_assets/icons/drakkanicons.tga",
gfxIndex = 54,
weight = 12,
traits = { "shield", "epic" },
},
{
class = "EquipmentItem",
protection = 10,
immunities = { "petrified" },
},
},
}