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
frostryder
Junior Member
 
Join Date: Nov 2007
Posts: 1

Old November 12th, 2007, 01:17 PM
So, in my campaign, I've merged hide and move silently as skills.

I know I could make a new skill (called Sneak, for example), and do a search/replace on all the data files to replace any instance of hide or move silently with that, but that wouldn't survive data file updates.

Any ideas?
frostryder is offline   #1 Reply With Quote
Colen
Senior Member
Lone Wolf Staff
 
Join Date: Dec 2008
Posts: 4,690

Old November 13th, 2007, 04:29 PM
frostryder wrote:
>
>
> So, in my campaign, I've merged hide and move silently as skills.
>
> I know I could make a new skill (called Sneak, for example), and do a
> search/replace on all the data files to replace any instance of hide or
> move silently with that, but that wouldn't survive data file updates.
>
> Any ideas?


I assume you want your "Sneak" skill to get all bonuses that would have
been applied to Hide and Move Silently?


You can do this by getting the total bonuses for those skills and then
adding them to the Sneak skill. In a script on the Sneak skill, you'd
need to do something like:


~ Get our total Hide skill bonus, NOT including our attribute bonus
var hidebonus as number
hidebonus = hero.child[kHide].field[kModValue].value -
hero.child[kHide].field[kAttrValue].value

~ Get our total Move Silently skill bonus, NOT including our
~ attribute bonus
var movebonus as number
movebonus = hero.child[kMoveSil].field[kModValue].value -
hero.child[kMoveSil].field[kAttrValue].value

~ Add our hide and move silently bonuses to this skill's bonus
field[kModValue].value += hidebonus + movebonus


I think you'd need to do this at a phase and priority of PostAttr /
10001 for this to work properly.


Hope this helps,

--
Colen McAlister, colen@wolflair.com
Chief Engineer, Lone Wolf Development
Colen is offline   #2 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 06:43 PM.


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