bennyquest your a champ, I solved the issue and returned my rotations back to there original form
Change Log
-------------
* 4/3/2012
[2.2.0] Major update for hunters and warlocks and druid rotations within CLU (and maybe other rotations) Fixed GetAuraTimeLeft !!!!!!!!
For those that are interested in the solution read on
(May help the Singular Devs):
Improved Steady Shot was returning 0 time left every time.
Using HighVoltz HBConsole;-
Code:
foreach (KeyValuePair<string, WoWAura> sp in Me.Auras)
{
if (Me.Auras.ContainsKey(sp.Key))
{
Log(sp.Key + " " + Me.Auras[sp.Key].Flags.ToString());
}
else
{
Log(sp.Key);
}
}
that returned:
Improved Steady Shot FirstEffect, NoCaster
(Idle just standing there)
Improved Steady Shot FirstEffect, NoCaster, Cancellable, NoDuration, Unknown
(attacking, Improved Steady Shot was visible in game)
Problem:
Code:
WoWAura wantedAura =
unit.GetAllAuras().FirstOrDefault(
a => a.Name == auraName && (!fromMyAura || a.CreatorGuid == Me.Guid));
returns the
FirstOrDefault which means it was returning the Improved Steady Shot without a duration.
Solution:
Code:
WoWAura wantedAura =
unit.GetAllAuras().FirstOrDefault(
a => a.Name == auraName && [COLOR="#0000CD"][B]a.Duration > 0[/B][/COLOR] && (!fromMyAura || a.CreatorGuid == Me.Guid));
returns second Improved Steady Shot
with a duration.
This also applied to Improved Soul Fire, Savage Roar and others...
This has completely changed most rotations within CLU for the better as they are now all following the rotation as expected.
