Exemplo n.º 1
0
 public Skill(string digimonId, SkillType type, string nameRus, string nameEng, string descriptionRus,
              string descriptionEng, int mp, decimal ap, SkillSource skillSource = SkillSource.Native)
 {
     DigimonId      = digimonId;
     Type           = type;
     NameRus        = nameRus;
     NameEng        = nameEng;
     DescriptionRus = descriptionRus;
     DescriptionEng = descriptionEng;
     MP             = mp;
     AP             = ap;
     SkillSource    = skillSource;
 }
Exemplo n.º 2
0
 public Skill(string digimonId, SkillType type, string nameRus, string nameEng, string descriptionRus, 
     string descriptionEng, int mp,decimal ap, SkillSource skillSource = SkillSource.Native)
 {
     DigimonId = digimonId;
     Type = type;
     NameRus = nameRus;
     NameEng = nameEng;
     DescriptionRus = descriptionRus;
     DescriptionEng = descriptionEng;
     MP = mp;
     AP = ap;
     SkillSource = skillSource;
 }
Exemplo n.º 3
0
        public void Init()
        {
            skill = new SkillSourceBuilder()
                    .With(ss => ss.Id, 55)
                    .BuildAndSave();

            form = new FormSourceBuilder()
                   .With(f => f.Id, 3)
                   .BuildAndSave();

            exclusiveToForm = new FormSourceBuilder()
                              .With(f => f.Id, 7)
                              .BuildAndSave();

            exlusiveToItem = new ItemSourceBuilder()
                             .With(i => i.Id, 100)
                             .BuildAndSave();

            givesEffect = new EffectSourceBuilder()
                          .With(i => i.Id, 78)
                          .BuildAndSave();
        }