public SkillDescription(string name, Category cat, CharacteristicDescription charac, List<string> descr, bool isgrp) { this.name = name; this.category = cat; this.characteristic = charac; this.descriptors = descr; this.isGroup = isgrp; }
public SkillDescription(string name, Category cat, CharacteristicDescription charac, List <string> descr, bool isgrp) { this.name = name; this.category = cat; this.characteristic = charac; this.descriptors = descr; this.isGroup = isgrp; }
public AdeptusSession() { this.characters = new List<Character>(); this.weaponSkill = new CharacteristicDescription("Weapon Skill", "WS"); this.ballisticSkill = new CharacteristicDescription("Ballistic Skill", "BS"); this.strength = new CharacteristicDescription("Strength", "S"); this.toughness = new CharacteristicDescription("Toughness", "T"); this.agility = new CharacteristicDescription("Agility", "Ag"); this.intelligence = new CharacteristicDescription("Intelligence", "Int"); this.perception = new CharacteristicDescription("Perception", "Per"); this.willPower = new CharacteristicDescription("Will Power", "WP"); this.fellowship = new CharacteristicDescription("Fellowship", "Fel"); this.skills = new List<SkillDescription>(45); }
public void NewCharacteristic(CharacteristicDescription cd, int baseval) { if (cd.Abbreviation.Equals("WS")) { this.weaponSkill = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("BS")) { this.ballisticSkill = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("S")) { this.strength = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("T")) { this.toughness = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("Ag")) { this.agility = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("Int")) { this.intelligence = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("Per")) { this.perception = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("WP")) { this.willPower = new Characteristic(cd, baseval); } else if (cd.Abbreviation.Equals("Fel")) { this.fellowship = new Characteristic(cd, baseval); } else { throw new Exception(string.Format("Unknown characteristic '{0}'", cd.Abbreviation)); } }
public void NewCharacteristic(CharacteristicDescription cd, int baseval) { if (cd.Abbreviation.Equals("WS")) this.weaponSkill = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("BS")) this.ballisticSkill = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("S")) this.strength = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("T")) this.toughness = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("Ag")) this.agility = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("Int")) this.intelligence = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("Per")) this.perception = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("WP")) this.willPower = new Characteristic(cd, baseval); else if (cd.Abbreviation.Equals("Fel")) this.fellowship = new Characteristic(cd, baseval); else throw new Exception(string.Format("Unknown characteristic '{0}'", cd.Abbreviation)); }
public Characteristic(CharacteristicDescription description, int baseval) { this.description = description; this.baseValue = baseval; this.advancement = CharacteristicDescription.Advancement.None; }