• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Racial spellcasting option difficulty

Zilong

Member
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.
 
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.
 
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:
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
 
... 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:
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.
 
Back
Top