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

[TFS 1.1] Skill stages

Status
Not open for further replies.

Peonso

Godly Member
Joined
Jan 14, 2008
Messages
1,761
Solutions
30
Reaction score
1,554
Gesior developed this script for 0.2 and 0.3 versions, at 1.0 doPlayerSetRate was deprecated, and it does not work.

As of past november event Player: onGainSkillTries was added and according to dalkon something can be done now.

So, that is what I need, a skills stage system, would be good to have a file where I can set the skill stage for each skill for each vocation.

(Bountysource)
 
You are requesting script. This is support forum.

full = 200%
half = 150%
normal = 100%

if player:getLevel() > 5 then
return tries*full/100
if plauer:getLevel() > 10 then
return tries*half/100
if player:getLevel() > 20 then
return tries*normal/100
end

This is simple level based skilltries, should work, not 100% sure does logic work xD, just wrote something in 2 mins.
If you want to be specific with skill then you have to compare the skill level. Nothing too hard. same thing since onGainSkillTries already gives skill parameter.

Full dynamical script would take like ~few hours to make. That's why it should be in request.
 
Status
Not open for further replies.
Back
Top