Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System
Register FAQ Community Today's Posts Search

Notices

Reply
 
Thread Tools Display Modes
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old June 19th, 2012, 12:31 PM
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.
mirtos is offline   #1 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Van Nuys, California
Posts: 1,220

Old June 19th, 2012, 03:20 PM
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
  if (#hasfeat[<<featid>>] = 0) then
    hero.child[Attack].field[Bonus].value = hero.child[Attack].field[Bonus].value - 2
  endif
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.
Kendall-DM is offline   #2 Reply With Quote
mirtos
Senior Member
 
Join Date: Oct 2011
Posts: 865

Old June 20th, 2012, 08:21 AM
thanks, makes sense. i should have looked at the tower shield itself. sometimes im just stupid.
mirtos is offline   #3 Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:59 AM.


Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.