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) Defensive Roll not turning off (http://forums.wolflair.com/showthread.php?t=67397)

Eilserves October 3rd, 2022 09:53 AM

Defensive Roll not turning off
 
1 Attachment(s)
I've searched the threads and I see posts about the older, now fixed, bug of Defensive Roll and Vulnerable/Defenseless status, but this is a different issue.

When using Defensive Roll in any power as a tacked on advantage, or under a Variable power-set, or as an "Enhanced Trait" advantage, even with the power turned off, and even though Defensive Roll does _not_ show up under the actual Advantages tab, the bonus is still applying to Toughness.

Example attached.

"Invocation of the Eagle" contains Defensive Roll 2, but the bonus stays active even when this power-set is not active, and even with the actual parent "Variable" power isn't active.

Duggan October 4th, 2022 10:40 AM

1 Attachment(s)
In my view, that's a legit bug. There's a link at the top to report bugs, although we don't have a great track record of getting updates. If you want to fix it yourself, add this to the Eval Script early on.

Quote:

~ If we're not active, get out
doneif (activated = 0)
This text is cribbed from the Protection power's script and it works on my machine. I've attached a .user file with the fix (it replaces the current Defensive Roll).

Eilserves October 4th, 2022 07:43 PM

I did raise a bug report after I posted this (couldn't remember the link at the time I posted) but will use this work around for now.

I had tried a similar approach with an override, but I must have had the wrong code because while it never threw a compile error, it didn't work.

There are a lot of other advantages that seem to "linger" as well, but I'll toss the doneif into overrides for them on a case-by-case basis for now.
Thanks Duggan!

Eilserves October 4th, 2022 08:04 PM

Apparently Speed likes to linger also, and the character had a "base movement speed" of 64000 mph due to the different forms having speed ranks. Fixed with a carefully placed doneif as well as a relocated
Code:

hero.child[Movement].field[Value].value += field[pwRanks].value
to a bit lower in the script.

Duggan October 5th, 2022 04:28 AM

{nods} And there's probably an argument for "list all of the Advantages a player could have so that it's not missing on the character sheet". I know there's another bug,I think involving Deflect, where you can't even turn it off.


All times are GMT -8. The time now is 11:40 PM.

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