Пример #1
0
        public static LavaBurst operator +(LavaBurst A, LavaBurst B)
        {
            LavaBurst C = (LavaBurst)A.MemberwiseClone();

            add(A, B, C);
            return(C);
        }
Пример #2
0
        public static LavaBurst operator *(LavaBurst A, float b)
        {
            LavaBurst C = (LavaBurst)A.MemberwiseClone();

            multiply(A, b, C);
            return(C);
        }
Пример #3
0
        public Rotation(ShamanTalents talents, SpellBox spellBox, IRotationOptions rotOpt)
            : this()
        {
            Talents = talents;
            LB = spellBox.LB;
            CL = spellBox.CL;
            LvB = spellBox.LvB;
            LvBFS = spellBox.LvBFS;
            FS = spellBox.FS;
            ES = spellBox.ES;
            FrS = spellBox.FrS;
            FN = spellBox.FN;
            ST = spellBox.ST;
            MT = spellBox.MT;
            FE = spellBox.FE;
            FrS = spellBox.FrS;

            useDpsFireTotem = rotOpt.UseDpsFireTotem;

            CalculateRotation(rotOpt.UseFireNova, rotOpt.UseChainLightning, rotOpt.UseDpsFireTotem, rotOpt.UseFireEle);
        }