• 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

Reverse Ability Stat

Frodie

Well-known member
Got a weird one. A template I am working on gives a -2 to Cha. NP, but most of it abilities run off Cha. So I thought is there a way to reverse the Cha modifier, but I don't know what a good way to script this.

I am thinking something like, but not sure how to make the neg a pos

hero.childfound[aCHA].field[aModBonus].value = hero.childfound[aCHA].field[aModBonus].value

Any ideas?

Thanks
 
Last edited:
Coolness, that works -

hero.childfound[aCHA].field[aModBonus].value = hero.childfound[aCHA].field[aModBonus].value *-1

But the Ability stat shows as CHA -1/+1. Which is also cool, but the skills and abilities need to run off the +1 and not the -1.
 
I think it's a timing issue. I have it at Post Att 10000 but that isn't getting it. I tried all over, any ideas?
 
Back
Top