Na Amigo
The crazy girl
i have converted a weapons from 8.1 to 8.6 but if i use any wand it just kills beside the monster
here is some wand from weapons.xml
and here is the lua script kings wand.lua :-
and here is the item
and the vedio to explain more
here is some wand from weapons.xml
Code:
<wand id="7429" level="500" mana="0" min="0" max="0" type="holy" event="script" value="Kings Wand.lua"> <!-- New Wand -->
<vocation id="1"/><vocation id="2"/><vocation id="5"/><vocation id="6"/><vocation id="9"/><vocation id="10"/><vocation id="13"/><vocation id="14"/><vocation id="17"/><vocation id="18"/><vocation id="21"/><vocation id="22"/><vocation id="25"/><vocation id="27"/></wand>
</wand>
Code:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, 1)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, 10)
setCombatParam(combat, COMBAT_PARAM_EFFECT, 38)
setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, -10000, 0, -25000)
function onUseWeapon(cid, var)
return doCombat(cid, combat, var)
end
Code:
<item id="7429" article="a" name="Kings Staff">
<attribute key="weight" value="3900" />
<attribute key="description" value="It can only be wielded properly by sorcerers and druids of level 500 or higher." />
<attribute key="defense" value="30" />
<attribute key="weaponType" value="Wand" />
<attribute key="extradef" value="3" />
</item>
and the vedio to explain more