• 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

Adjustment to Disarm combat maneuver

Bob G

Well-known member
Hi Hero Lab heroes,

I have this script, which is working well:
<Final 27000>
Code:
~ abValue equal to Sleight of Hand
     field[abValue].value += hero.childfound[skSleight].field[skTotal].value
~abValue2 stores CMB bonus
     field[abValue2].value += hero.childfound[Maneuver].field[tCMB].value

And now, I want to apply the results of the script to the hero's CMB for the Disarm combat maneuver. So I tried this:
Code:
~ change disarm bonus to equal Slight of Hand total bonus
if (field[abValue2].value < field[abValue].value) then

hero.childfound[manDisarm].field[manCMB].value = field[abValue].value

endif
But the adjusted CMB for Disarm doesn't appear in the UI. Can anyone tell me why? I believe it is a timing issue, but don't know what phase I need to select for the second bit of script.
 
Back
Top