Ovale Spell Priority

Ovale Spell Priority

6M Downloads

power lua.432

Shashlic opened this issue ยท 1 comments

commented

pls check... after zone-change, portal ... homestone...

12x Ovale\dist\Power.lua:342: attempt to index local 'spellPowerCosts' (a nil value)
Ovale\dist\Power.lua:342: in function GetSpellCost' Ovale\dist\Power.lua:525: in function getPowerCostAt'
Ovale\dist\Power.lua:572: in function <Ovale\dist\Power.lua:568>
(tail call): ?
Ovale\dist\BestAction.lua:680: in function <Ovale\dist\BestAction.lua:621>
(tail call): ?
(tail call): ?
Ovale\dist\BestAction.lua:85: in function visitor' Ovale\dist\BestAction.lua:822: in function RecursiveCompute'
Ovale\dist\BestAction.lua:799: in function PostOrderCompute' Ovale\dist\BestAction.lua:770: in function <Ovale\dist\BestAction.lua:760> (tail call): ? ... Ovale\dist\BestAction.lua:799: in function PostOrderCompute'
Ovale\dist\BestAction.lua:770: in function <Ovale\dist\BestAction.lua:760>
(tail call): ?
Ovale\dist\BestAction.lua:324: in function visitor' Ovale\dist\BestAction.lua:822: in function RecursiveCompute'
Ovale\dist\BestAction.lua:799: in function PostOrderCompute' Ovale\dist\BestAction.lua:770: in function PostOrderCompute'
Ovale\dist\BestAction.lua:751: in function `GetAction'
Ovale\dist\Frame.lua:152: in function <Ovale\dist\Frame.lua:123>
(tail call): ?

Locals:
self =

{
ovaleAura =
{
}
current =
{
}
ovaleData =
{
}
ovalePaperDoll =
{
}
OnInitialize = defined @ovale\dist\Power.lua:87
UNIT_MAXPOWER = defined @ovale\dist\Power.lua:137
POWER_INFO =
{
}
ovaleSpellBook =
{
}
profiler =
{
}
OnDisable = defined @ovale\dist\Power.lua:104
tracer =
{
}
module =
{
}
next =
{
}
UNIT_DISPLAYPOWER = defined @ovale\dist\Power.lua:126
requirement =
{
}
EventHandler = defined @ovale\dist\Power.lua:120
ovaleFuture =
{
}
RequirePowerHandler = defined @ovale\dist\Power.lua:158
UNIT_RANGEDDAMAGE = defined @ovale\dist\Power.lua:153
UNIT_POWER_UPDATE = defined @ovale\dist\Power.lua:145
UNIT_LEVEL = defined @ovale\dist\Power.lua:132
ovale =
{
}
POWER_TYPE =
{
}
CopySpellcastInfo = defined @ovale\dist\Power.lua:161
baseState =
{
}
}
spell = 22812
powerType = "energy"
spellId = 22812
spellPowerCosts = nil
(*temporary) = 22812
(*temporary) = true
(*temporary) = 22812
(*temporary) = true
(*temporary) = 22812
(*temporary) = "number"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index local 'spellPowerCosts' (a nil value)"
GetSpellPowerCost = defined =[C]:-1
pairs = defined =[C]:-1

commented

The fix is in this commit. I image it'll be merged into the addon very soon but you can manually make the change yourself in the meantime.