• 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

Fully replace Attribute?

ctrvl

Member
Trying to build an aug that completely replaces a natural Attribute - something like an animal brain. I've tried:

perform #traitaugment[attrInt,=,5,""]
perform #traitaugment[attrLog,=,1,""]

But those still add to the character's natural Attributes.

I tried searching through the help from the help tooltip but the page is still under construction. Is there somewhere I can go to see available methods and/or components? I was also going to try something like:

perform hero.child[attrInt].modify[=,5,""]

But I'm pretty sure that's not referencing it properly (HL complains when I try that).

Thanks in advance - love love love this component of HL so far!
 
Use the trtOver field - that will entirely override the value that's there with its own value.

Code:
perform hero.child[attrInt].field[trtOver].modify[=,5,""]
perform hero.child[attrLog].field[trtOver].modify[=,1,""]
 
There's also trtReplace, which will override the value only if it's higher than the value - just use the trtOver code I gave you, but change the field name.

(skillsofts use trtReplace, possession uses trtOver for the mental attributes)
 
Back
Top