• 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

custom feat: for tower shields

mirtos

Well-known member
A tower shield gives you a -2 to attack (this has nothing to do with proficiencies). this is the tower shield itself. A player has come to me asking to have a feat tree that will eventually get rid of that. Seems a fair request.

I've been wondering how to best do this from a Hero Lab standpoint, and I can't quite figure it out.
 
This is written in the script of the Tower Shield, you would just have to look for the feat and ignore the script. For that, you will need to make a copy of the Tower Shield and replace its id. Then insert an if statement here (in red).

Code:
~ If equipped, -2 attack bonus.
if (result <> 0) then
  [COLOR="Red"]if (#hasfeat[<<featid>>] = 0) then[/COLOR]
    hero.child[Attack].field[Bonus].value = hero.child[Attack].field[Bonus].value - 2
  [COLOR="Red"]endif[/COLOR]
endif

Replace the <<featid>> with the id of the feat you are making, and it's done.

Alternatively, you could code the feat to do it instead, but it isn't the best solution. You would have to check each tower shield on a character, see if it is equipped, and then add 2 to the Bonus field of the Attack pick.
 
Back
Top