Survager
Tester
Hi everyone.
Tell me, is it possible to somehow reduce the DegradationMax value of an item after repair in XML?
I tried to do this, but nothing came out
Tell me, is it possible to somehow reduce the DegradationMax value of an item after repair in XML?
I tried to do this, but nothing came out
Code:
<append xpath="/items/item[@name='gunHandgunT1Pistol']/effect_group[@name='gunHandgunT1Pistol']">
<triggered_effect trigger="onSelfItemRepaired" action="ModifyCVar" cvar="DegradationMax" operation="add" value="-1"/>
</append>
Last edited by a moderator: