I want to do something like in UL, adding the option to pick up some blocks (like storage boxes) using the radial menu (holding E). Can I do this with xml or I need something else?
I've tried using <passive_effect name="EntityDamage" operation="perc_set" value="@roll"/>, applied to the zombie, with @roll being 0 or 1. But this does nothing. I only see damage change with .xml files, but I don't want that. I want something like a blind debuff, with x% change for zombie...
In this case here, for a buff:
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" cvar="blockperc" operation="set" value="@ ? "/>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" cvar="blockperc" operation="divide" value="10"/>
<passive_effect...
I want a thorns/return damage type of mod, to use in armor slots. It should be like, every time a zombie hits me, they take X damage (the more mods you have slotted in your armor, more is the damage returned). I've tried to mess around with mods but I can only buff/nerf them, and not do my own...
I have a mod that requires some perks to craft, from some perk books that don't have name_key to them. The description of the unlock restriction becomes perkautoweaponsdamage. From my little research, I tried <setattribute xpath="/progression/perks/perk[@name='perkAutoWeaponsDamage']"...