Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Mutants & Masterminds (http://forums.wolflair.com/forumdisplay.php?f=48)
-   -   (M&M 3e) Close Combat and Ranged Combat Skill (http://forums.wolflair.com/showthread.php?t=59212)

Paragon September 21st, 2017 12:30 PM

Close Combat and Ranged Combat Skill
 
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?

Duggan September 21st, 2017 01: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 September 21st, 2017 02: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.

Paragon September 22nd, 2017 12:23 PM

Probably not worth it. But thanks for the answer.


All times are GMT -8. The time now is 12:03 PM.

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