本文整理汇总了C#中ICharacter.IncreaseAbility方法的典型用法代码示例。如果您正苦于以下问题:C# ICharacter.IncreaseAbility方法的具体用法?C# ICharacter.IncreaseAbility怎么用?C# ICharacter.IncreaseAbility使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ICharacter
的用法示例。
在下文中一共展示了ICharacter.IncreaseAbility方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ClassModifyOnCreation
protected override void ClassModifyOnCreation(ICharacter subject)
{
subject.IncreaseAbility(AbilityType.Strength, 2);
subject.DecreaseAbility(AbilityType.Intelligence, 2);
subject.DecreaseAbility(AbilityType.Charisma, 2);
subject.Features.Add(Feature.DarkVision);
}
示例2: ClassModifyOnCreation
protected override void ClassModifyOnCreation(ICharacter subject)
{
subject.IncreaseAbility(AbilityType.Constitution, 2);
subject.DecreaseAbility(AbilityType.Charisma, 2);
subject.Features.Add(Feature.DarkVision);
subject.Features.Add(Feature.WeaponFamiliarity);
subject.Features.Add(Feature.StoneCunning);
subject.Features.Add(Feature.Stability);
}
示例3: ClassModifyOnCreation
protected override void ClassModifyOnCreation(ICharacter subject)
{
subject.IncreaseAbility(AbilityType.Constitution, 2);
subject.DecreaseAbility(AbilityType.Strength, 2);
subject.Features.Add(Feature.LowLightVision);
subject.Skills.IncreaseBonus(SkillType.Listen, 2);
subject.Skills.IncreaseBonus(SkillType.Craft, 2);
}
示例4: ClassModifyOnCreation
protected override void ClassModifyOnCreation(ICharacter subject)
{
subject.IncreaseAbility(AbilityType.Dexterity, 2);
subject.DecreaseAbility(AbilityType.Strength, 2);
subject.Features.Add(Feature.LowLightVision);
subject.Skills.IncreaseBonus(SkillType.Climb, 2);
subject.Skills.IncreaseBonus(SkillType.Listen, 2);
subject.Skills.IncreaseBonus(SkillType.Jump, 2);
subject.Skills.IncreaseBonus(SkillType.MoveSilently, 2);
subject.Saves.AddBonus(SaveType.Reflex, 1);
subject.Saves.AddBonus(SaveType.Will, 1);
subject.Saves.AddBonus(SaveType.Fortitude, 1);
}