Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 12th, 2011, 11:18 AM
I've been working with some of the more difficult feats to make work. Two of those are Extra Spell (which adds an extra spell known to a sorcerer, for instance) and Extra Slot (which adds an extra spell that can be cast per day). I see that the Adjustment tab has the ability to do this, and I looked into it and noticed that there is a piece of code I like.

spelllevel = field[pSpellLvl].value

Where does pSpellLvl come from? I can't find it anywhere.

This piece of code allows there to be a chooser menu of spell levels. Obviously, I can't use this in Feat creation, but is there something similar in creating Feats that will? Actually, it's a little more complex than that, I would like to be able to choose that spell level maximum from the spell level maximum that the class can cast (I know how to get the Class chooser menu, that's built in)?

Here's what I want to do, I want to be able to choose the class that I'm adding the feat to (that's been done) and then check against that class's maximum spell level that it can cast, and choose from those spell levels. I see that the Hero has tags for Arcane and Divine that I can count, but I have no way of knowing if that caster Class in Arcane or Divine, much less be able to differentiate between Bard/Sorcerer or Ranger/Druid spell levels, since they don't follow the same methodology. Thanks in advance.

Last edited by Kendall-DM; February 12th, 2011 at 11:51 AM.
Kendall-DM is offline   #61 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 12th, 2011, 01:35 PM
Quote:
Originally Posted by Kendall-DM View Post
I've been working with some of the more difficult feats to make work. Two of those are Extra Spell (which adds an extra spell known to a sorcerer, for instance) and Extra Slot (which adds an extra spell that can be cast per day). I see that the Adjustment tab has the ability to do this, and I looked into it and noticed that there is a piece of code I like.

spelllevel = field[pSpellLvl].value

Where does pSpellLvl come from? I can't find it anywhere.

This piece of code allows there to be a chooser menu of spell levels. Obviously, I can't use this in Feat creation, but is there something similar in creating Feats that will? Actually, it's a little more complex than that, I would like to be able to choose that spell level maximum from the spell level maximum that the class can cast (I know how to get the Class chooser menu, that's built in)?

Here's what I want to do, I want to be able to choose the class that I'm adding the feat to (that's been done) and then check against that class's maximum spell level that it can cast, and choose from those spell levels. I see that the Hero has tags for Arcane and Divine that I can count, but I have no way of knowing if that caster Class in Arcane or Divine, much less be able to differentiate between Bard/Sorcerer or Ranger/Druid spell levels, since they don't follow the same methodology. Thanks in advance.
Of course, the problem I'm seeing with this is, unlike Adjustments, I don't have a second field available to choose the spell level after choosing the Class. I can make the feat add +1 to spells known for Extra Spell at one level lower than what can be known by the caster, but it adds it to ALL the levels below the maximum spell level, sigh. Still working on it, but any help would be appreciated.
Kendall-DM is offline   #62 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 14th, 2011, 10:00 PM
Crap, I made some changes to my files and remade my classes and now I'm getting that doubled class tab again. I'm getting the old class tab and the new class tab, even though I've replaced the helper id and the class id. I can't figure this out, as I want to replace the classes with my classes, and I can't remember how to fix this. I thought it was just tied to the Replaces Thing Id, but I've done that and they are still showing up. Not sure how to get rid of this.
Kendall-DM is offline   #63 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 15th, 2011, 10:11 AM
Bump. I can't solve this double class tab thing.
Kendall-DM is offline   #64 Reply With Quote
risner
Senior Member
Volunteer Data File Contributor
 
Join Date: Jun 2010
Posts: 623

Old February 15th, 2011, 10:15 AM
Quote:
Originally Posted by Kendall-DM View Post
Bump. I can't solve this double class tab thing.
I don't follow you.

You mean you see it listed twice in the Class or Class Level tab?

If so, delete one?
risner is offline   #65 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 15th, 2011, 10:20 AM
No, I've replaced one class with my version of the same class using the Editor. I've used the Replace Things Id for both the Class and Class Level. However, when I get back into HL, when I chose that class, it gives me two tabs of the same Class when I leveled, one is mine, and one is the previous version. I had this solved before, I just can't remember what I did, and all I can recall was the Replace Things Id as the culprit. I've done that, restarted HL, and I'm still getting the same problem. That is what I am talking about.
Kendall-DM is offline   #66 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 15th, 2011, 10:25 AM
Did you do the replace thing id in more than one place? ie Class and Class Level?
Sendric is offline   #67 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 15th, 2011, 10:32 AM
Yes, did both.
Kendall-DM is offline   #68 Reply With Quote
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old February 15th, 2011, 10:49 AM
Ok. i just re-created it by copying the Wizard class. I think what you need to do is actually remove the "Replaces Thing ID" from the Class, but keep the one for Class Level.
Sendric is offline   #69 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old February 15th, 2011, 11:01 AM
Ok, that gets rid of the extra tab, but creates an error in cBbnIllit when trying to access the illiteracy. Any clues?
Kendall-DM is offline   #70 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 03:44 PM.


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