Add new code snippets

This commit is contained in:
2024-03-03 13:50:12 +01:00
commit 01b612a50b
409 changed files with 65292 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
function()
local versa = GetCombatRatingBonus(CR_VERSATILITY_DAMAGE_DONE)
local rawversa = GetCombatRating(29)
local concversa = select(17, UnitBuff("player", "Concordance of the Legionfall")) or 0
local oldversa = rawversa - concversa
local versapp = versa / rawversa
local pergranted = concversa * versapp
return string.format("+%.2f", pergranted)
end