• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Request] Reflect Damage !

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:
<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>
in items.xml it reflects 10% of the damage.

or... exemple:
doReflectDamage(cid, to attacker, percentage)

if they will be able to help I am been thankful!
 
Back
Top