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

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