• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Adding abilities to a cloak

valzin

Member
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?
 
Is ioClelres already in the system? A Unique iD has to be well Unique. :)

In other thoughts when you did the New(Copy) on the the other Two Cloaks did you leave them with the the io? default Unique ID? I use to do that allot when I first started. Using a ? in a Unique ID is invalid so HL will complain on the Test Now!.

If not any of the above can you post the FULL error message your getting.
 
Back
Top