コード例 #1
0
 public BasicMon(bool deflt)
 {
     Status    = new StatusEffect(true);
     Level     = 40;
     Nickname  = Species;
     Gender    = RandomGender();
     CatcherID = 0;
     OwnerID   = 0;
     InitializeLists();
     Ability = new NoneAbility(true, this);
     GenerateIvs();
     SetRandomNature();
     CritChance = 0;
     Heal();
 }
コード例 #2
0
 public BasicMon(int customLvl, List <int> customIvs, List <int> customEvs, string customNature)
 {
     Status    = new StatusEffect(true);
     Level     = customLvl;
     Nickname  = Species;
     Gender    = RandomGender();
     CatcherID = 0;
     OwnerID   = 0;
     InitializeLists();
     Ivs.Clear();
     Evs.Clear();
     Ivs.AddRange(customIvs);
     Evs.AddRange(customEvs);
     Nature  = customNature;
     Ability = new NoneAbility(true, this);
     UpdateNatureMods();
     Heal();
 }