![]() |
|
Senior Member
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 201
|
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 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 Projects: Legendary Rogue (Legendary Games) 95.4%, Assassin (Interjection Games) 81.5%, Eldritch Godling (Super Genius Games) 51.9%, Mighty Godling (Super Genius Games) 37.3%, Clever Godling (Super Genius Games) 32%, Adept Godling (Super Genius Games) 27.8%, Legendary Cavalier (Legendary Games) 19.2%, Fortunate (rebuild of Luckbringer, Rite Publishing) 15.6% Message me for a list of completed projects. Visit my blog! https://gauntletsofblogrepower.blogspot.com/ |
![]() |
![]() |
Senior Member
Join Date: May 2015
Posts: 778
|
1) use the #applybonus macro, editing the field directly is ugly
2) take a look at the adjustment pCMBBonSp it does the same thing. |
![]() |
![]() |
Senior Member
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 201
|
Thanks Minous, I got it working. I appreciate the help!
Projects: Legendary Rogue (Legendary Games) 95.4%, Assassin (Interjection Games) 81.5%, Eldritch Godling (Super Genius Games) 51.9%, Mighty Godling (Super Genius Games) 37.3%, Clever Godling (Super Genius Games) 32%, Adept Godling (Super Genius Games) 27.8%, Legendary Cavalier (Legendary Games) 19.2%, Fortunate (rebuild of Luckbringer, Rite Publishing) 15.6% Message me for a list of completed projects. Visit my blog! https://gauntletsofblogrepower.blogspot.com/ |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|