Пример #1
0
        private static void OnBuffGain(Obj_AI_Base sender, Obj_AI_BaseBuffGainEventArgs args)
        {
            if (!sender.IsMe)
            {
                return;
            }

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