Junior Member
Join Date: Nov 2007
Posts: 1
|
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? |
#1 |
Senior Member
Lone Wolf Staff
Join Date: Dec 2008
Posts: 4,690
|
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 |
#2 |
|
|