namespace Server.Mobiles { public class TrainingPoint { public object TrainPoint { get; set; } public double Weight { get; set; } public int Start { get; set; } public int Max { get; set; } public TextDefinition Name { get; set; } public TextDefinition Description { get; set; } public TrainingPointRequirement[] Requirements { get; set; } public TrainingPoint(object trainpoint, double weight, int start, int max, TextDefinition name, TextDefinition description, params TrainingPointRequirement[] requirements) { TrainPoint = trainpoint; Weight = weight; Start = start; Max = max; Name = name; Description = description; Requirements = requirements; } public int GetMax(BaseCreature bc) { if (TrainPoint is PetStat && (PetStat)TrainPoint == PetStat.BaseDamage) { return PetTrainingHelper.GetMaxDamagePerSecond(bc); } return Max; } } public class TrainingPointRequirement { public object Requirement { get; set; } public int Cost { get; set; } public TextDefinition Name { get; set; } public TrainingPointRequirement(object requirement, int cost, TextDefinition name) { Requirement = requirement; Cost = cost; Name = name; } } }