Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game

Notices

Reply
 
Thread Tools Display Modes
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 201

Old July 11th, 2020, 10:27 PM
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.

Projects: Legendary Rogue (Legendary Games) 94.9%, Assassin (Interjection Games) 81.5%, Eldritch Godling (Super Genius Games) 51.3%, Mighty Godling (Super Genius Games) 36.4%, Clever Godling (Super Genius Games) 31.1%, Adept Godling (Super Genius Games) 27.8%, Legendary Cavalier (Legendary Games) 19.2%, Fortunate (rebuild of Luckbringer, Rite Publishing) 14.6%

Message me for a list of completed projects.
Visit my blog! https://gauntletsofblogrepower.blogspot.com/
Bob G is offline   #1 Reply With Quote
Minous
Senior Member
 
Join Date: May 2015
Posts: 769

Old July 13th, 2020, 04:39 PM
1) use the #applybonus macro, editing the field directly is ugly
2) take a look at the adjustment pCMBBonSp it does the same thing.
Minous is offline   #2 Reply With Quote
Bob G
Senior Member
 
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 201

Old July 18th, 2020, 09:26 AM
Quote:
Originally Posted by Minous View Post
1) use the #applybonus macro, editing the field directly is ugly
2) take a look at the adjustment pCMBBonSp it does the same thing.
Thanks Minous, I got it working. I appreciate the help!

Projects: Legendary Rogue (Legendary Games) 94.9%, Assassin (Interjection Games) 81.5%, Eldritch Godling (Super Genius Games) 51.3%, Mighty Godling (Super Genius Games) 36.4%, Clever Godling (Super Genius Games) 31.1%, Adept Godling (Super Genius Games) 27.8%, Legendary Cavalier (Legendary Games) 19.2%, Fortunate (rebuild of Luckbringer, Rite Publishing) 14.6%

Message me for a list of completed projects.
Visit my blog! https://gauntletsofblogrepower.blogspot.com/
Bob G is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 07:17 PM.


Powered by vBulletin® - Copyright ©2000 - 2020, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.