Ah- I didn’t know you were using GAS.
In that case, that’s already built in via duration magnitude.
You’ll want to change MagnitudeCalculationType and AttributeToCapture. You may also need to adjust the coefficient, pre/post multiply additive value, and the AttributeCalculationType to get your desired effect.
