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
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 14th, 2010, 03:49 AM
Update - ignoring the Debug error, it seems to work once I fill in the details of Race and Ability scores...

timing must be off

only thing now is getting the half level to round up
westcpw is offline   #11 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 14th, 2010, 04:12 AM
Update and seems to be working too

~Power Point calculation is equal to Level 1 Spells Per Day
~+ Half level * Wis Mod
~+ Feat bonuses etc
~our maximum uses is 1/2 our psychic warrior level + WIS bonus
var bonus as number
var pow as number
bonus = field[xAllLev].value/2
bonus = bonus * hero.child[aWIS].field[aModBonus].value
bonus = round(bonus,0,-1)
pow = hero.childfound[cHelpPwr].field[cCastMax].arrayvalue[1]
bonus = bonus + pow
field[trkMax].value += bonus

The trick to do this is to also add Wisdom as the Bonus Spell Attribute.

Seems to work ok now

now to get the feat to mod this

Last edited by westcpw; March 14th, 2010 at 04:15 AM. Reason: nope not WORKING - dont add bonus spll attribute
westcpw is offline   #12 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 14th, 2010, 10:08 PM
Next Problem

Psionic Talent Feat....

a> need to count how many times used
b> need to add up all the pwoer points (2+3+4 etc)
c> need to add total to PwPow class special which displays under the In Play section as a counter...
westcpw is offline   #13 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 15th, 2010, 02:28 AM
feat scripts - adds flat 2 points per Psionic Talent
var psic as number
psic = 2
hero.child[cPwPow].field[trkMax].value += psic
westcpw is offline   #14 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 15th, 2010, 03:08 AM
I copied this from 3.5 and updated it to match my cPwPow which works (see above)

~ If we're disabled, do nothing
if (tagis[Helper.FtDisable] <> 0) then
done
endif

~ Add 2 + (number of psionic talent tags on the hero) to our power points.

hero.child[cPwPow].field[trkMax].value += 2 + hero.tagcount[User.PsiTal]

~ Add the "Psionic Taltn" tag to the hero so we know how many times we've
~ run this feat script so far, which we use to control how much we add
~ to our power points every time.
var result as number
result = hero.assign[psic]


-----------------------------------
I get an error now saying User.PsiTal not defined.

I have it on Post Attributes (Users) 25000 (as the original is set to 19000 Post Attributes for cPwPow

SEO Blog By Christopher West
PPC Advertising by PPC Matters
westcpw is offline   #15 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 15th, 2010, 03:22 AM
Now this is weird...

~ If we're disabled, do nothing
if (tagis[Helper.FtDisable] <> 0) then
done
endif

~ Add 2 + (number of psionic talent tags on the hero) to our power points.

hero.childfound[cPwPow].field[trkMax].value += 2 + hero.tagcount[HasFeat.fPsiTal]

~ Add the "Psionic Taltn" tag to the hero so we know how many times we've
~ run this feat script so far, which we use to control how much we add
~ to our power points every time.
var result as number
result = hero.assign[HasFeat.fPsiTal]

each time I add the feat it adds the count x 3

SEO Blog By Christopher West
PPC Advertising by PPC Matters
westcpw is offline   #16 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 15th, 2010, 04:07 AM
me stumped - going to sleep on this one...

SEO Blog By Christopher West
PPC Advertising by PPC Matters
westcpw is offline   #17 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old March 27th, 2010, 05:00 AM
Update causing issues

I did the latest hero lab update and most of my custom things had to be reloaded / tested and compiled

now my Psychic Warrior class loads fine, but is missing the tab in hero lab?

SEO Blog By Christopher West
PPC Advertising by PPC Matters
westcpw is offline   #18 Reply With Quote
westcpw
Member
 
Join Date: Jan 2010
Posts: 42

Old April 2nd, 2010, 03:15 AM
BUMP

Mathias or Someone ?

SEO Blog By Christopher West
PPC Advertising by PPC Matters
westcpw is offline   #19 Reply With Quote
Mathias
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 13,213

Old April 2nd, 2010, 09:46 AM
You had posted this question both here and the "Hero Lab 3.6 Released" thread in the general discussion thread. Since I saw that post first, I responded there. Since I don't know what could be going on here, I'll have to take a look at your files. My email address is my user name here, @wolflair.com.
Mathias is online now   #20 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 09:39 AM.


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