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

AttackSpeed Upgrader

wesoly136

Member
Joined
Jul 30, 2009
Messages
562
Reaction score
9
Hi! I made an Attackspeed upgrader. The problem is that I have in vocations.xml attackspeed = 250, and when I set in this upgrader lines responsible for speed change to 125(50,1,0.00001) there is no difference(The speed is the same as in vocs.xml - 250 :/). But when I change it to for example 5000(20000,9999999) there is a change.
2000 = RL Tibia speed
250 = My OT speed
and my upgrader can't go under the 250 :(
Waiting for help :D
thanks
 
Sux :/
I have to change this speedupgrader to something else...

EDIT
Oh I know! Is it possible that rune can make sword to hit two hits instead of one? Fore example
My sword hits with holydmg per 250dmg:

holy
250ms
holy
250ms
...
I want that rune to make weapon two-hit
holy
fire
250ms
holy
fire
250ms...
Is that possible?
 
LUA:
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.8, 2.1, 1.9, 2)

function onUseWeapon(cid, var)
	return doCombat(cid, combat, var)
end

(Range:2)
 
And... What will you say now ? :/ Maybe something like this in weapon script
"if getitemspecialdescription(siup.uid, tralalala) then doCambat and doCombat"
And the upgrader will add this special description ?! :D

EDIT
Solved :)
 
Last edited:

Similar threads

Back
Top