Hi CodenameG,
nice CC, works near perfectly for my lvl 80 Mage (i know the Class is written for lvl 85)
The only Problem at this time is when he trys to conjure the ManaGem, u only test for item 36799 (lvl85)
Could this be fixed to:
old HaveManaGem()
Code:
public bool HaveManaGem()
{
foreach (WoWItem item in ObjectManager.GetObjectsOfType<WoWItem>(false))
{
if (item.Entry == 36799)
{
ManaGem = item;
return true;
}
}
return false;
}
new HaveManaGem()
Code:
public bool HaveManaGem()
{
int[] ManaGems = {5513,5514,8007,8008,22044,33312,36799};
foreach (WoWItem item in ObjectManager.GetObjectsOfType<WoWItem>(false))
{
if (Array.IndexOf(ManaGems, item.Entry) != -1)
{
ManaGem = item;
return true;
}
}
return false;
}
This one should test for every possible ManaGem, i'll change this tonight in my local copy, but if u release a newer version it would be overwritten, so i'll have to this changes everytime a new version is released