• 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

Adjusting challenge rating on templates

GLBIV

Well-known member
Hey guys,

I noticed there's a level adjustment field for templates, but I haven't been able to find a place for challenge rating adjustment.

When I make a vampire, for instance, the level adjustment reads correctly as +8 in the output, but the challenge rating of the creature is still equal to the creature's level. How do I let hero lab know to increase the CR by two?

Thanks,

-GLBIV
 
Here's a trickier one.

What would be the code for something like fiendish, where there's no adjustment for creatures with fewer than 3 HD, a +1 for 4 to 7 HD and a +2 for 8 or more HD?

I'd look at the fiendish template, but I don't think HL calcs it.
 
Personally, I would use a string of if statements. So, something like:

Code:
if (herofield[tHitDice].value > 7) then
 herofield[tCR].value += 2
elseif (herofield[tHitDice].value > 4) then
 herofield[tCR].value += 1
endif
 
Code:
if (herofield[tHitDice].value > 7) then
 herofield[tCR].value += 2
elseif (herofield[tHitDice].value > 4) then
 herofield[tCR].value += 1
endif

This works when I make a copy of the fiendish template and add this to the bottom of the first eval script, but I'd really rather just apply it to the main data file so I don't have a bunch of erroneous templates flying around. that doesn't seem to be working though.

I made a copy of srd_templates.dat, added the eval script then replaced the main .dat file in the source folder. For some reason, it's not applying the CR adjustment. Any ideas, is there some different file I'm supposed to be editing?
 
I see, so where is the data HL uses?

The data files used by HL are invisible to us. The only thing you can do is copy a thing in the editor. If you want to replace the original, then you have to use replacethingid or whatever its called.
 
Back
Top