this is designed to calculate the damage of the skills to champions, although the calculations work for minions too
Function :
getdmg("SKILL",target)
Full Function :
getdmg("SKILL",target,Source,stagedmg,spelllvl)
Usage :
require "DamageLib" local target = GetCurrentTarget() local damage = getdmg("Q",target,myHero,3)
These Function will Return the Damage Value Ex : 250
Skills:
"Q" "W" "E" "R" "QM" - Q in melee form (Jayce, Nidalee and Elise only) "WM" - W in melee form (Jayce, Nidalee and Elise only) "EM" - E in melee form (Jayce, Nidalee and Elise only)
Spelllvl :
Use spelllvl only if you want to specify the level of skill
Download :https://raw.githubus...n/DamageLib.lua