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

About IsBuffOnMe()

WoWAura has Duration and EndTime members.

You can try using WoWUnit.Buffs which returns a dictionary of the current WoWAura's on the player, then check Duration of the matched WoWAura.
 
Code:
                    int timeLeft;
                    foreach (KeyValuePair <string, WoWAura> buff in Me.Buffs)
                    {
                        if (buff.Value.Name.Contains("buff name"))
                        {
                                timeLeft = buff.Duration;
                        }
                    }

Untested, but it should get you started.

Note, there should be an (<)string, WoWAura(>) minus the parentheses between "KeyValuePair" and "buff" but its not formatting right.
 
Last edited:
Hi sKi, thank's again, but I was actually thinking about using this for conflagrate casting with mobs that have the immolate status on them with only a few seconds left.
 
Hi sKi, thank's again, but I was actually thinking about using this for conflagrate casting with mobs that have the immolate status on them with only a few seconds left.

Just get the Glyph of Conflagrate ;)
 
Back
Top