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

Solved help with spell formulas tfs 1.3

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
921
Location
Chile
Hello guys, im trying to make some formulas to 3 different spells, one for paladins, one for knights and the other one for mages, so here is my formula por paladins:


Code:
function onGetFormulaValues(player, skill, maglevel)
    local level = player:getLevel()
    local min = ((skill*level*maglevel)/2050)
    local max = ((skill*level*maglevel)/1950)
    return -min, -max
end

the formula was working great, with the damage i was aiming for, but i notice skills or maglevel have so much importance there, like when i used utito tempo san the damage of this spell went way too high, could anyone help me balance a little this formula? let the level be the most important plz??

or maybe in this already made formula i have

Code:
local min = ((skill + 1734) / 1865) * 1565 + (level / 1534)
    local max = (skill + 1623) + (level / 1521 * 1834)

make the lvl more important so like from lvl 100 to lvl 200 you see a difference of 500 damage, this actually would be awesome plz



SOLVED it in private, @4drik helped me, this is the formula in case anyone needs it:

Code:
function onGetFormulaValues(player, skill)
    local level = player:getLevel()
    local min = 10+skill*3.0 + level*4.3
    local max = 20+skill*3.3 + level*4.6
    return -min, -max
end
 
Last edited:
Back
Top