Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - Mutants & Masterminds

Notices

Reply
 
Thread Tools Display Modes
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 831

Old September 21st, 2017, 01:30 PM
I'm finding the fact these two don't display the bonuses from Close Attack and Ranged Attack is beginning to bug me, and am thinking of doing a houserule file with the editor to address it, but I'm not quite sure how to go about it. The individual skills don't actually seem to have a formulation in their own entries dealing with the calculation, but use a formulation elsewhere. Anyone able to enlighten me about how I'd go about this?
Paragon is offline   #1 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,030

Old September 21st, 2017, 02:54 PM
Part of it could be done by making a new copy of Close Attack and Ranged Attack and putting the following (different thingid for Ranged of course) into their Eval Script at the end:
Code:
foreach pick in hero from Skill where "thingid.skCloseCom"
  eachpick.field[Permanent].value += field[adRanks].value
  nexteach
The catch is that, as things currently stand, that adds the Advantage bonus twice. I'm still working that one out.
Duggan is offline   #2 Reply With Quote
Duggan
Senior Member
Volunteer Data File Contributor
 
Join Date: Nov 2009
Posts: 1,030

Old September 21st, 2017, 03:17 PM
Oof... I think you could do it just replacing 6 fields, but it would be messy because you'd basically have to add to Permanent in a copy of the Advantage, modify the AttackSki procedure to subtract out herofield[AClosePerm].value instead of field[skAttrBon].value, and then modify the Close Attack Skill to call the new procedure. Then, rinse and repeat with the Ranged side. I could write it up for you, but it would be brittle as all get out and I can't guarantee that it would work in all cases.

Side note, writing things up in the Authoring Kit does help with understanding how all of this comes together and also makes me amazed they haven't gone insane trying to implement these systems.
Duggan is offline   #3 Reply With Quote
Paragon
Senior Member
 
Join Date: Feb 2010
Posts: 831

Old September 22nd, 2017, 01:23 PM
Probably not worth it. But thanks for the answer.
Paragon is offline   #4 Reply With Quote
Reply

Thread Tools
Display Modes

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 03:28 AM.


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