Buggi
New member
I am trying to buff the players speed when on asphalt, I have the following code:
The stamina stat buff works fine, the speed modifier shows up, but in game has no effect. (btw, its 250% to try and test.)
The vanilla examples show <1 values for this, so a broken leg is 0.6 and works, but values >1 don't seem to have any effect.
Code:
<buff id="asphaltStaBoostTrigger" duration="1" actions="setvar(CTRroadrun, 10)" />
<buff id="asphaltStaminaEffect" duration="0" buffif="CTRroadrun greater 0" debuffif="CTRroadrun less 1" actions="increment(CTRroadrun, -1, 1, 0, 0)" type="speedmodifier"
name_key="Meep Meep!" description_key="Run Faster and Longer on pavement." tooltip_key="Speed Booster" icon="ui_game_symbol_run" >
<modify id="0" stat="speedmodifier" mulValue="2.5"/>
<modify id="1" stat="stamina" amount="1" rate="2" />
</buff>
The vanilla examples show <1 values for this, so a broken leg is 0.6 and works, but values >1 don't seem to have any effect.