![]() |
Senior Member
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 203
|
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) 96.6%, Assassin (Interjection Games) 82.5%, Eldritch Godling (Super Genius Games) 64.3%, Mighty Godling (Super Genius Games) 39%, Clever Godling (Super Genius Games) 34.4%, Adept Godling (Super Genius Games) 31.1%, Legendary Cavalier (Legendary Games) 20.7%, Fortunate (rebuild of Luckbringer, Rite Publishing) 17.7% Message me for a list of completed projects. Visit my blog! https://gauntletsofblogrepower.blogspot.com/ |
![]() |
![]() |
Senior Member
Join Date: May 2015
Posts: 779
|
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: 203
|
Thanks Minous, I got it working. I appreciate the help!
Projects: Legendary Rogue (Legendary Games) 96.6%, Assassin (Interjection Games) 82.5%, Eldritch Godling (Super Genius Games) 64.3%, Mighty Godling (Super Genius Games) 39%, Clever Godling (Super Genius Games) 34.4%, Adept Godling (Super Genius Games) 31.1%, Legendary Cavalier (Legendary Games) 20.7%, Fortunate (rebuild of Luckbringer, Rite Publishing) 17.7% Message me for a list of completed projects. Visit my blog! https://gauntletsofblogrepower.blogspot.com/ |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|