コード例 #1
0
 public SentientCreature(string name, int level, char gender, Race race, Caste caste, int team, int[] abilityScoreValues = null, MapPoint location = null) :
     base(name, level, gender, team, abilityScoreValues, null, location)
 {
     Race    = race;
     Caste   = caste;
     _hitDie = race.HitDie;
     AbilityScores.AddMods(AbilityScores.RacialMods, Race.AbilityMods);
 }
コード例 #2
0
 public SentientNpc(string name, int level, char gender, Race race, Caste caste, int team, Aggression aggression, int[] abilityScoreValues = null, MapPoint location = null) :
     base(name, level, gender, race, caste, team, abilityScoreValues, location)
 {
     Aggression = aggression;
 }
コード例 #3
0
 public Player(string name, int level, char gender, int[] abilityScoreValues, Race race, Caste caste, int team = 0, MapPoint location = null) :
     base(name, level, gender, race, caste, team, abilityScoreValues, location)
 {
     Team = team;
 }