示例#1
0
        public double GetLabTotal(ArtPair artPair, Activity activity)
        {
            double magicTheory = GetAbility(_magicAbility).Value;
            double techValue   = Arts.GetAbility(artPair.Technique).Value;
            double formValue   = Arts.GetAbility(artPair.Form).Value;
            double labTotal    = magicTheory + techValue + formValue + GetAttribute(AttributeType.Intelligence).Value;

            if (Covenant != null)
            {
                labTotal += Covenant.Aura.Strength;

                if (Laboratory != null)
                {
                    labTotal += Laboratory.GetModifier(artPair, activity);
                }
            }

            //TODO: foci
            //TODO: lab assistant
            //TODO: familiar
            return(labTotal);
        }
示例#2
0
 public void BuildLaboratory(Aura aura)
 {
     Laboratory = new Laboratory(this, aura, 0);
 }
示例#3
0
 public void BuildLaboratory()
 {
     // TODO: flesh out laboratory specialization
     Laboratory = new Laboratory(this, Covenant.Aura, 0);
 }