Exemple #1
0
        public static LightningBolt operator +(LightningBolt A, LightningBolt B)
        {
            LightningBolt C = (LightningBolt)A.MemberwiseClone();

            add(A, B, C);
            return(C);
        }
Exemple #2
0
        public static LightningBolt operator *(LightningBolt A, float b)
        {
            LightningBolt C = (LightningBolt)A.MemberwiseClone();

            multiply(A, b, C);
            return(C);
        }
Exemple #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);
        }