June 15, 201312 yr Target Buff is only checking if the debuff is on the target, not who put the debuff on the target. In raid, with 3 feral druids, he never put rip, rake if another druid provide the debuff. So, you need a check from who is the debuff. public bool debuffExists(int Debuff, WoWUnit onTarget) { if (onTarget != null) { WoWAura aura = onTarget.GetAllAuras().FirstOrDefault(a => a.SpellId == Debuff && a.CreatorGuid == Me.Guid); if (aura != null) { return true; } } return false; }
July 5, 201312 yr I have added this, wait next update ( wManager.Wow.Helpers.BuffManager.AuraStack(uint baseAddress, List<UInt32> buffId, out ulong owner) or in fightclass condition)
Create an account or sign in to comment