igorbr
New Member
- Joined
- Jan 9, 2008
- Messages
- 34
- Reaction score
- 0
hello guys! I am needing a code for my TFS 0.2.10 ... this codigo must reflect a percentage of the attack suffered for a player...
exemple:
or... exemple:
doReflectDamage(cid, to attacker, percentage)
if they will be able to help I am been thankful!
exemple:
in items.xml it reflects 10% of the damage.<item id="2663" article="a" name="mystic turban">
<attribute key="description" value="Something is strange about this turban."/>
<attribute key="weight" value="850"/>
<attribute key="armor" value="1"/>
<attribute key="reflectDamage" value="10"/>
<attribute key="slotType" value="head"/>
</item>
or... exemple:
doReflectDamage(cid, to attacker, percentage)
if they will be able to help I am been thankful!