Thorn
Spriting since 2013
Hey, first of all my server is otx 2.52, and version 9.83,
well i want two of my wand to attack faster than the regular ones, but i see nowhere to edit that
here is the xml and the lua
lua:
plz guys help me here
well i want two of my wand to attack faster than the regular ones, but i see nowhere to edit that
here is the xml and the lua
Code:
<wand id="21253" level="8" range="8" mana="10" enabled="1" swing="yes" script="Prestiged druid rod.lua">
<vocation id="1"/>
<vocation id="2"/>
</wand>
lua:
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT,50)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 31)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1.0, -350, -1.0, -450)
local area = createCombatArea({
{0, 0, 0},
{0, 3, 0},
{0, 0, 0}
})
setCombatArea(combat, area)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
plz guys help me here
