• 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

Help with eval script

Kaleb

Well-known member
how would I write a script for an ability Heal animal companion that healed comanion x number of times per day = to characters charisma modifier
 
The only part you can script is the "X" times per day. I guess the question is where is the "script" running? Is it on the Animal Companion and needs the "masters" Cha score or is it actually running on the master?

So assuming its running on the AC but you want the masters value:
Post-Attributes/10000
Code:
field[trkMax].value += master.hero.child[aCHA].field[aModBonus].value

Not near HL to test but that is the idea. :)
 
Back
Top