• 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

Trouble Adding AC Bonus

OldDNDer

Active member
Hello everyone, after a very long break from D&D and Hero Lab, I am back in a position that I can get a group together and DM a campaign. Anyway, I am trying to learn the new Hero Lab 5th Edition and am having some problems getting a permanent +2 AC bonus to apply.

I have followed the examples in the Help file, As well as looking over the guidance provided here.

The only thing I have gotten to work is this:
Code:
hero.child[ArmorClass].field[tACDodge].value = hero.child[ArmorClass].field[tACDodge].value + 2

I have also tried several other combinations from both the links listed above but to no avail. So, would anyone be kind enough to give me a hand? This bonus should apply at all times; that is, with or without armor and/or shield equipped.
 
Last edited:
Okay, I think I figured it out. So, it seems I am using the correct instructions in Hero Lab. I was thinking that I was going about it the wrong way because I believed that something like "#applybonus[ArmorClass, hero.child[tACMisc], 2]" was the shortest instructions to do what I want; however, it seems my instructions above are the way to go. Also, I wasn't using the "tACDodge" that was from a copy and paste of the example in the help file. I am actually using the "tACMisc".
 
Okay, I think I figured it out. So, it seems I am using the correct instructions in Hero Lab. I was thinking that I was going about it the wrong way because I believed that something like "#applybonus[ArmorClass, hero.child[tACMisc], 2]" was the shortest instructions to do what I want; however, it seems my instructions above are the way to go. Also, I wasn't using the "tACDodge" that was from a copy and paste of the example in the help file. I am actually using the "tACMisc".

Glad you figured out what you wanted to do, normally I look at scripts of things that do something similar - you can copy the scripting off of a ring of protection to simulate this very well. It doesn't mess with the tACxxxx total values but adds bonuses earlier.

hero.child[ArmorClass].field[Bonus].value += 2 running at pre-levels 5000 seems to be the "LW" way to add a permanent bonus to AC, at least for a magic item.
 
Back
Top