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

Get the time for how long an aura is still active?

highend

Member
Joined
Jan 15, 2010
Messages
422
Reaction score
1
I'd like to refresh Beacon of Light on the tank 10 seconds before it has run out. Is there a command to get the rest time of an aura?

Code:
else if (!tar.ActiveAuras.ContainsKey("Beacon of Light") && tar.Guid == tank.Guid)
                    {
                        s = "Beacon of Light";

Regards,
Highend
 
50,000 ms is 50 seconds. you'll have to use that once you find the command
 
private void DAuras_Click(object sender, EventArgs e)
{
foreach (KeyValuePair<string, WoWAura> pair in Me.Auras)
{
WoWAura curAura = pair.Value;
Logging.Write(curAura.TimeLeft.TotalSeconds.ToString());
}
}
 
try typing tar.ActiveAuras["Beacon of Light"].Duration (or whatever the method is). If your using something like VIsual Studio, you can easily look through the methods and figure out which one you need.
 
Back
Top