|
Senior Member
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226
|
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) 97.9%, Assassin (Interjection Games) 88%, Fortunate (rebuild of Luckbringer, Rite Publishing) 87.2%, Adept Godling (Super Genius Games) 73.9%, Eldritch Godling (Super Genius Games) 72.9%, Mighty Godling (Super Genius Games) 44.3%, Clever Godling (Super Genius Games) 41.2%, Legendary Cavalier (Legendary Games) 30.9% Message me for a list of completed projects. Visit my blog! https://gauntletsofblogrepower.blogspot.com/ |
#1 |
Senior Member
Join Date: May 2015
Posts: 830
|
1) use the #applybonus macro, editing the field directly is ugly
2) take a look at the adjustment pCMBBonSp it does the same thing. |
#2 |
Senior Member
Join Date: Nov 2017
Location: Trafford, PA, USA
Posts: 226
|
Thanks Minous, I got it working. I appreciate the help!
Projects: Legendary Rogue (Legendary Games) 97.9%, Assassin (Interjection Games) 88%, Fortunate (rebuild of Luckbringer, Rite Publishing) 87.2%, Adept Godling (Super Genius Games) 73.9%, Eldritch Godling (Super Genius Games) 72.9%, Mighty Godling (Super Genius Games) 44.3%, Clever Godling (Super Genius Games) 41.2%, Legendary Cavalier (Legendary Games) 30.9% Message me for a list of completed projects. Visit my blog! https://gauntletsofblogrepower.blogspot.com/ |
#3 |
|
|