Jump to content
24 votes
Guests cannot vote
Completed

Formulas in RegularSkillCalc for basic skills

  • Views: 20
  • 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

10 hours ago, InvadersOfDark said:

Maybe go one step further and add all regular skills

If I'm not mistaken, the only ones that don't have formulas in RegularSkillCalc.lua are Dark Wizard's basic skills.

Link to comment
Share on other sites

Quote

If I'm not mistaken, the only ones that don't have formulas in RegularSkillCalc.lua are Dark Wizard's basic skills.

For example, I can't find the summoner skills. There is a curse debuff but no skill damage

Edited by InvadersOfDark
Link to comment
Share on other sites

×
×
  • 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.