Lone Wolf Development Forums  

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

Notices

Reply
 
Thread Tools Display Modes
telriche
Junior Member
 
Join Date: Apr 2014
Posts: 3

Old April 4th, 2014, 07:08 PM
I'm trying to set up a custom campaign with its own stress tracks, which I'm able to do. However, I cant figure out how to set skills to alter the total stress track. Is there an example of some kind I can work from?
telriche is offline   #1 Reply With Quote
Hollis
Senior Member
Lone Wolf Staff
 
Join Date: Aug 2012
Posts: 779

Old April 7th, 2014, 08:45 AM
The Physique and Will skills modify the Physical and Mental stress tracks respectively.

Here's the code from the Physique skill.

Final/5000:

Code:
if (field[sklRoll].value >= 5) then
  hero.childfound[strMental].field[strMax].value += 2
   herofield[acMildCons].value += 1
elseif (field[sklRoll].value >= 3) then
  hero.childfound[strMental].field[strMax].value += 2
elseif (field[sklRoll].value >= 1) then
  hero.childfound[strMental].field[strMax].value += 1
  endif
Note that on the high end, this also adds an additional mild consequence. You may want to delete this if you don't want to add another consequence from this skill.
Hollis is offline   #2 Reply With Quote
telriche
Junior Member
 
Join Date: Apr 2014
Posts: 3

Old April 11th, 2014, 05:23 AM
Awesome. Thats just what I needed. Thanks.
telriche 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 07:37 PM.


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