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

Windows Weapons ATK Speed

blazzinn

New Member
Joined
Dec 24, 2012
Messages
68
Reaction score
1
ok so im trying to add atk speed to my weapons this is what i am using in the items.xml

<attribute key="attackspeed" value="xxx"/>

xxx is the number i use 500 would be 0.5 atk speed for example..

when i put this on the weapon it doesnt show atk speed when u look at item..

iv tried this with magic too and i got it to work and the magic one reads like this

<attribute key="magiclevelpoints" value="3" />

and it says 3+ m lvl when u look at item so does anyone know what i am doing wrong with the attackspeed?
 
I think you just got to add it manually to desciption...
attribute key="description" value="Attack speed ...." />
 
k ya i figured it out

do u know how to make a scroll usable for something and disapear after use?

for example.. i want a doll or scroll or some items of use to make skills or magic lvl or battlesign disapear so how would i script that? im trying to learn this scripting stuff but kinda hard
 
I suggest you to learn from other scripts and try to combine your own one.

Use this simple script and modify it to your own needs.
http://otland.net/f81/simple-exp-doll-full-tutorial-165771/

doRemoveItem(item.uid, 1) -- makes it disappear after use.
doPlayerAddExperience(cid, 50000) -- This line adds what ever you want your item to add (current one adds experience), with different distros there are diffeent commands. For magic lvl you can try like doPlayerAddMagLevel(cid, amount) depending on your server version.
 
ok so i tried several things this exp scroll works

------- ExpScroll Made By Godiskungen ---------
----------- OTLand Verision Only --------------

function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 6512 and getPlayerLevel(cid) < 200 then
doCreatureSay(cid, "Congratz! You have earned 500000 EXP!", TALKTYPE_ORANGE_1)
doPlayerAddExperience(cid, 50000)
doRemoveItem(item.uid, 1)
elseif item.itemid ==6512 and getPlayerLevel (cid) > 200 then
doCreatureSay(cid, "You are to high level to use it!", TALKTYPE_ORANGE_1)
end
return TRUE
end
but i need to know what to put here doPlayerAddExperience --<<< adds exp i need one to add skills or magic lvl
so it adds skills or magic level anyone know?
 
Back
Top