Esempio n. 1
0
 public RangeAttack(OffenseStats offenseAbilities,
                    CharacterSize size,
                    IWeapon weapon) : base(offenseAbilities, size, weapon)
 {
     AttackBonus.AddModifier(new StatisticStatModifier("Range Attack Bonus", offenseAbilities.RangeAttackBonus));
     this.AttackType = AttackTypes.Ranged;
 }
Esempio n. 2
0
 public MeleeAttack(OffenseStats offenseAbilities,
                    AbilityScore strength,
                    CharacterSize size,
                    IWeaponAttackStatistics weapon) : base(offenseAbilities, size, weapon)
 {
     this.strength = strength;
     AttackBonus.AddModifier(new StatisticStatModifier("Melee Attack Bonus", offenseAbilities.MeleeAttackBonus));
     DamageModifier.AddModifier(this.strength.UniversalStatModifier);
     this.AttackType = AttackTypes.Melee;
 }