• 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

Brain Golem

blzbob

Well-known member
I'm trying to add the brain golem from the MM2 and I'm having one problem. I can't seem to get the inertial armor to automatically add to the AC. I tried to copy the code from the Mage Armor but it doesn't actually add the AC bonus. I'm sure I'm missing something simple. Can someone give me a hand?
 
I used this line from the Mage Armor:

#applybonus[tACArmor, hero.child[ArmorClass], field[pAdjust].value]

I tried to use the minimum and maximum that Mage Armor has in the Fields but it won't compile when I do that.

I know that I need to have a "4" in there somewhere but I don't know where. I've been getting by with cut and paste until now.
 
#applybonus[tACArmor, hero.child[ArmorClass], field[pAdjust].value]

I know that I need to have a "4" in there somewhere but I don't know where. I've been getting by with cut and paste until now.
field[pAdjust].value is the adjust value from the adjustment (ie the value you can make go up/down). So that is what you need to change to 4.

Also the #applybonus[] does the whole Max thing for you. So the above macro says give a bonus of 4 to tACArmor if the bonus is higher than what is already being applied. So it causes it to not stack.
 
Thanks. I thought I had to do it the same way Mage Armor was set up. I now have completed all the mind flayer creatures and gear from Lords of Madness and the brain golem from Fiend Folio.
 
Back
Top