i want to add absorb percent dead in addon bonus system in outfits.xml but i dont know what function use to fix it
i think that it will work only for full addon , but i want to absorb 5% of death dmg if player has only first addon, and maybe 10% when he has second addon :|
so can anyone help me? i think thats impossible to do it in lua
PHP:
<outfit id="1">
<list gender="0" lookType="136" name="Citizen">
<stats maxHealth="50"/>
<stats precentDeath="50"/>
</list>
<list gender="1" lookType="128" name="Citizen">
<stats maxHealth="50"/>
<stats precentDeath="50"/>
</list>
i think that it will work only for full addon , but i want to absorb 5% of death dmg if player has only first addon, and maybe 10% when he has second addon :|
so can anyone help me? i think thats impossible to do it in lua