HeroRotation

HeroRotation

5M Downloads

A lot errors in dungeon with arcane mage

ReglohPri opened this issue ยท 3 comments

commented

823x HeroLib\Class\Unit\Aura.lua:32: attempt to index local 'ThisSpell' (a nil value)
[string "@herolib\Class\Unit\Aura.lua"]:32: in function <HeroLib\Class\Unit\Aura.lua:27>
[string "=(tail call)"]: ?
[string "@herolib\Class\Unit\Aura.lua"]:148: in function DebuffRemains' [string "@HeroLib\Class\Unit\Aura.lua"]:159: in function DebuffUp'
[string "@herolib\Class\Unit\Aura.lua"]:164: in function DebuffDown' [string "@HeroLib\Class\Unit\Aura.lua"]:132: in function DebuffStack'
[string "@HeroRotation_Mage\Arcane.lua"]:671: in function <HeroRotation_Mage\Arcane.lua:645>
[string "@HeroRotation_Mage\Arcane.lua"]:919: in function `?'
[string "@HeroRotation\Main.lua"]:445: in function <HeroRotation\Main.lua:423>

i think the line 671 must be changed from:
if S.ArcaneBarrage:IsCastable() and Target:DebuffStack(S.RadiantSparlVulnerability) == 4 and (Player:BuffDown(S.ArcanePower) or Player:BuffRemains(S.ArcanePower) <= Player:GCDRemains()) and (Player:BuffDown(S.RuneofPowerBuff) or Player:BuffRemains(S.RuneofPowerBuff) <= Player:GCDRemains()) then

to:
if S.ArcaneBarrage:IsCastable() and Target:DebuffStack(S.RadiantSparkVulnerability) == 4 and (Player:BuffDown(S.ArcanePower) or Player:BuffRemains(S.ArcanePower) <= Player:GCDRemains()) and (Player:BuffDown(S.RuneofPowerBuff) or Player:BuffRemains(S.RuneofPowerBuff) <= Player:GCDRemains()) then

commented

Duplicate of issue #611

commented

Thats not correct with duplicate, is another line with this error!!!!!

commented

Fixed in commit 6066cd9