Junior Member
Join Date: Mar 2010
Posts: 17
|
Hi all !
i'm a new Hlab user and very very weak in code making... so the Editor is like a alien artefact for me But, i've mastered the D1 module (Crown of Kobold King) and one of my player (sorcerer) have looted the famous Crown. And i'm not able to create the correct item in Herolab... this is the basic stats : Alteration Bonus +2 Charisma (easy) Natural Armor +2 (easy) and... the hardest part : If the character is a Sorcerer, he casts spells with +1 NLS. It's not a basic NLS+1... is it possible to code that in a wonderous item ? Thanks a lot for help (and apologies for my poor english) |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
I'm sorry, I don't recognize the abbreviation "NLS".
|
#2 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Found it in my copy of the module. He means +1CL for sorcerer levels only
Quote:
|
|
#3 |
Junior Member
Join Date: Mar 2010
Posts: 17
|
ooops sorry... NLS is the french code for CL...
|
#4 |
Senior Member
|
Although, I'm not working on this area - I too am like Yaourth, I don't know much. The tutorial isn't that much help. Is there a forum area that lists more in detail how to do such things? I'm having many troubles with many of the things that I'm trying to code.
Theocrat Issak Las Vegas Lodge Gaming Agent PFSTheocrat@gmail.com |
#5 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Here's the method you'd use to figure this out:
Add a level of sorcerer to a blank character. In the develop menu, make sure that "Enable Data File Debugging" is checked at the top, and then select the "Floating Info Windows" option at the bottom of the develop menu. Select "Show Selection Fields" from that list, and then find Sorcerer. You'll see that there are two Sorcerer entries, so select both and press OK. You'll now have two windows open, each telling you what the field values are for those picks. You'll see that one, labeled "cHelpSor" has quite a lot more information than the one labeled "cSorcerer" - that's because the Class Helper (they all start with "cHelp" is where the majority of the information for a class is stored. So, close the window for the "cSorcerer" thing - you won't need it. Look through the list of fields for the Sorcerer Class Helper - in this case it's very easy to find what you're looking for, since the cMagicLev and cCasterLev fields are right at the top. Now, to make sure these are what we want, add 2 levels of Eldritch Knight (ignore the validation errors). On the Eldritch Knight tab, add a magic level, and select sorcerer as what that magic level should improve. Look back at the list of fields for the Sorcerer, and you'll see that cMagicLev and cCasterLev have both increased by 2. What's actually happening behind the scenes is that the prestige class is adding to the Sorcerer's cMagicLev, then cMagicLev is added to the cCasterLev. In most cases, they're identical. cMagicLev is the level that the class is for the purpose of what spells they can cast, cCasterLev is the caster level. Now, choosing a timing; caster level and magic level are a function of the level of a class, so that suggests that Hero Lab is using either the Levels or Post-Levels phase to make all the calculations relating to the magic level and caster level. Therefore, you'll put your script in the Pre-Levels phase, before both of those. Any priority within Pre-Levels should be fine, so leave it at the default 100. You'll simply need to add 1 to the caster level: Code:
hero.childfound[cHelpSor].field[cCasterLev].value += 1 |
#6 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
Quote:
Adding a bonus to Charisma - the Headband of Alluring Charisma Adding a bonus to Natural Armor - the Amulet of Natural Armor So, pull those items up in the editor, and study their scripts, and figure out how they accomplish their task. There is no good example of something that modifies caster level, so my previous post explained a more advanced technique for figuring out how information is stored. |
|
#7 |
Senior Member
Join Date: Aug 2008
Location: Miamisburg, OH
Posts: 1,322
|
Also for some training sessions, the good folks at Lone Wolf give classes at Gen Con. I have been to a few of them myself and they have ben very helpful. If anyone is going to Gen Con this year check out the schedule and see where they are having the sessions this year.
Web site - Cheese Weasel Logistics - www.cheeseweasel.net Twitter - @CheeseWeaselGMZ For user created content check out www.d20pfsrd.com and www.cheeseweasel.net For video demos of Hero Lab go to http://www.youtube.com/user/TheChiefweasel?blend=9&ob=5 |
#8 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Too bad I am not going to Gen Con. Maybe Lone Wolf should record those sessions and post them to their website. I am sure I am not the only one that would be willing to watch them from home.
|
#9 |
Senior Member
|
My biggest concern with the editor is the little buttons on the right side. I don't understand any of them. I can figure out a couple of the bottom buttons, but when I'm trying to work on the Seeker of Secrets feats, spells and magic items there is some problems that I don't know how to work out.
I'll be at Strategicon/Gamex as well as NeonCon but with still no job - there's no way I can make GenCon (unless I get room/board/flight for volunteering). So I agree, making these seminars sounds great - even better if they're online. Be Well. Be Well Webed. Theocrat Issak Theocrat Issak Las Vegas Lodge Gaming Agent PFSTheocrat@gmail.com |
#10 |
|
|