Example #1
0
        public double GetCastingTotal(ArtPair artPair)
        {
            double techValue = Arts.GetAbility(artPair.Technique).Value;
            double formValue = Arts.GetAbility(artPair.Form).Value;

            return(techValue + formValue + GetAttribute(AttributeType.Stamina).Value);
        }
Example #2
0
 public override CharacterAbilityBase GetAbility(Ability ability)
 {
     if (MagicArts.IsArt(ability))
     {
         return(Arts.GetAbility(ability));
     }
     else
     {
         return(base.GetAbility(ability));
     }
 }
Example #3
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);
        }