njamnjam
New Member
- Joined
- May 14, 2012
- Messages
- 9
- Reaction score
- 0
First - Thank you so much for the great work! 
Iam botting BG's with a Frost Mage right now and i encountered a problem with the Pet.
While mounted it is not possible to cast the Pet "Freeze" and the Bot tries to do this the whole time - So i dont really engage in a fight because i do not dismount.
It seems that i have fixed it on my own for now, but iam not totally sure that it is the correct way
What i've done:
.\CustomClasses\Singular\Managers
PetManager.cs
**Line123**
public static void CastPetAction(string action)
{
var spell = PetSpells.FirstOrDefault(p => p.ToString() == action);
// **EDIT** || StyxWoW.Me.Mounted
if (spell == null || StyxWoW.Me.Mounted)
return;
Logger.Write(string.Format("[Pet] is Casting {0}", action));
Lua.DoString("CastPetAction({0})", spell.ActionBarIndex + 1);
}
cheers!

Iam botting BG's with a Frost Mage right now and i encountered a problem with the Pet.
While mounted it is not possible to cast the Pet "Freeze" and the Bot tries to do this the whole time - So i dont really engage in a fight because i do not dismount.
It seems that i have fixed it on my own for now, but iam not totally sure that it is the correct way

What i've done:
.\CustomClasses\Singular\Managers
PetManager.cs
**Line123**
public static void CastPetAction(string action)
{
var spell = PetSpells.FirstOrDefault(p => p.ToString() == action);
// **EDIT** || StyxWoW.Me.Mounted
if (spell == null || StyxWoW.Me.Mounted)
return;
Logger.Write(string.Format("[Pet] is Casting {0}", action));
Lua.DoString("CastPetAction({0})", spell.ActionBarIndex + 1);
}
cheers!
