Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RatingBuster.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 40401, 40402
## Interface: 11507, 11508, 20505, 30403, 30404, 40401, 40402, 50502, 50503
## Title: RatingBuster
## IconTexture: Interface\AddOns\RatingBuster\images\icon_64.png
## Notes: Item stat breakdown, analysis and comparison
Expand Down Expand Up @@ -29,7 +29,7 @@
embeds.xml

# Localization
locales\locales.xml
locales\[TextLocale].lua

# Core
TipHooker.lua
Expand Down
36 changes: 0 additions & 36 deletions RatingBuster_Mists.toc

This file was deleted.

36 changes: 0 additions & 36 deletions RatingBuster_TBC.toc

This file was deleted.

36 changes: 0 additions & 36 deletions RatingBuster_Vanilla.toc

This file was deleted.

36 changes: 0 additions & 36 deletions RatingBuster_Wrath.toc

This file was deleted.

File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions libs/StatLogic/Init.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local addonName = ...
local addonName, addon = ...

--[[
Name: StatLogic-1.0
Expand Down Expand Up @@ -34,4 +34,6 @@ local MINOR_VERSION = 2 ^ 32 -- LibStub doesn't accept math.huge as a number
--@end-debug@

---@class StatLogic
local StatLogic = LibStub:NewLibrary(addonName, MINOR_VERSION)
local StatLogic = LibStub:NewLibrary(addonName, MINOR_VERSION)

addon.tocversion = select(4, GetBuildInfo())
File renamed without changes.
1 change: 0 additions & 1 deletion libs/StatLogic/StatLogic.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ local GetShapeshiftFormInfo = GetShapeshiftFormInfo
local GetActiveTalentGroup = GetActiveTalentGroup or C_SpecializationInfo.GetActiveSpecGroup
local GetPrimaryTalentTree = GetPrimaryTalentTree or C_SpecializationInfo.GetSpecialization
local GetSpecializationInfo = GetSpecializationInfo or C_SpecializationInfo.GetSpecializationInfo
addon.tocversion = select(4, GetBuildInfo())

---------------
-- Lua Tools --
Expand Down
11 changes: 6 additions & 5 deletions libs/StatLogic/StatLogic.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 40401, 40402
## Interface: 11507, 11508, 20505, 30403, 30404, 40401, 40402, 50502, 50503
## Title: StatLogic
## IconTexture: Interface\AddOns\RatingBuster\images\icon_64.png
## Author: Whitetooth, raethkcj
Expand All @@ -19,9 +19,10 @@ libs\UTF8\utf8.lua
Init.lua
Stats.lua

locales\locales.xml
locales\GlobalPatterns.lua
locales\[TextLocale]\[Game].lua

StatLogic.lua
DiminishingReturns.lua
Cata_Logic.lua
Global_Logic.lua
DiminishingReturns.lua [AllowLoadGameType wrath, cata, mists]
[Game]Logic.lua
GlobalLogic.lua
27 changes: 0 additions & 27 deletions libs/StatLogic/StatLogic_Mists.toc

This file was deleted.

26 changes: 0 additions & 26 deletions libs/StatLogic/StatLogic_TBC.toc

This file was deleted.

26 changes: 0 additions & 26 deletions libs/StatLogic/StatLogic_Vanilla.toc

This file was deleted.

27 changes: 0 additions & 27 deletions libs/StatLogic/StatLogic_Wrath.toc

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion libs/StatLogic/locales/GlobalPatterns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ local short = {
[ITEM_MOD_AGILITY_SHORT] = { {StatLogic.Stats.Agility} },
[ITEM_MOD_ARMOR_PENETRATION_RATING_SHORT] = { {StatLogic.Stats.ArmorPenetrationRating} },
[ITEM_MOD_ATTACK_POWER_SHORT] = { {StatLogic.Stats.GenericAttackPower} },
[ITEM_MOD_BLOCK_RATING_SHORT] = { {StatLogic.Stats.BlockRating} },
[ITEM_MOD_BLOCK_RATING_SHORT] = addon.tocversion >= 40000 and { {StatLogic.Stats.BlockRating} } or nil,
[ITEM_MOD_BLOCK_VALUE_SHORT] = { {StatLogic.Stats.BlockValue} },
[ITEM_MOD_CRIT_MELEE_RATING_SHORT] = { {StatLogic.Stats.MeleeCritRating} },
[ITEM_MOD_CRIT_RANGED_RATING_SHORT] = { {StatLogic.Stats.RangedCritRating} },
Expand Down
Loading