Exemplo n.º 1
0
        private static void OnBuffGain(Obj_AI_Base sender, Obj_AI_BaseBuffGainEventArgs args)
        {
            if (!sender.IsMe)
            {
                return;
            }

            if (args.Buff.Type == BuffType.Taunt && OwlsticksMenu.Taunt())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Stun && OwlsticksMenu.Stun())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Snare && OwlsticksMenu.Snare())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Polymorph && OwlsticksMenu.Polymorph())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Blind && OwlsticksMenu.Blind())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Flee && OwlsticksMenu.Fear())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Charm && OwlsticksMenu.Charm())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Suppression && OwlsticksMenu.Suppression())
            {
                DoQSS();
            }
            if (args.Buff.Type == BuffType.Silence && OwlsticksMenu.Silence())
            {
                DoQSS();
            }
            if (args.Buff.Name == "zedulttargetmark" && OwlsticksMenu.ZedUlt())
            {
                UltQSS();
            }
            if (args.Buff.Name == "VladimirHemoplague" && OwlsticksMenu.VladUlt())
            {
                UltQSS();
            }
            if (args.Buff.Name == "FizzMarinerDoom" && OwlsticksMenu.FizzUlt())
            {
                UltQSS();
            }
            if (args.Buff.Name == "MordekaiserChildrenOfTheGrave" && OwlsticksMenu.MordUlt())
            {
                UltQSS();
            }
            if (args.Buff.Name == "PoppyDiplomaticImmunity" && OwlsticksMenu.PoppyUlt())
            {
                UltQSS();
            }
        }