24 votes
Completed
It would be excellent to have basic skills formulas in RegularSkillCalc.lua like Energy Ball, Fire Ball, Power Wave, Twister, and so on.
Modifying parameters in SkillList is not as simple as changing formulas in lua file.
Example:
-- SkillID: 8, Twister
function TwisterCalc(Class, InDamage, Strength, Dexterity, Vitality, Energy)
local OutDamage = 0
if (Class == CLASS_WIZARD) then
OutDamage = InDamage * 1.0
elseif (Class == CLASS_GLADIATOR) then
OutDamage = InDamage * 1.0
elseif (Class == CLASS_RUNEWIZARD) then
OutDamage = InDamage * 1.0
elseif (Class == CLASS_LIGHTWIZARD) then
OutDamage = InDamage * 1.0
elseif (Class == CLASS_LEMURIAMAGE) then
OutDamage = InDamage * 1.0
end
return OutDamage
end
Edited by Arkaniz
Recommended Comments