Exemple #1
0
 public HasCovenantCondition(double value, byte tier, uint? dueDate = null)
 {
     _desire = value;
     DueDate = dueDate;
     Tier = tier;
     List<Ability> abilities = new List<Ability>();
     abilities.Add(Abilities.AreaLore);
     abilities.Add(MagicArts.Intellego);
     abilities.Add(MagicArts.Vim);
     List<AttributeType> attributes = new List<AttributeType>();
     attributes.Add(AttributeType.Perception);
     _minScore = new CharacteristicAbilityScoreCondition(abilities, attributes, 2, value, (byte)(tier + 1), dueDate == null ? null : dueDate - 1);
 }
Exemple #2
0
 public LabScoreGoal(ArtPair artPair, Activity labWorkType, double total, double desire, byte tier, uint? dueDate = null)
 {
     _hasLabCondition = new HasLabCondition(desire, tier, dueDate);
     List<AttributeType> attributes = new List<AttributeType>();
     List<Ability> abilities = new List<Ability>();
     abilities.Add(artPair.Technique);
     abilities.Add(artPair.Form);
     abilities.Add(Abilities.MagicTheory);
     attributes.Add(AttributeType.Intelligence);
     _attributeAbilityScore = new CharacteristicAbilityScoreCondition(abilities, attributes, total, desire, (byte)(tier + 1), dueDate);
     DueDate = dueDate;
     Tier = tier;
     Desire = desire;
     _total = total;
     _labWorkType = labWorkType;
     _artPair = artPair;
 }