Jump to content
17 votes
Guests cannot vote

Formulas in RegularSkillCalc for basic skills

  • Views: 0
  • Submitted:

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

User Feedback

Recommended Comments

×
×
  • Create New...

Important Information


We use technologies, such as cookies, to customize content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy.