Lifer420
Advanced OT User
- Joined
- Jul 27, 2009
- Messages
- 1,490
- Reaction score
- 196
Hey, I want my donor wand to hit around 60-110 PvP, and around 80-140 PvM, how can I do this because everytime I edit the script, the damage doesn't change, even after restarting the OT. The weapons.xml damage seems to work for Pvp, but not PvM. Using tfs 0.4 dev 3884
Weapons.xml
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLHOLY)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -80, 0, -220)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
Weapons.xml
Code:
<wand id="12327" level="5" mana="10" min="60" max="110" type="holy" event="script" value="vip_wand.lua"> <!-- icefang wand -->
<vocation id="1"/><vocation id="2"/><vocation id="5"/><vocation id="6"/>
</wand>