Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - d20 System (http://forums.wolflair.com/forumdisplay.php?f=46)
-   -   Stacking bonuses question (http://forums.wolflair.com/showthread.php?t=55191)

saturn082 February 29th, 2016 12:21 PM

Stacking bonuses question
 
Heya,

In my campaign our party came across an elven wizard who outfitted us all with Cloak and Boots of Elvenkind.

Our DM Ruled that

a) Hide and Move Silently are a combined skill (like Pathfinder) known as Stealth

b) When both items are equipped the Stealth check stacks (normal behaviour is +5 hide and +5 move silently for the cloak and boots respectively)

Questions:

1) Is there any way to alter the skills in hero lab d20 so that some skills are combined? (Ranks put into one adds ranks to the others, so that only relevant modifiers are different)

2) How does one write a prerequisite that allows bonuses to stack when two particular items are equipped together?

Thanks!

Dami March 1st, 2016 01:04 AM

You could make a new skill called "Stealth" and then preclude (hide) the original hide and move silent. Of course, this means that you would need something that transfers bonuses from the old to the new, (I don't know how to do this) or make copies of existing items that grant a bonus to Stealth instead of H/MS.
OR use ReplaceID to swap one of the old skills to 'Stealth', and work around the second.

Sendric March 1st, 2016 04:11 AM

Quote:

Originally Posted by saturn082 (Post 225201)
Questions:

1) Is there any way to alter the skills in hero lab d20 so that some skills are combined? (Ranks put into one adds ranks to the others, so that only relevant modifiers are different)

Dami's suggestions are probably about the best you could do here. If you crate the new skill, then replace Hide with it, for example, you can then either create a script on a condition that transfers all MS bonuses to Stealth or use an adjustment to manually add the appropriate bonuses.

Quote:

Originally Posted by saturn082 (Post 225201)
2) How does one write a prerequisite that allows bonuses to stack when two particular items are equipped together?

Thanks!

Stacking bonuses isn't so hard, actually. There are a few different ways to add bonuses to skills, such as:

#competencebonus[hero.child[kHide],5]

If you use this script, HL will automatically take the highest competence bonus of all items that use this script. However, if you do this instead:

hero.child[kHide].field[BonComp].value += 5

then HL will simply add 5 to your existing competence bonus, which would effectively give you the stacking you desire.

saturn082 March 1st, 2016 04:08 PM

It seems the first option is the best one, i.e. transferring all bonuses from the first to the second. That being said in my campaign we are using a series of combined skills,

Jump, Balance, Tumble ==> Athletics
Hide, Move Silently ===> Stealth
Spot, Search, Listen ===> Perception

Any chance you could point me in the direction of a script that would accomplish one of these combinations that I could use to extrapolate the other two?

Sendric March 2nd, 2016 04:33 AM

Quote:

Originally Posted by saturn082 (Post 225294)
It seems the first option is the best one, i.e. transferring all bonuses from the first to the second. That being said in my campaign we are using a series of combined skills,

Jump, Balance, Tumble ==> Athletics
Hide, Move Silently ===> Stealth
Spot, Search, Listen ===> Perception

Any chance you could point me in the direction of a script that would accomplish one of these combinations that I could use to extrapolate the other two?

I don't think there's a value that contains the sum total of all bonuses and penalties given to a specific skill, unfortunately. That means you would have to transfer the value of each field individually with a script that looks like this:

Code:

hero.child[kAthletics].field[BonAlch].value += hero.child[kJump].field[BonAlch].value
Depending on how stacking works, you might also consider this:

Code:

#applybonus[BonAlch,hero.child[kAthletics],hero.child[kJump].field[BonAlch].value]
If you assume all bonuses of the same type stack you can use a variable, like this:

Code:

var bonalch as number
bonalch = hero.child[kJump].field[BonAlch].value + hero.child[kBalance].field[BonAlch].value + hero.child[kTumble].field[BonAlch].value

#applybonus[BonAlch,hero.child[kAthletics],bonalch]

Once you've got that sorted out, you would then need to apply the same method to all the other bonuses. To find out what they are, right-click on a skill in the skill tab of the portfolio and select "Show Debug Fields".

I would recommend starting small, and just transferring one field from one skill to another to make sure you can get it to work. Timing issues might actually prevent this from working properly. I haven't tested it myself.

Clearly, this is not ideal, but I can't think of a better way right now. If I come up with anything, I'll let you know.

saturn082 March 2nd, 2016 11:25 AM

Thanks Sendric,

For now what I'm doing is manually adjusting all of the combined skills every time I put a point into one of them, this works for the bonuses but unfortunately does nothing for any class skills or skill prerequisites that require ranks.

Quote:

I don't think there's a value that contains the sum total of all bonuses and penalties given to a specific skill, unfortunately.
All it would need to do is include a rank as though it were actually put in. The manual adjustment increases the bonus, but does not consider the final value as ranks put in.

Ideally there would be a check box for 'pathfinder skills' but this would be a distant dream at this point I imagine.

ShadowChemosh March 2nd, 2016 12:39 PM

Quote:

Originally Posted by saturn082 (Post 225344)
Ideally there would be a check box for 'pathfinder skills' but this would be a distant dream at this point I imagine.

Honestly if you are at this point I would just say "go to Pathfinder" and use all its rules. :)

But putting in "pieces" of Pathfinder rules into d20 system is not going to be something that LW will do. Which makes sense because that opens a door of people demanding that "every" Pathfinder rule being an option in d20... :(

saturn082 March 2nd, 2016 12:41 PM

Quote:

Originally Posted by ShadowChemosh (Post 225351)
Honestly if you are at this point I would just say "go to Pathfinder" and use all its rules. :)

But putting in "pieces" of Pathfinder rules into d20 system is not going to be something that LW will do. Which makes sense because that opens a door of people demanding that "every" Pathfinder rule being an option in d20... :(

Don't I know it. Believe me I've tried. Sadly with a library of 3.5 books accumulated over decades it's nigh impossible to get my friends to switch. I'll keep futzing with scripts and if all else fails I'll just adjust my available skill points to add ranks to the combined skills.

ShadowChemosh March 2nd, 2016 12:47 PM

Quote:

Originally Posted by saturn082 (Post 225352)
Don't I know it. Believe me I've tried. Sadly with a library of 3.5 books accumulated over decades it's nigh impossible to get my friends to switch. I'll keep futzing with scripts and if all else fails I'll just adjust my available skill points to add ranks to the combined skills.

Don't forget you can use all your 3.5 books with Pathfinder. It is backwards compatible. Plus ALL its rules are 100% free on line look at d20pfsrd. Or the Humble Bundle is going on and you can get REALLY REALLY cheap pdf's and support a charity! :D Buy gaming books and help a charity out. How could you go wrong? :eek:

I don't have a way of doing this skill change in d20 off the top of my head. It would take me a bit of time to sit down in front of d20 and see what I could get to work. I think it can be done actually but takes a bit of scripting knowledge. "Maybe" this weekend I can take a look...

saturn082 March 2nd, 2016 01:33 PM

Quote:

Originally Posted by ShadowChemosh (Post 225353)
Don't forget you can use all your 3.5 books with Pathfinder. It is backwards compatible. Plus ALL its rules are 100% free on line look at d20pfsrd. Or the Humble Bundle is going on and you can get REALLY REALLY cheap pdf's and support a charity! :D Buy gaming books and help a charity out. How could you go wrong? :eek:

I don't have a way of doing this skill change in d20 off the top of my head. It would take me a bit of time to sit down in front of d20 and see what I could get to work. I think it can be done actually but takes a bit of scripting knowledge. "Maybe" this weekend I can take a look...

Anything you could do would be very much appreciated! That being said is there anywhere I can donate to support the work you guys do?


All times are GMT -8. The time now is 03:57 PM.

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