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) Modifying the Grab attack (http://forums.wolflair.com/showthread.php?t=38694)

leokhorn February 22nd, 2013 08:09 AM

Modifying the Grab attack
 
Is it possible? It seems the Elongation power does not add anything to the DC for example, so I have the feeling these variables are not accessible?

For reference, I wanted to make a "Limited to Grabbing" flaw for Enhanced Ability Strength.

Duggan February 22nd, 2013 09:56 AM

Quote:

Originally Posted by leokhorn (Post 134388)
Is it possible? It seems the Elongation power does not add anything to the DC for example, so I have the feeling these variables are not accessible?

For reference, I wanted to make a "Limited to Grabbing" flaw for Enhanced Ability Strength.

I am away from my copy of Hero Lab, but my impulse would be to suggest right-clicking the displayed DC and seeing if you can bring up any debug fields.

Duggan February 22nd, 2013 04:29 PM

Just to follow up, I right-clicked on the Grab entry in the Specials column and found that its ID is wpGrab (it's actually listed as one of the weapons) and the DC is under its atkDC field. I'm going to fiddle with it a bit to see if I can put together a power to add to it.

leokhorn February 23rd, 2013 07:15 AM

Oh, hey, look at that, debug options showing off a lot of things! Now we're talking :D... yeah, can you tell I'm *just* starting on this?

Thanks for the tip. With the actual variables shown, I have the feeling I'll be able to do something with it.


EDIT:

I managed to get things working with an alternate way, using an Advantage instead. I based it off Throwing Mastery for the timing, and used this Eval Script:
Code:

      ~ If we're not active, get out
      doneif (activated = 0)

      hero.child[wpGrab].field[atkDC].value += field[adRanks].value

Easier for me in the end since the grabbing bonus might come from Strength or Dexterity if Grabbing Finesse is also selected.

That said, mysteriously, copying the Limited to Lifting flaw as is does not reproduce its behavior. It still adds the Strength as if there was no limitation. Is the flaw dealt with as a special case?

Duggan November 3rd, 2020 12:51 PM

Quote:

Originally Posted by leokhorn (Post 134650)
That said, mysteriously, copying the Limited to Lifting flaw as is does not reproduce its behavior. It still adds the Strength as if there was no limitation. Is the flaw dealt with as a special case?

Very belated, yes, this is something baked in.

Quote:

~ Apply our bonus to the chosen attribute - if we're limited to lifting,
~ apply any limit from that
var v_mod as number
v_mod = bonus
if (gizmo.pickcount[pfEnhLimLf] <> 0) then
v_mod -= gizmo.child[pfEnhLimLf].field[pwmRankUsr].value
v_mod = maximum(v_mod, 0)
endif
call ApplyPwEff
I'm not 100% which script this is (it was found by trolling the data.hlz file) and if it's able to be overridden.

MPHopcroft December 4th, 2020 02:49 PM

Stock to Independent Portfolios
 
Wrong topic.


All times are GMT -8. The time now is 02:58 PM.

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