• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

How to implement a house rule

frostryder

New member
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 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
 
Back
Top