What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Debuff Frost Nova Bug?

tuanha

Well-Known Member
Joined
Nov 29, 2011
Messages
6,998
Reaction score
124
Hi guys, i made script like this

Code:
public double RootDispelable(WoWUnit Target)
        {
            var LongestCC = Target.GetAllAuras().Where(a => (
            a.Spell.Mechanic == WoWSpellMechanic.Rooted
            ) &&
            (a.Spell.DispelType == WoWDispelType.Magic || a.Spell.DispelType == WoWDispelType.Disease))
            .OrderBy(a => a.TimeLeft).FirstOrDefault();

            if (LongestCC != null)
            {
                return LongestCC.TimeLeft.TotalMilliseconds;
            }
            else
            {
                return 0;
            }
        }

But the bot never dispel Frost Nova (still dispel Ice Barrier, Chain of Ice and other stuff

So i made this special check for Frost Nova and it work

Code:
public double RootDispelable(WoWUnit Target)
        {
            var LongestCC = Target.GetAllAuras().Where(a => (
            a.Spell.Mechanic == WoWSpellMechanic.Rooted
            ) &&
            (a.Spell.DispelType == WoWDispelType.Magic || a.Spell.DispelType == WoWDispelType.Disease))
            .OrderBy(a => a.TimeLeft).FirstOrDefault();

            if (LongestCC != null)
            {
                return LongestCC.TimeLeft.TotalMilliseconds;
            }
            else if(Target.Debuffs.ContainsKey("Frost Nova"))
            {
                return Target.ActiveAuras["Frost Nova"].TimeLeft.TotalMilliseconds;
            }
            else
            {
                return 0;
            }
        }

Can anyone confirm Frost Nova Root dispellable is bugged?

Correct me if im wrong.
 
return Target.ActiveAuras["Frost Nova"].TimeLeft.TotalMilliseconds;

HB has some issues reporting timeleft on any aura with a timeleft >13 sec.

it will still return a time but it is unstable above 13secs.
 
Last edited:
Back
Top