October 20, 20187 yr I have been looking for a good hour now though other peoples work and testing things. Im sorry to have to make a post asking. How do I target my pet with a spell in CS? Also, does anyone know of an API resource for wrobot for CS? Would love to develop. EG of what I have for self targeting. I can change 'me' to 'pet' but it will still target myself for the cast, else if (ObjectManager.Me.HealthPercent <= 65 && !ObjectManager.Me.HaveBuff("Renew") && Renew.KnownSpell) { SpellManager.CastSpellByNameLUA("Renew"); return; } else if (ObjectManager.Me.HealthPercent <= 65 && !ObjectManager.Me.HaveBuff("Rejuvenation") && Rejuv.KnownSpell) { SpellManager.CastSpellByNameLUA("Rejuvenation"); return; } Thanks.
October 20, 20187 yr ObjectManager.Me.Target = ObjectManager.Pet.Guid; SpellManager.CastSpellByNameOn("Rejuventation", "pet"); Edited October 20, 20187 yr by Matenia
Create an account or sign in to comment