calaverinha
Refugee
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 missing the attack. My original logic was this:
Code:
<effect_group>
<triggered_effect trigger="onSelfBuffStart" action="ModifyCVar" cvar="roll" operation="set" value="1"/>
<requirement name="RandomRoll" seed_type="Random" min_max="0,100" operation="LTE" value="15"/>
<triggered_effect trigger="onSelfBuffUpdate" action="ModifyCVar" cvar="roll" operation="set" value="0"/>
</effect_group>
<effect_group>
<passive_effect name="EntityDamage" operation="perc_set" value="@roll"/>
</effect_group>
Last edited by a moderator: