Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
Kaleb
Senior Member
 
Join Date: Aug 2010
Posts: 576

Old June 20th, 2018, 03:19 PM
I am trying yo get an untyped bonus for the following script what am I doing wrong

preattributes 7000
if (field[gIsEquip].value <> 0) then
#bonus[hero.childfound[skAcrobat], 15]
#bonus[hero.childfound[skStealth], 15]
endif
Kaleb is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,207

Old June 20th, 2018, 04:22 PM
Do you mean #applybonus[], rather than #bonus[]?


But you say you want an untyped bonus, so why add it using the macro for non-stacking bonuses? Why not just add it in - unless you have an ability with very specific rules, untyped bonuses normally stack with each other.
Mathias is offline   #2 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 20th, 2018, 06:29 PM
The #skillbonus macro is also an option. It only has one parameter, the unique ID of the target skill, because it applies an untyped bonus (which as Mathias noted, stacks with other untyped bonuses).

PreAttr 7000
Code:
doneif (field[gIsEquip].value = 0)

#skillbonus[skAcrobat] += 15
#skillbonus[skStealth] += 15
Aaron is offline   #3 Reply With Quote
Kaleb
Senior Member
 
Join Date: Aug 2010
Posts: 576

Old June 20th, 2018, 09:30 PM
It was the first time I tried using a untyped bonus and I thought untyped bonuses stack with all other bonuses. I used the #enhancementbonus macro and it worked fine and just adjusted the price of the magic item to reflect the slightly less performance of the item.
Kaleb is offline   #4 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old June 21st, 2018, 05:11 AM
Untyped bonuses do stack with all other bonuses, so you shouldn't use #applybonus with them (because that only applies the higher of the specified bonus or the pre-existing bonus). Hope that clarifies things!
Aaron is offline   #5 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 06:29 PM.


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