private void CreateExtraEffects(AppliedCharacterEffect effectRuntime, GlobalState state)
        {
            effectRuntime.AddExtraEfect(new PenalizeAbilityBasedSkillsEffectBuilder(AbilityEnum.Strength, EffectTimeFrameEnum.Permanent, 4).GetCharacterEntry(state));
            effectRuntime.AddExtraEfect(new PenalizeAbilityBasedSkillsEffectBuilder(AbilityEnum.Dexterity, EffectTimeFrameEnum.Permanent, 4).GetCharacterEntry(state));

            // TODO: penalize sight-based/improved actions

            effectRuntime.AddExtraEfect(new DisabledSkillEffectBuilder(typeof(Spot), EffectTimeFrameEnum.Permanent).GetCharacterEntry(state));
            // TODO: disbale reading skills, navigation etc
        }
        public void RemoveEffect(Character character, AppliedCharacterEffect effect)
        {
            character.Effects.RemoveEffect(effect);

            this._library.CoreNotifications.ReportCharacterLostEffect(character, effect);
        }
示例#3
0
 public void ReportCharacterLostEffect(Character character, AppliedCharacterEffect effect)
 {
     throw new NotImplementedException();
 }
 private void CreateExtraEffects(AppliedCharacterEffect effectRuntime, GlobalState state)
 {
     effectRuntime.AddExtraEfect(new UnableToActEffectBuilder(EffectTimeFrameEnum.Temporary, this._penaltyRounds).GetCharacterEntry(state));
     effectRuntime.AddExtraEfect(new PenalizeDefenseEffectBuilder(EffectTimeFrameEnum.Temporary, this._penaltyRounds, 2).GetCharacterEntry(state));
 }
示例#5
0
 public void ReportCharacterReceivingEffect(Character character, AppliedCharacterEffect effectInfo,
                                            BaseEffectBuilder effectBuilder)
 {
     throw new NotImplementedException();
 }