Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
kridak
Junior Member
 
Join Date: Nov 2009
Posts: 21

Old August 13th, 2011, 08:49 AM
Hello folks

I am working on making a fighter Archtype to be used with the cleric, sorcerer and Rogue base classes.

The best i have figured out so far is to get weapon training to show up in the primary ability group.

i.e. I made a 5th lvl cleric and chose my Fighter archtype. I was able to figure out how to make the weapon training appear in the Domains list....this is of course messy and even though i get it to work the bonuses for the weapon training are not correct. I had created a 5th level fighter as well so i could make sure they match, and the weapon training bonus should be +1 but my archtype is giving +2 for some reason.

So even though i got this far, it is utterly messy.

What i would really like to know is it possible to get the weapon training from a fighter to show up in the secondary, tertiary or quad ability list?

I can only make it appear in the primary.

Is there anyone who can give me some help on this?

BTW i am not overly familiar with the coding here, so any instructions would be GREATLY appreciated

Thank you very much

Kridak
kridak is offline   #1 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 12,895

Old August 13th, 2011, 11:26 AM
Can you think of any other archetypes that grant a class weapon training like a fighter?

(answer: the Magus's Myrmidarch archetype from Ultimate Combat)

Have you tried making a copy of that archetype, to see how it accomplishes things?
Mathias is offline   #2 Reply With Quote
kridak
Junior Member
 
Join Date: Nov 2009
Posts: 21

Old August 13th, 2011, 01:23 PM
Damn i did not know another archtype had that ability...thanks Mathias.
kridak is offline   #3 Reply With Quote
kridak
Junior Member
 
Join Date: Nov 2009
Posts: 21

Old August 17th, 2011, 03:14 PM
Ok i can make the weapon ability show up in the 2nd ability section.

My problem is the actual bonuses are out of whack.

At 20th level it is showing....

1st weapon - +6 hit and dmg (should be +4)
2nd weapon - +4 hit and dmg (should be +3)
3rd weapon - +2 hit and dmg (this is correct)
4th weappon - +1 hit and dmg (this is correct)

This is the code i used to get the bonuses...it is from the Myrmidarch archtype.

What did i do wrong?



~ Build up a tag expression to identify all weapon training abilities for this class
var expr as string
expr = "wFtrGroup.? & CustTaken." & linkage[varies].idstring

~ First, make sure we have any weapon training abilities for this class. If we don't, there's nothing to do here.
doneif (hero.haschild[BaseCustSp,expr] = 0)

~ Debug "Weapon training is being calculated for " & field[name].text

~ The best bonus available to all weapon training abilities is 1 at 5th level, +1 per 4 levels after that. If we don't have a bonus, we're done.
var bonus as number
bonus = linkage[varies].field[cGiveSp2nd].value
var tagbonus as number

doneif (bonus = 0)

~ Go through all of our weapon training abilities in ascending order, giving a decreasing bonus to each.
foreach pick in hero from BaseCustSp where expr

~ Set the bonus for this ability

eachpick.field[abValue].value += bonus + 1 - (eachpick.field[xIndex].value)

tagbonus = eachpick.field[abValue].value

~ Forward the weapon group tag we're assigned to the class a number of times equal to the bonus we're receiving
if (eachpick.field[abValue].value >= 1) then
var i as number
var wepexpr as string
var bonustag as string
wepexpr = eachpick.tagids[wFtrGroup.?," | "]
bonustag = eachpick.tagids[TrainBonus.?, ""]

foreach pick in hero from BaseWep where wepexpr
for i = 1 to tagbonus
perform eachpick.assignstr[bonustag]
next
nexteach
endif

nexteach
kridak is offline   #4 Reply With Quote
kridak
Junior Member
 
Join Date: Nov 2009
Posts: 21

Old August 17th, 2011, 06:49 PM
any ideas?

Last edited by kridak; August 18th, 2011 at 08:20 AM.
kridak 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 11:58 PM.


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