remove champion data for now, still fixing
Leandro Silva [06-29-21 - 12:22]
remove champion data for now, still fixing
diff --git a/LeoAltholic.lua b/LeoAltholic.lua
index 7d0a4c5..a3e22a0 100644
--- a/LeoAltholic.lua
+++ b/LeoAltholic.lua
@@ -326,7 +326,7 @@ local function initCharsData()
generic = getStat(STAT_DAMAGE_RESIST_GENERIC),
magic = getStat(STAT_DAMAGE_RESIST_MAGIC),
oblivion = getStat(STAT_DAMAGE_RESIST_OBLIVION),
- physical = getStat(STAT_DAMAGE_RESIST_PHYSICAL),
+ resistPhysical = getStat(STAT_DAMAGE_RESIST_PHYSICAL),
poison = getStat(STAT_DAMAGE_RESIST_POISON),
shock = getStat(STAT_DAMAGE_RESIST_SHOCK),
start = getStat(STAT_DAMAGE_RESIST_START),
@@ -491,6 +491,7 @@ local function initCharsData()
char.champion[attribute].disciplines = {}
end
+ --[[
for i = 1, GetNumChampionDisciplines() do
local attribute = GetChampionDisciplineAttribute(i)
char.champion[attribute].disciplines[i] = {
@@ -506,6 +507,7 @@ local function initCharsData()
end
end
end
+ ]]
char.inventory = {}
char.inventory.size = GetBagSize(BAG_BACKPACK)
diff --git a/LeoAltholic.txt b/LeoAltholic.txt
index 1d06c9f..f5235b0 100644
--- a/LeoAltholic.txt
+++ b/LeoAltholic.txt
@@ -1,7 +1,7 @@
## Title: Leo's Altholic
-## APIVersion: 100030 100031
-## Version: 1.8.0
-## AddOnVersion: 1800
+## APIVersion: 100034
+## Version: 1.8.1
+## AddOnVersion: 1801
## Author: |c39B027@LeandroSilva|r
## SavedVariables: LeoAltholicSavedVariables LeoAltholicCharVariables
## DependsOn: LibFeedback LibAddonMenu-2.0
diff --git a/LeoAltholicUI.lua b/LeoAltholicUI.lua
index f2e7c20..63f15e0 100644
--- a/LeoAltholicUI.lua
+++ b/LeoAltholicUI.lua
@@ -135,8 +135,8 @@ function LeoAltholicUI.InitPanels()
LeoAltholicUI.statsList = LeoAltholicStatsList:New(LeoAltholicWindowStatsPanelListScroll)
LeoAltholicUI.statsList:RefreshData()
- LeoAltholicUI.championList = LeoAltholicChampionList:New(LeoAltholicWindowChampionPanelListScroll)
- LeoAltholicUI.championList:RefreshData()
+ -- LeoAltholicUI.championList = LeoAltholicChampionList:New(LeoAltholicWindowChampionPanelListScroll)
+ -- LeoAltholicUI.championList:RefreshData()
LeoAltholicUI.skillsList = LeoAltholicSkillsList:New(LeoAltholicWindowSkillsPanelListScroll)
LeoAltholicUI.skillsList:RefreshData()