• 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

Help with custom race ability

Sekash

New member
Hi all

My DM is starting a new game and is using his own custom races for the world, he is fine for us to use Hero Lab when playing in his games so i am trying to create the races to fit his description.

I have managed to get most of the stuff working bar 1. I have tried to search and look through guides i have been unable to find the answer (May not have been looking in right places)

Basically the custom race receives a +2 Bonus to Initiative and Dodge AC when wearing Light or No Armor. I have managed to get the bonuses to apply but i am unable to find out how to make them disappear if wearing Medium or Heavy Armor.

Any help on how to do this would be greatly appreciated.
 
I found THIS old post which should point you in the right direction. You would want to change it to the following:

Code:
~ Get out now if wearing Medium or Heavy armor
doneif (hero.tagis[Hero.MedArmor] + hero.tagis[Hero.HeavyArmor] <> 0)

So what that does is stop running the script if wearing medium/heavy armor. So put that at the top of your script.

Timing is "Post-Attributes 10,000".
 
Back
Top