Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
okaay, it simple, i'm making an assassin vocation and it use one hand swords with "dualwield" attr, and i want other vocations dont equip the second sword on shield slot, only assassin can
i know these steps, it doesnt work in moveevents like i want.
Ex:
<movevent type="Equip" itemid="KATANA" slot="shield" event="function" value="onEquipItem">
<vocation id="x"/>
with this method ONLY assassin will be capable to equip a katana and knight no, i want the other vocations equip katana too, understand?
I am having same issue you have, my idea to solve it is to edit the items.otb and make copies of the items and rename them so that only that voc can use it, so say throwing stars copied to make ninja throwing stars... anyways another way is to script it in .lua with movements
Try this... Try going to your movements/scripts folder and make dualweild.lua
Code:
function onEquip(cid, item, slot)
if if(getPlayerVocation(cid)) == 1 then
doItemSetAttribute(itemEx.uid, "dualwield", 1)
end
return true
end
function onDeEquip(cid, item, slot)
if if(getPlayerVocation(cid)) == 1 then
doItemSetAttribute(itemEx.uid, "dualwield", -1)
end
return true
end