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

Need Fast attack spell!

Thaman

New Member
Joined
Aug 16, 2007
Messages
66
Reaction score
1
Hello!

I will need a spell for knights that will make you hit faster on the targets for like 30-60 sec
Is this possible? Like when you are in 120 you will have the spell for 30 sec and in 150- 40 sec 200- 60 sec
Rep++ if you help me

im using 0.3.5 TFS


Thaman
 
Last edited:
I'm afraid you can't change the attack speed this way, but you can increase player's melee skills:
Code:
local spl = 4 -- seconds per level
local levels = 500 -- how many levels should we create conditions for?

local conditions = {}
for i = 1, levels do
	table.insert(conditions, createConditionObject(CONDITION_ATTRIBUTES))
	setConditionParam(conditions[i], CONDITION_PARAM_TICKS, i * spl)
	setConditionParam(conditions[i], CONDITION_PARAM_SKILL_MELEEPERCENT, 150)
	setConditionParam(conditions[i], CONDITION_PARAM_BUFF_SPELL, true)
end

function onCastSpell(cid, var)
	doAddCondition(cid, conditions[getPlayerLevel(cid)])
	return true
end
 
It can be made by adding vocation copies with faster base attack and changing vocation of char for some time, I saw somewhere script for it but I cannot make it by myself
 
Back
Top