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
Zilong
Junior Member
 
Join Date: Jul 2013
Posts: 5

Old August 5th, 2013, 01:56 AM
Hi, first post here so I hope this is in the right section.

I have been trying to create a race that has built in spellcasting that scales with level/HD. I thought it would be relatively simple since there is a check-box for this option (the option in the relevant section says to leave the box empty to have "caster level= HD"). However when I went to test it I found that the caster level of spellcasting does not in fact scale with level.

Does anyone know how to implement scaling racial spellcasting? I have no idea where to start if I were to write a script for this.
Zilong is offline   #1 Reply With Quote
Aaron
Senior Member
 
Join Date: Oct 2011
Posts: 6,793

Old August 5th, 2013, 02:23 AM
That box is referring to racial Spell Like Abilites, which is distinct from racial spellcasting.

The Kirin, Emperor race has racial spellcasting which increases with bonus HD. Make a copy of that race and check out the eval script on it for an example.
Aaron is offline   #2 Reply With Quote
Zilong
Junior Member
 
Join Date: Jul 2013
Posts: 5

Old August 5th, 2013, 11:58 AM
Ah, thanks forgot about that.
Zilong is offline   #3 Reply With Quote
Zilong
Junior Member
 
Join Date: Jul 2013
Posts: 5

Old August 5th, 2013, 12:58 PM
Hm, still not working correctly. I should probably note that this would be a playable character race as opposed to an NPC. So it should scale up with class levels as well.

Even directly copy/pasting from the emperor kirin and adding hd instead of class levels is not doing anything.

Yeah... I'm not very good at this :\

edit: just to give some context to my failure. I tried replacing "field[rHDFinal].value - field[rHitDice].value" with "field[tHitDice]" which compiled correctly. But when using it I got an error saying that "tHitDice" did not exist.

Last edited by Zilong; August 5th, 2013 at 01:08 PM.
Zilong is offline   #4 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old August 5th, 2013, 01:20 PM
Quote:
Originally Posted by Zilong View Post
edit: just to give some context to my failure. I tried replacing "field[rHDFinal].value - field[rHitDice].value" with "field[tHitDice]" which compiled correctly. But when using it I got an error saying that "tHitDice" did not exist.
Most likely because tHitDice is not on the race but on the Hero where rHitDice would be the "Race". So your asking HL to look for a field on the race that does not exist.

try
Code:
herofield[tHitDice].value

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #5 Reply With Quote
Zilong
Junior Member
 
Join Date: Jul 2013
Posts: 5

Old August 5th, 2013, 01:52 PM
... Well I kind of got it to work.
Thanks for the above suggestion.

It doesn't work for HD but I changed it to tLevel and it works now... weird.

I guess it is more appropriate this way anyway since the race would take class levels for progression.

Last edited by Zilong; August 5th, 2013 at 01:54 PM.
Zilong is offline   #6 Reply With Quote
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old August 5th, 2013, 02:14 PM
Quote:
Originally Posted by Zilong View Post
It doesn't work for HD but I changed it to tLevel and it works now... weird.
Depends on when your timing is. I think tLevel is early and tHitDice is Post-Level/100? I figured some of it out when I was doing the Mythic Playtest stuff.

When working with these kind of fields/values Timing is important.

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #7 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 08:52 AM.


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