Sherlok
Active Member
Hiho.
How can I do 'exori gran' spell for all skills? I mean sword, axe, club, fist.
I've this spell, but it's only for SKILL_SWORD
How can I do 'exori gran' spell for all skills? I mean sword, axe, club, fist.
I've this spell, but it's only for SKILL_SWORD
Code:
function onGetFormulaValues(cid, level, skill, attack, factor)
local min = getPlayerSkillLevel(cid, SKILL_SWORD) * 10
local max = getPlayerSkillLevel(cid, SKILL_SWORD) * 10
if(level < 500)then
min = min / 2
max = max / 2
end
return -min, -max
end