Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32031

[Weapon] Weapon with healing (healing % of weapon damage)

$
0
0
The idea is based on lifesteal weapons. It heals % of the average damage that people will hit with a certain level, skills and attack of the weapon.
Tested with TFS 0.3.6pl1 8.54

Attack damage weapons

Weapons.xml
XML:
<melee id="XXXX" level="20" unproperly="1" event="script" value="weapon.lua"/>
Weapon.lua
Lua:
     local combat = createCombatObject()
    setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
    setCombatParam(combat...
[Weapon] Weapon with healing (healing % of weapon damage)

Viewing all articles
Browse latest Browse all 32031

Trending Articles