public void EvilCreaturesTakeCommandUndead() { var wizard = CharacterTestTemplates.Wizard(); wizard.Alignment = CharacterAlignment.ChaoticEvil; var power = new PowerOverUndead(); wizard.Add(power); AssertCharacter.HasFeatToken("Command Undead", wizard); }
public void GoodCreaturesTakeTurnUndead() { var wizard = CharacterTestTemplates.Wizard(); wizard.Alignment = CharacterAlignment.ChaoticGood; var power = new PowerOverUndead(); wizard.Add(power); AssertCharacter.HasFeatToken("Turn Undead", wizard); }
public void ChoosesAFeatFromTheAvailableFeats() { var yaml = @" - name: Archery bonus-feats: - level: 1 feats: [feat one]".ParseYaml().Children.First(); var combatStyle = new CombatStyle(yaml); var character = CharacterTestTemplates.Ranger(); character.SetLevel(2); character.Add(combatStyle); var step = new SelectCombatStyleFeat(); step.ExecuteStep(character); AssertCharacter.HasFeatToken("feat one", character); }