Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Savage Worlds

Notices

Reply
 
Thread Tools Display Modes
Adammar
Junior Member
 
Join Date: Mar 2009
Posts: 14

Old October 27th, 2010, 04:45 PM
Is there a way to make a racial feature that would add an additive +1 to armour? What I was able to get seems to give a +1 armour but when I equip Leather it doesn't add.

Thanks
Adammar is offline   #1 Reply With Quote
Praetor
Member
 
Join Date: Mar 2008
Location: Richmond, Va
Posts: 79

Old November 13th, 2010, 03:27 PM
I don't think Racial armor and Worn armor stack. you only get the highest. Not sure how you could add an inherit armor bonus to worn armor.

Quote:
Originally Posted by Adammar View Post
Is there a way to make a racial feature that would add an additive +1 to armour? What I was able to get seems to give a +1 armour but when I equip Leather it doesn't add.

Thanks

Alvin Leadbetter
www.rpden.net
Praetor is offline   #2 Reply With Quote
Adammar
Junior Member
 
Join Date: Mar 2009
Posts: 14

Old November 29th, 2010, 06:28 PM
Thanks for the effort. I couldn't figure a way to do it and was hoping I was missing something easy.
Adammar is offline   #3 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,262

Old January 20th, 2011, 03:13 PM
Quote:
Originally Posted by Adammar View Post
Is there a way to make a racial feature that would add an additive +1 to armour? What I was able to get seems to give a +1 armour but when I equip Leather it doesn't add.
The standard mechanism for armor does NOT stack, which is why you're not gaining the bonus. If you want armor that DOES stack, you'll need to bypass the built-in mechanism for armor and handle the bonus separately. There are four fields on the hero associated with armor - one for each location. If you apply the bonus directly to these fields, it will bypass the armor mechanism and stack.

The four fields you'll need to modify are on the hero and named "acDefTorso", "acDefHead", "acDefArms", and "acDefLegs". If you want the natural armor to stack in all four locations, you'll need the following lines of script:

Code:
herofield[acDefTorso].value += 1
herofield[acDefHead].value += 1
herofield[acDefArms].value += 1
herofield[acDefLegs].value += 1
The armor is processed at a timing of PreTraits/5000 to assign the proper defense ratings. The defense rating is used at PreTraits/6000 to determine the hero's Toughness adjustment. So the above lines of code will need to be executed between those two timings. If you schedule your Eval script for your race to occur at PreTraits/5500, you ought to be able to achieve the results you're seeking.
rob is offline   #4 Reply With Quote
Reply

Thread Tools
Display Modes

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 02:46 PM.


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