Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Pathfinder Roleplaying Game
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
dangermouse
Junior Member
 
Join Date: Mar 2016
Posts: 7

Old November 2nd, 2021, 09:09 AM
I have been trying to add Mage's Sword as a weapon through the editor but can't figure out how to change it so that it uses the caster level for the BAB for that single. I tried setting the BAB to the Caster Level and it did nothing. I experimented with changing the BAB in the PreAttribute phase but change the BAB for the entire character. I still couldn't get the caster level part to work.

I would be happy with calculating the difference between the caster level and BAB and adding it to the weapon as a bonus to hit but I can't figure that out either.

Anyone have any suggestions?
dangermouse is offline   #1 Reply With Quote
dangermouse
Junior Member
 
Join Date: Mar 2016
Posts: 7

Old November 2nd, 2021, 11:24 AM
So I figure out how to do the calculation to change either the BAB or just add a competence bonus which is the difference of character level minus BAB. The issue I have now is that it applies these changes to all of the attacks, not just this one weapon.
I put this code in the Post Attributes phase:
hero.child[Attack].field[BonComp].value = (#totallevelcount[] - hero.child[Attack].field[tAtkBase].value)

Anyone know how I can make this apply to just this one weapon?
dangermouse is offline   #2 Reply With Quote
dangermouse
Junior Member
 
Join Date: Mar 2016
Posts: 7

Old November 2nd, 2021, 11:39 AM
I think I got it. It adds the difference of the character level and BAB as an untyped bonus for the single weapon I created, which works close enough.

hero.child[wMageSword].field[Bonus].value = (#totallevelcount[] - hero.child[Attack].field[tAtkBase].value)
dangermouse is offline   #3 Reply With Quote
Reply


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 04:22 PM.


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