Skip to content

Commit

Permalink
Unify handling of basic stats in breakdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
raethkcj committed Dec 1, 2024
1 parent 834d562 commit 9d59941
Show file tree
Hide file tree
Showing 12 changed files with 185 additions and 200 deletions.
359 changes: 172 additions & 187 deletions RatingBuster.lua

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion libs/StatLogic/StatLogic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ addon.StatModValidators = {
weaponSubclass = select(7, C_Item.GetItemInfoInstant(weapon))
end
end
return weaponSubclass and case.weaponSubclassSubclass[weaponSubclass] or false
return weaponSubclass and case.weaponSubclass[weaponSubclass] or false
end,
events = {
["UNIT_INVENTORY_CHANGED"] = "player",
Expand Down
2 changes: 1 addition & 1 deletion locales/deDE.lua
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ L[StatLogic.Stats.SpellHasteRating] = "Zaubertempowertung"

-- Tank Stats
L[StatLogic.Stats.Armor] = "Rüstung"
S[StatLogic.Stats.Armor] = "Rüstung"
L[StatLogic.Stats.BonusArmor] = "Rüstung"

L[StatLogic.Stats.Avoidance] = "Vermeidung"
L[StatLogic.Stats.Dodge] = "Ausweichchance"
Expand Down
2 changes: 1 addition & 1 deletion locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ L[StatLogic.Stats.SpellHasteRating] = PLAYERSTAT_SPELL_COMBAT.." "..STAT_HASTE..

-- Tank Stats
L[StatLogic.Stats.Armor] = ARMOR
S[StatLogic.Stats.Armor] = "Armor"
L[StatLogic.Stats.BonusArmor] = ARMOR

L[StatLogic.Stats.Avoidance] = STAT_AVOIDANCE
L[StatLogic.Stats.Dodge] = DODGE
Expand Down
2 changes: 1 addition & 1 deletion locales/esES.lua
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ L[StatLogic.Stats.SpellHasteRating] = "Índice Velocidad Hech."

-- Tank Stats
L[StatLogic.Stats.Armor] = "Armadura"
S[StatLogic.Stats.Armor] = "Armadura"
L[StatLogic.Stats.BonusArmor] = "Armadura"

L[StatLogic.Stats.Avoidance] = "Elusion"
L[StatLogic.Stats.Dodge] = "Prob. Esquivar"
Expand Down
2 changes: 1 addition & 1 deletion locales/esMX.lua
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ L[StatLogic.Stats.SpellHasteRating] = "Índice Velocidad Hech."

-- Tank Stats
L[StatLogic.Stats.Armor] = "Armadura"
S[StatLogic.Stats.Armor] = "Armadura"
L[StatLogic.Stats.BonusArmor] = "Armadura"

L[StatLogic.Stats.Avoidance] = "Elusion"
L[StatLogic.Stats.Dodge] = "Prob. Esquivar"
Expand Down
2 changes: 1 addition & 1 deletion locales/frFR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ L[StatLogic.Stats.SpellHasteRating] = "Score de hâte des sorts"

-- Tank Stats
L[StatLogic.Stats.Armor] = "Armure"
S[StatLogic.Stats.Armor] = "armure"
L[StatLogic.Stats.BonusArmor] = "Armure"

L[StatLogic.Stats.Avoidance] = "Évitement"
L[StatLogic.Stats.Dodge] = "Esquive"
Expand Down
4 changes: 2 additions & 2 deletions locales/itIT.lua
Original file line number Diff line number Diff line change
Expand Up @@ -488,8 +488,8 @@ L[StatLogic.Stats.SpellHaste] = PLAYERSTAT_SPELL_COMBAT.." "..STAT_HASTE
L[StatLogic.Stats.SpellHasteRating] = PLAYERSTAT_SPELL_COMBAT.." "..STAT_HASTE.." "..RATING

-- Tank Stats
L[StatLogic.Stats.Armor] = ARMOR
S[StatLogic.Stats.Armor] = "Armor"
L[StatLogic.Stats.Armor] = "Armor"
L[StatLogic.Stats.BonusArmor] = "Armor"

L[StatLogic.Stats.Avoidance] = STAT_AVOIDANCE
L[StatLogic.Stats.Dodge] = DODGE
Expand Down
2 changes: 1 addition & 1 deletion locales/koKR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ L[StatLogic.Stats.SpellHasteRating] = "주문 가속도"

-- Tank Stats
L[StatLogic.Stats.Armor] = "방어도"
S[StatLogic.Stats.Armor] = "방어도"
L[StatLogic.Stats.BonusArmor] = "방어도"

L[StatLogic.Stats.Avoidance] = "회피량"
L[StatLogic.Stats.Dodge] = "회피율"
Expand Down
4 changes: 2 additions & 2 deletions locales/ptBR.lua
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,8 @@ L[StatLogic.Stats.SpellHaste] = PLAYERSTAT_SPELL_COMBAT.." "..STAT_HASTE
L[StatLogic.Stats.SpellHasteRating] = PLAYERSTAT_SPELL_COMBAT.." "..STAT_HASTE.." "..RATING

-- Tank Stats
L[StatLogic.Stats.Armor] = ARMOR
S[StatLogic.Stats.Armor] = "Armor"
L[StatLogic.Stats.Armor] = "Armor"
L[StatLogic.Stats.BonusArmor] = "Armor"

L[StatLogic.Stats.Avoidance] = STAT_AVOIDANCE
L[StatLogic.Stats.Dodge] = DODGE
Expand Down
2 changes: 1 addition & 1 deletion locales/ruRU.lua
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ L[StatLogic.Stats.SpellHasteRating] = "Рейтинг скорости закл

-- Tank Stats
L[StatLogic.Stats.Armor] = "Броня"
S[StatLogic.Stats.Armor] = "к броне"
L[StatLogic.Stats.BonusArmor] = "Броня"

L[StatLogic.Stats.Avoidance] = "уклонения от удара"
L[StatLogic.Stats.Dodge] = "Вероятность уклонения"
Expand Down
2 changes: 1 addition & 1 deletion locales/zhCN.lua
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ L[StatLogic.Stats.SpellHasteRating] = "法术急速等级"

-- Tank Stats
L[StatLogic.Stats.Armor] = "护甲值"
S[StatLogic.Stats.Armor] = "护甲"
L[StatLogic.Stats.BonusArmor] = "护甲值"

L[StatLogic.Stats.Avoidance] = "躲避"
L[StatLogic.Stats.Dodge] = "躲闪几率"
Expand Down

0 comments on commit 9d59941

Please sign in to comment.