Custom items and their requirements.
Posted: Mon Dec 24, 2012 6:52 am
After creating some custom items for my mod I am noticing if they have a requirement (such as "spellcraft" of 10) and they do not have that much spell craft they can still equip the item. They cannot use the item but they still get the benefits from it 
Here is one item that has this problem;
Anyone can equip this item and gain the energy, resistance and willpower bonus, however only those with the skill requirement can use the item to cast Shock.
Odd? Or am I just missing something?
Here is one item that has this problem;
Code: Select all
-- Orb of Storms
defineObject{
name = "qn_orb_storms",
class = "Item",
uiName = "Orb of Storms",
model = "assets/models/items/apprentice_orb.fbx",
gfxIndex = 69,
attackMethod = "castWandSpell",
skill = "air_magic",
requiredLevel = 10,
willpower = 4,
energy = 20,
wandPower = 10,
resistShock = 20,
coolDownTime = 20,
spell = "shock",
weight = 2.0,
}
Odd? Or am I just missing something?