示例#1
0
        public static void retargetTotem()
        {
            List <WoWUnit> mobList = ObjectManager.GetObjectsOfType <WoWUnit>(false);

            foreach (WoWUnit Totem in mobList)
            {
                if (Totem.CreatureType == WoWCreatureType.Totem && Totem.CurrentHealth > 1 && Totem.Attackable)
                {
                    Log("Totem on the Feild Targeting Totem!");
                    Totem.Target();
                }
            }
        }