Ejemplo n.º 1
0
            public static RogueRotationCalculation operator +(RogueRotationCalculation a, RogueRotationCalculation b)
            {
                RogueRotationCalculation c = new RogueRotationCalculation();

                c.DPS         = (a.TotalDamage + b.TotalDamage) / (a.Duration + b.Duration);
                c.TotalDamage = a.TotalDamage + b.TotalDamage;

                c.MainHandCount       = a.MainHandCount + b.MainHandCount;
                c.OffHandCount        = a.OffHandCount + b.OffHandCount;
                c.BackstabCount       = a.BackstabCount + b.BackstabCount;
                c.HemoCount           = a.HemoCount + b.HemoCount;
                c.SStrikeCount        = a.SStrikeCount + b.SStrikeCount;
                c.MutiCount           = a.MutiCount + b.MutiCount;
                c.RuptCount           = a.RuptCount + b.RuptCount;
                c.EvisCount           = a.EvisCount + b.EvisCount;
                c.EnvenomCount        = a.EnvenomCount + b.EnvenomCount;
                c.SnDCount            = a.SnDCount + b.SnDCount;
                c.RecupCount          = a.RecupCount + b.RecupCount;
                c.IPCount             = a.IPCount + b.IPCount;
                c.DPCount             = a.DPCount + b.DPCount;
                c.WPCount             = a.WPCount + b.WPCount;
                c.VenomousWoundsCount = a.VenomousWoundsCount + b.VenomousWoundsCount;

                c.RuptCP    = a.RuptCP;
                c.EvisCP    = a.EvisCP;
                c.EnvenomCP = a.EnvenomCP;

                c.RotationString = string.Format("Multiple rotations*Before 35%:\r\n{0}\r\nAfter 35%\r\n{1}", a.ToString(), b.ToString());

                return(c);
            }
            public static RogueRotationCalculation operator +(RogueRotationCalculation a, RogueRotationCalculation b)
            {
                RogueRotationCalculation c = new RogueRotationCalculation();

                c.DPS = (a.TotalDamage + b.TotalDamage) / (a.Duration + b.Duration);
                c.TotalDamage = a.TotalDamage + b.TotalDamage;

                c.MainHandCount = a.MainHandCount + b.MainHandCount;
                c.OffHandCount = a.OffHandCount + b.OffHandCount;
                c.BackstabCount = a.BackstabCount + b.BackstabCount;
                c.HemoCount = a.HemoCount + b.HemoCount;
                c.SStrikeCount = a.SStrikeCount + b.SStrikeCount;
                c.MutiCount = a.MutiCount + b.MutiCount;
                c.RuptCount = a.RuptCount + b.RuptCount;
                c.EvisCount = a.EvisCount + b.EvisCount;
                c.EnvenomCount = a.EnvenomCount + b.EnvenomCount;
                c.SnDCount = a.SnDCount + b.SnDCount;
                c.RecupCount = a.RecupCount + b.RecupCount;
                c.IPCount = a.IPCount + b.IPCount;
                c.DPCount = a.DPCount + b.DPCount;
                c.WPCount = a.WPCount + b.WPCount;
                c.VenomousWoundsCount = a.VenomousWoundsCount + b.VenomousWoundsCount;

                c.RuptCP = a.RuptCP;
                c.EvisCP = a.EvisCP;
                c.EnvenomCP = a.EnvenomCP;

                c.RotationString = string.Format("Multiple rotations*Before 35%:\r\n{0}\r\nAfter 35%\r\n{1}", a.ToString(), b.ToString());

                return c;
            }