Originally Posted by
theonlyray
In the combat logic routine. I need to know how to create burning embers check. I add >3 and debug errors so thats a no go. I add greater than or less than anywhere inside the aura ID check and it will not work, is this possible? To create aura check for burning embers?
I found this it was written by Ramakandra :
PHP Code:
public static bool CheckMyAuraStacks( int spellID,int stacks)
{
var ME = MySPQR.Internals.ObjectManager.WoWLocalPlayer;
foreach (var aura in ME.AuraList)
{
/*if(aura.Id==spellID)
SPQR.Logger.WriteLine("Aura = " + aura.Id + " Stacks = " + (int)aura.StackCount);*/
if( (aura.Id==spellID) && (int)aura.StackCount==(int)stacks)
return true;
}
return false;
}
I only found it implemented in his code here:
PHP Code:
if(
CheckMyAuraStacks((int)Auras.Frenzy,805329413) &&
!ME.HasAurabyId((int)Auras.TheBeastWithin)
)
{
CastSpellById((int)Spells.RapidFire);
CastSpellById((int)Spells.FocusFire);
}
Here is a link to the full profile https://ramakandra-emporium.googleco...Beastmaster.cs
I myself have not tested it. I do not know how it operates. I hope it helps you in the right direction.