Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
I would like to add a restriction to a new class which requires the player to be Human or part Human (Half-Elf for example). I recall there was a selection which allowed me to set a "Counts as" race. I cannot find that selection any longer. So, my two questions are:
1. If the Counts as race selection is gone how do we set it now? 2. How can I tell my new class to check that the race is indeed Human? |
#1 |
Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
Also, I'm very confused as to why Hero Lab is showing the wrong number of spells for a 5th ED. Wizard. I'm using the core (5th ED. SRD) and am testing a level 3 Wizard. The 5th ED. PHB says that a level 3 Wizard with 13 INT should have 3 Cantrips, 4 First level spells, and 3 Second level spells. Yet, Hero Lab is only allowing me to pick 3 Cantrips and 3 spells. What am I missing here?
Edit: No, my mistake. I work a graveyard shift these past few weeks to cover for a coworker that had surgery. He's recovering nicely. Anyway, when I get home from work I'm sleepy. I'm not sure what was going through my mind when I typed the above. Last edited by OldDNDer; September 10th, 2018 at 02:13 PM. |
#2 |
Senior Member
Join Date: May 2016
Posts: 608
|
Quote:
Quote:
#hasrace[rElf] + #hasrace[rHalfElf] <> 0 Which means it requires that a bladesinger can either be an elf or half-elf only. In XGtE there's the Prodigy feat that requires you to be part human: #hasrace[rHuman] + #hasrace[rHalfElf] + #hasrace[rHalfOrc] <> 0 These run as a an expr-reqs... |
||
#3 |
Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
Beautiful, amazing! Thank you.
Next question is; the class uses the Wizard spells but I need to give it 2 more spells per level. The number of cantrips stays the same. The problem I am having now is getting those two extra spells per level added. So, for example at first level, a Wizard with no bonus from INT would have 1 first level spell. I need to increase that to 3 first level spells. I have tried a couple of methods to get that increase but cannot figure out what to do. Any help would be greatly appreciated. |
#4 |
Senior Member
Join Date: May 2016
Posts: 608
|
Spellcasting gets tricky, I'm assuming you mean you want to up the number of spell slots available only.
For non-warlock casters you can manipulate the spell slots per day by using something like the following at Final/5000 (anything before final/10000, but has to happen after the class builds the spell tables in the Levels timing): Code:
hero.childfound[SlotHold1].field[MaxAllow].value += 2 So you would have to write something like Code:
if (herofield[tMaxCaster].value >= 17) then ~ IF caster level is high enough to cast 9th level spells give me 2 more hero.childfound[SlotHold9].field[MaxAllow].value += 2 endif if (herofield[tMaxCaster].value >= 15) then ~ same for 8th level spells. hero.childfound[SlotHold8].field[MaxAllow].value += 2 endif etcetera, etcetera.... |
#5 |
Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
I was nowhere close to that solution. I appreciate the help.
|
#6 |
Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
So, I plugged that in and filled it out for each level of spells; however, when I test it nothing happens. It still reports, with a 13 INT, on the "Wizard Spells" tab of the hero that I have "Memorized: 0/4" which is correct for a 3rd level Wizard. On the "White Robe Wizard Spells" tab it shows "Memorized: 0/2" for a 1st level White Robe Wizard however what I want is "Memorized: 0/4".
Edit: When I'm looking at the pick tags on the White Robe Wizard tab I see something about thingid.SpellSlots. Should SpellSlots be in the code somewhere? Last edited by OldDNDer; September 11th, 2018 at 07:28 AM. |
#7 |
Senior Member
Join Date: May 2016
Posts: 608
|
Quote:
If you're wanting to change the number of spells memorized, it's a different table/field. You need to get into the class helper object and touch one of the fields: Code:
hero.childfound[cHelpWiz].field[cMaxSpMem].value += 2 If you're doing something in an ability that requires you to select the spells from a configurable or dropdown, you can always mark the extra spells as "free" with the Helper.Free and Helper.Memorized tags, like the clerics do for their bonus domain spells. |
|
#8 |
Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
Yeap, that did the trick. Thank you again. This stuff is complex. Now I wish that I had taken programming while working on my degree. Here I'm pushing 50 and this stuff is kicking my tail.
|
#9 |
Member
Join Date: Sep 2014
Location: Oklahoma City, OK
Posts: 42
|
Now, what if, at level 1 only, instead of giving them two extra spells memorized I wanted to make sure they had no spells? At level 2 then they would pick up the:
Code:
hero.childfound[cHelpWiz].field[cMaxSpMem].value += 2 |
#10 |
|
|