HeroRotation

HeroRotation

6M Downloads

[Feral druid] Exceptions

c-ray-c opened this issue ยท 1 comments

commented

This code is throwing exceptions if combat was initiated before the Precombat() was called

if (ComboPoints >= (5 - VarFourCPBite)) then local ShouldReturn = Finisher(); if ShouldReturn then return ShouldReturn; end end

Reason is VarFourCPBite is initialized in the Precombat().

commented

I've moved the variable definitions into their own function, which is called in the main APL loop, rather than from Precombat. This should resolve the issue. This is included in commit e8df384