Junior Member
Join Date: May 2012
Posts: 9
|
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! |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
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,""] |
#2 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,207
|
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) |
#3 |
Junior Member
Join Date: May 2012
Posts: 9
|
Thanks Mathias, that's perfect!
|
#4 |
Thread Tools | |
Display Modes | |
|
|