'n_curado' 'n_dmg' 'c_curado' and 'c_dmg' renamed to 'n_total' and 'c_total'

This commit is contained in:
Tercio Jose
2023-04-10 14:34:16 -03:00
parent 50d848e1d1
commit 4ab2f1241d
12 changed files with 382 additions and 151 deletions
+4 -4
View File
@@ -964,11 +964,11 @@ function Details.UnitDamageSpellInfo (unitId, spellId, isLiteral, segment)
spellInfo.regularMin = spellObject.n_min
spellInfo.regularMax = spellObject.n_max
spellInfo.regularHits = spellObject.n_amt
spellInfo.regularDamage = spellObject.n_dmg
spellInfo.regularDamage = spellObject.n_total
spellInfo.criticalMin = spellObject.c_min
spellInfo.criticalMax = spellObject.c_max
spellInfo.criticalHits = spellObject.c_amt
spellInfo.criticalDamage = spellObject.c_dmg
spellInfo.criticalDamage = spellObject.c_total
end
return spellInfo
@@ -1695,11 +1695,11 @@ function Details.UnitHealingSpellInfo (unitId, spellId, isLiteral, segment)
spellInfo.regularMin = spellObject.n_min
spellInfo.regularMax = spellObject.n_max
spellInfo.regularHits = spellObject.n_amt
spellInfo.regularHealing = spellObject.n_dmg
spellInfo.regularHealing = spellObject.n_total
spellInfo.criticalMin = spellObject.c_min
spellInfo.criticalMax = spellObject.c_max
spellInfo.criticalHits = spellObject.c_amt
spellInfo.criticalHealing = spellObject.c_dmg
spellInfo.criticalHealing = spellObject.c_total
end
return spellInfo
+2 -2
View File
@@ -132,9 +132,9 @@ local spellTable_FieldsToSum = {
["c_amt"] = true,
["c_min"] = true,
["c_max"] = true,
["c_dmg"] = true,
["c_total"] = true,
["n_amt"] = true,
["n_dmg"] = true,
["n_total"] = true,
["n_min"] = true,
["n_max"] = true,
["successful_casted"] = true,