• 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!

doItemSetAttribute

alvo

New Member
Joined
Oct 20, 2009
Messages
45
Reaction score
0
the function with attack works and with ml dont :S

function doSetItemRefATK(uid, value)
return doItemSetAttribute(uid,"attack",value)
end


ml >

function doSetItemRefML(uid, value)
return doItemSetAttribute(uid,"magiclevelpoints",value)
end

what can i do? the attribute magiclevelpoints and skills are bug
 
use movements

<movevent type="Equip" itemid="THEITEMIDUWANTTOUSE" slot="ARMOR/HEAD/BODY ETC." event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="2"/>
<vocation id="6" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="ITEMIDHERE" slot="BODY ETC." event="function" value="onDeEquipItem"/>

just edit that lines and add it to your movements.xml
 
not one of your options is good for me... i'm creating a item with an talkaction , and the item will be create with the skills ...
 
dude i have um talkaction .. /create itemid,count,refskill

so this item that i am going to create does not exist in items.xml , it's a separated item ..
 
Back
Top