Exemplo n.º 1
0
        public AttackModel(Character character, Stats stats, AttackModelMode attackModelMode, RageModelMode rageModelMode)
        {
            Character        = character;
            Options          = Character.CalculationOptions as CalculationOptionsProtWarr;
            Stats            = stats;
            DefendTable      = new DefendTable(character, stats);
            ParryModel       = new ParryModel(character, stats);
            _attackModelMode = attackModelMode;
            _rageModelMode   = rageModelMode;

            Abilities.Add(Ability.None, character, stats);
            Abilities.Add(Ability.Cleave, character, stats);
            Abilities.Add(Ability.ConcussionBlow, character, stats);
            Abilities.Add(Ability.DamageShield, character, stats);
            Abilities.Add(Ability.DeepWounds, character, stats);
            Abilities.Add(Ability.Devastate, character, stats);
            Abilities.Add(Ability.HeroicStrike, character, stats);
            Abilities.Add(Ability.HeroicThrow, character, stats);
            Abilities.Add(Ability.Rend, character, stats);
            Abilities.Add(Ability.Revenge, character, stats);
            Abilities.Add(Ability.ShieldSlam, character, stats);
            Abilities.Add(Ability.Shockwave, character, stats);
            Abilities.Add(Ability.Slam, character, stats);
            Abilities.Add(Ability.SunderArmor, character, stats);
            Abilities.Add(Ability.ThunderClap, character, stats);
            Abilities.Add(Ability.Vigilance, character, stats);

            Calculate();
        }
Exemplo n.º 2
0
 public DefendModel(Character character, Stats stats)
 {
     Character   = character;
     Stats       = stats;
     Options     = Character.CalculationOptions as CalculationOptionsProtWarr;
     ParryModel  = new ParryModel(character, stats);
     DefendTable = new DefendTable(character, stats);
     Calculate();
 }