Skip to content

Commit

Permalink
Fixed LS for WotLK Classic patch 3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardopsantos committed Jan 18, 2023
1 parent be5a31a commit f1a21a3
Show file tree
Hide file tree
Showing 8 changed files with 72 additions and 59 deletions.
6 changes: 5 additions & 1 deletion LunarSphere/Lib/moduleAPI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2712,7 +2712,11 @@ function Lunar.API:GetItemCooldown(itemData)
local itemID = Lunar.API:GetItemID(itemLink)

if (itemID) then
return GetItemCooldown(itemID);
if( Lunar.API:IsVersionClassic() ) then
return GetItemCooldown(itemID);
else
return C_Container.GetItemCooldown(itemID);
end
end

return 0, 0, 0;
Expand Down
24 changes: 12 additions & 12 deletions LunarSphere/Lib/moduleItems.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2437,34 +2437,34 @@ function Lunar.Items:GetHealthStoneStrength(itemId)
end

function Lunar.Items:GetContainerNumSlots(bagID)
if( Lunar.API:IsVersionRetail() ) then
return C_Container.GetContainerNumSlots(bagID);
else
if( Lunar.API:IsVersionClassic() ) then
return GetContainerNumSlots(bagID);
else
return C_Container.GetContainerNumSlots(bagID);
end
end

function Lunar.Items:GetContainerItemLink(bagID, slot)
if( Lunar.API:IsVersionRetail() ) then
return C_Container.GetContainerItemLink(bagID, slot);
else
if( Lunar.API:IsVersionClassic() ) then
return GetContainerItemLink(bagID, slot);
else
return C_Container.GetContainerItemLink(bagID, slot);
end
end

function Lunar.Items:GetContainerItemInfo(bagID, slot)
if( Lunar.API:IsVersionRetail() ) then
return C_Container.GetContainerItemInfo(bagID, slot);
else
if( Lunar.API:IsVersionClassic() ) then
return GetContainerItemInfo(bagID, slot);
else
return C_Container.GetContainerItemInfo(bagID, slot);
end
end

function Lunar.Items:GetContainerNumFreeSlots(bagID)
if( Lunar.API:IsVersionRetail() ) then
return Lunar.Items:GetContainerNumFreeSlots(bagID);
else
if( Lunar.API:IsVersionClassic() ) then
return GetContainerNumFreeSlots(bagID);
else
return Lunar.Items:GetContainerNumFreeSlots(bagID);
end
end

Expand Down
20 changes: 10 additions & 10 deletions LunarSphere/LunarSphere_Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
## Interface: 100002
##
## Version: v1.61
## Version: v1.62
##
## Author: Moongaze (Twisting Nether)
## Fixer: Shaun Voysey
## Fixer#2: Toludin (Stormrage)
## Fixer#3: Fullmoon (Faerlina)
##
## Title: LunarSphere v.1.61
## Title: LunarSphere v.1.62
##
## Notes: A universal sphere for all classes
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62
## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62
## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士
## Title-frFR: LunarSphere v.1.61
## Title-frFR: LunarSphere v.1.62
## Notes-frFR: A universal sphere for all classes
## Title-deDE: LunarSphere v.1.61
## Title-deDE: LunarSphere v.1.62
## Notes-deDE: A universal sphere for all classes
## Title-koKR: LunarSphere v.1.61
## Title-koKR: LunarSphere v.1.62
## Notes-koKR: A universal sphere for all classes
## Title-ruRU: LunarSphere v.1.61
## Title-ruRU: LunarSphere v.1.62
## Notes-ruRU: A universal sphere for all classes
## Title-esES: LunarSphere v.1.61
## Title-esES: LunarSphere v.1.62
## Notes-esES: A universal sphere for all classes
## Title-esMX: LunarSphere v.1.61
## Title-esMX: LunarSphere v.1.62
## Notes-esMX: A universal sphere for all classes
##
## SavedVariables: LunarSphereGlobal
Expand Down
20 changes: 10 additions & 10 deletions LunarSphere/LunarSphere_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
## Interface: 20504
##
## Version: v1.61
## Version: v1.62
##
## Author: Moongaze (Twisting Nether)
## Fixer: Shaun Voysey
## Fixer#2: Toludin (Stormrage)
## Fixer#3: Fullmoon (Faerlina)
##
## Title: LunarSphere v.1.61
## Title: LunarSphere v.1.62
##
## Notes: A universal sphere for all classes
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62
## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62
## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士
## Title-frFR: LunarSphere v.1.61
## Title-frFR: LunarSphere v.1.62
## Notes-frFR: A universal sphere for all classes
## Title-deDE: LunarSphere v.1.61
## Title-deDE: LunarSphere v.1.62
## Notes-deDE: A universal sphere for all classes
## Title-koKR: LunarSphere v.1.61
## Title-koKR: LunarSphere v.1.62
## Notes-koKR: A universal sphere for all classes
## Title-ruRU: LunarSphere v.1.61
## Title-ruRU: LunarSphere v.1.62
## Notes-ruRU: A universal sphere for all classes
## Title-esES: LunarSphere v.1.61
## Title-esES: LunarSphere v.1.62
## Notes-esES: A universal sphere for all classes
## Title-esMX: LunarSphere v.1.61
## Title-esMX: LunarSphere v.1.62
## Notes-esMX: A universal sphere for all classes
##
## SavedVariables: LunarSphereGlobal
Expand Down
20 changes: 10 additions & 10 deletions LunarSphere/LunarSphere_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
## Interface: 11403
##
## Version: v1.61
## Version: v1.62
##
## Author: Moongaze (Twisting Nether)
## Fixer: Shaun Voysey
## Fixer#2: Toludin (Stormrage)
## Fixer#3: Fullmoon (Faerlina)
##
## Title: LunarSphere v.1.61
## Title: LunarSphere v.1.62
##
## Notes: A universal sphere for all classes
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62
## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62
## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士
## Title-frFR: LunarSphere v.1.61
## Title-frFR: LunarSphere v.1.62
## Notes-frFR: A universal sphere for all classes
## Title-deDE: LunarSphere v.1.61
## Title-deDE: LunarSphere v.1.62
## Notes-deDE: A universal sphere for all classes
## Title-koKR: LunarSphere v.1.61
## Title-koKR: LunarSphere v.1.62
## Notes-koKR: A universal sphere for all classes
## Title-ruRU: LunarSphere v.1.61
## Title-ruRU: LunarSphere v.1.62
## Notes-ruRU: A universal sphere for all classes
## Title-esES: LunarSphere v.1.61
## Title-esES: LunarSphere v.1.62
## Notes-esES: A universal sphere for all classes
## Title-esMX: LunarSphere v.1.61
## Title-esMX: LunarSphere v.1.62
## Notes-esMX: A universal sphere for all classes
##
## SavedVariables: LunarSphereGlobal
Expand Down
22 changes: 11 additions & 11 deletions LunarSphere/LunarSphere_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
## Interface: 30400
## Interface: 30401
##
## Version: v1.61
## Version: v1.62
##
## Author: Moongaze (Twisting Nether)
## Fixer: Shaun Voysey
## Fixer#2: Toludin (Stormrage)
## Fixer#3: Fullmoon (Faerlina)
##
## Title: LunarSphere v.1.61
## Title: LunarSphere v.1.62
##
## Notes: A universal sphere for all classes
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.61
## Title-zhTW: LunarSphere 全職業多功能球體插件 v.1.62
## Notes-zhTW: 兼具快捷列/修裝/購物/騎乘/消耗品助手...等功能, 超完美的插件。中文化:恰恰@語風
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.61
## Title-zhCN: LunarSphere 全职业多功能球体插件 v.1.62
## Notes-zhCN: 兼具快捷列/修装/购物/座骑/消耗品助手...等功能, 超完美的插件。中文化:无名人士
## Title-frFR: LunarSphere v.1.61
## Title-frFR: LunarSphere v.1.62
## Notes-frFR: A universal sphere for all classes
## Title-deDE: LunarSphere v.1.61
## Title-deDE: LunarSphere v.1.62
## Notes-deDE: A universal sphere for all classes
## Title-koKR: LunarSphere v.1.61
## Title-koKR: LunarSphere v.1.62
## Notes-koKR: A universal sphere for all classes
## Title-ruRU: LunarSphere v.1.61
## Title-ruRU: LunarSphere v.1.62
## Notes-ruRU: A universal sphere for all classes
## Title-esES: LunarSphere v.1.61
## Title-esES: LunarSphere v.1.62
## Notes-esES: A universal sphere for all classes
## Title-esMX: LunarSphere v.1.61
## Title-esMX: LunarSphere v.1.62
## Notes-esMX: A universal sphere for all classes
##
## SavedVariables: LunarSphereGlobal
Expand Down
9 changes: 9 additions & 0 deletions LunarSphere/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
LunarSphere Public Release
Version 1.62 Changelog

======================
Bug Fixes
======================

* Fixed LS for WotLK Classic patch 3.4.1

LunarSphere Public Release
Version 1.61 Changelog

Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ features that you'd like to be added.

### User Manual and various help that might be needed

LunarSphere doesn't have a usre manual, but [Dreambound's blog post](http://dreambound-druid.blogspot.com/2009/03/lunarsphere.html) is pretty
close to one.
LunarSphere doesn't have a user manual, but [Dreambound's blog post](http://dreambound-druid.blogspot.com/2009/03/lunarsphere.html)
is pretty close to one.

LunarSphere can be overwhelming at first. Lots of beta testers who helped with
the project have said that after getting used to it, LunarSphere became
Expand All @@ -176,11 +176,11 @@ please make sure that you inform:
The more specific the report is, the easier for me to find the problem and fix
it.

## Current Version: 1.61
## Current Version: 1.62

* Update to WoW 10.0.2 / Dragonflight for LunarSphere
* Update to WoW 1.14.2 / Classic Era (SoM) for LunarSphere
* Update to WoW 3.4.0 / WotLK-Classic for LunarSphere
* Update to WoW 3.4.1 / WotLK-Classic for LunarSphere

Updates for LunarSphere are distributed via WowUp and Curseforge. Be sure to
get the latest version here:
Expand All @@ -193,7 +193,7 @@ get the latest version here:

My first thanks must go to Moongsaze that coded this amazing addon. I
originally found it when playing WotLK and I think it's one of the most
Useful addons I have. Many thanks for the other torch bearers over the years
useful addons I have. Many thanks for the other torch bearers over the years
who kept LS alive: N3od3ath, Toludin-Stormrage, and voyseys.

Many tanks to Zenyari1 for updating LS to Dragonflight and nicodemusmercy for
Expand Down

0 comments on commit f1a21a3

Please sign in to comment.