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

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