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

Attack Speed weapon

Mr Erimyth

Member
Joined
Apr 8, 2009
Messages
163
Reaction score
11
Location
Brazil
Hell0o bros anyone can help me? i need use this script on tfs 1.3

function onUse (cid, item, fromPosition, itemEx, toPosition)
if isInArray({2433,7438,2390,2400,2408,2446}, itemEx.itemid) then
doItemSetAttribute(itemEx.uid, "name", "brutal " .. target:getName())
doItemSetAttribute(itemEx.uid, "description", "Special abilities: 2.5 attack speed. \nIt belongs to " .. player:getName() .. ".")
doItemSetAttribute(itemEx.uid, "attackspeed", 500)
doSendMagicEffect(toPosition,30)
doRemoveItem(item.uid)
else
doPlayerSendCancel(cid, "Sorry, not possible.")
end
return true
end
 
after 1.x there is no attack speed attribute.

The only way to add attack speed is on vocations or through source editing.
 
after 1.x there is no attack speed attribute.

The only way to add attack speed is on vocations or through source editing.
Actually you can emulate attack speed with a weapon by adding additional attacks using the initial attack.
 
Back
Top