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
terrestrialboy
Member
 
Join Date: Aug 2007
Location: Overland Park, KS
Posts: 30
Send a message via Skype™ to terrestrialboy

Old August 28th, 2007, 12:42 PM
I'm trying to integrate Arcana Evolved into HL.

My first step is to try and add a class. I chose the Warmain, and the Warmain gets the Sturdy feat from the AE book. The Sturdy feat gives that character double their Constitution modifier to their hitpoints instead of just their Con modifier for that level only. How would one program this into the Feat so it does this automatically?

I'm having a hard time wrapping my head around the system right now ...

Ethan Parker
terrestrialboy is offline   #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old August 28th, 2007, 03:55 PM
terrestrialboy wrote:
>
>
> I'm trying to integrate Arcana Evolved into HL.
>
> My first step is to try and add a class. I chose the Warmain, and the
> Warmain gets the Sturdy feat from the AE book. The Sturdy feat gives
> that character double their Constitution modifier to their hitpoints
> instead of just their Con modifier for that level only. How would one
> program this into the Feat so it does this automatically?


So in effect, the Sturdy feat gives you bonus hit points equal to your
Consitution modifier?


You should be able to do this in an eval script like so:



~ Calculate the bonus hit points to add - this is equal
~ to our constitution modifier
var bonus as number
bonus = hero.child[aCON].field[aModBonus].value

~ Add the bonus hit points to our total
hero.child[Totals].field[tHP].value += bonus



The script should run in the PostAttr phase, to ensure that the final
constitution score is available before it runs.

Hope this helps,

--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #2 Reply With Quote
rob
Senior Member
Lone Wolf Staff
 
Join Date: May 2005
Posts: 8,232

Old August 28th, 2007, 04:53 PM
At 01:42 PM 8/28/2007, you wrote:
Quote:
My first step is to try and add a class.

I'm having a hard time wrapping my head around the system right now .....
Starting out with adding a class is like jumping into the deep end of the pool to try and learn how to swim. It's doable, but it's certainly not the easiest path. :-)

I recommend starting out with a variety of simpler things first. This will get you familiar with a bunch of the HL mechanisms, while still staying in the "shallow end of the pool". Once you get comfortable with adding material in general, then you'll be able to much more easily add a class. This will keep the learning curve much more constrained at each step along the way. You probably have a bunch of non-class material you want to add, along with the classes, so you can make life easier for yourself while still making steady headway towards getting all the material you want into place.

Hope this proves helpful....
rob is offline   #3 Reply With Quote
terrestrialboy
Member
 
Join Date: Aug 2007
Location: Overland Park, KS
Posts: 30
Send a message via Skype™ to terrestrialboy

Old August 29th, 2007, 11:04 AM
So ... I would need to create the feat, as usual, and make an Eval Script with the contents ...

~ Calculate the bonus hit points to add - this is equal
~ to our constitution modifier
var bonus as number
bonus = hero.child[aCON].field[aModBonus].value

~ Add the bonus hit points to our total
hero.child[Totals].field[tHP].value += bonus

And use the phase PostAttr.

Can I just copy and paste this stuff into the program?

Ethan

Ethan Parker
http://gamershavenpodcast.com
http://attackofthe.com
terrestrialboy is offline   #4 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old August 30th, 2007, 03:56 PM
terrestrialboy wrote:
>
>
> So ... I would need to create the feat, as usual, and make an Eval
> Script with the contents ...
>
> ~ Calculate the bonus hit points to add - this is equal
> ~ to our constitution modifier
> var bonus as number
> bonus = hero.child[aCON].field[aModBonus].value
>
> ~ Add the bonus hit points to our total
> hero.child[Totals].field[tHP].value += bonus
>
> And use the phase PostAttr.
>
> Can I just copy and paste this stuff into the program?


Exactly. When you're looking at the feat in the editor, click the "Eval
Scripts" button, and add a new script. Change the phase to "PostAttr"
and the priority to "10000", then just paste in the script and hit ok.
When you save and test the new feat, the script should run.


--
Colen McAlister (colen@wolflair.com)
Chief Engineer, Lone Wolf Development
http://www.wolflair.com/
Colen is offline   #5 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 08: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.