I want to add the abilities of a cloak of resistance to a cloak of elvenkind. I cut and pasted:
if (field[gIsEquip].value <> 0) then
#competencebonus[hero.childfound[skStealth], 5]
if (field[gIsEquip].value <> 0) then
hero.child[svFort].field[svResist].value = maximum(hero.child[svFort].field[svResist].value, 5)
hero.child[svRef].field[svResist].value = maximum(hero.child[svRef].field[svResist].value, 5)
hero.child[svWill].field[svResist].value = maximum(hero.child[svWill].field[svResist].value, 5)
endif
And I added the unique id: ioClelres
When I test it, it kicks it out with an error about the unique ID.
Any suggestions?
if (field[gIsEquip].value <> 0) then
#competencebonus[hero.childfound[skStealth], 5]
if (field[gIsEquip].value <> 0) then
hero.child[svFort].field[svResist].value = maximum(hero.child[svFort].field[svResist].value, 5)
hero.child[svRef].field[svResist].value = maximum(hero.child[svRef].field[svResist].value, 5)
hero.child[svWill].field[svResist].value = maximum(hero.child[svWill].field[svResist].value, 5)
endif
And I added the unique id: ioClelres
When I test it, it kicks it out with an error about the unique ID.
Any suggestions?