示例#1
0
文件: DefendModel.cs 项目: rakot/rawr
 public DefendModel(Player player)
 {
     Player      = player;
     AttackSpeed = Lookup.TargetWeaponSpeed(Player);
     DefendTable = new DefendTable(Player);
     Calculate();
 }
示例#2
0
 public DefendModel(Player player)
 {
     Player      = player;
     AttackSpeed = Lookup.TargetWeaponSpeed(Player);
     DefendTable = new DefendTable(Player);
     Calculate();
 }
示例#3
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();
        }
示例#4
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();
 }
示例#5
0
        public ParryModel(Character character, Stats stats, CalculationOptionsProtWarr options)
        {
            Character   = character;
            Stats       = stats;
            Options     = options;
            AttackTable = new AttackTable(character, stats, options);
            DefendTable = new DefendTable(character, stats, options);

            Calculate();
        }
示例#6
0
        public AttackModel(Player player, AttackModelMode attackModelMode, RageModelMode rageModelMode)
        {
            Player           = player;
            DefendTable      = new DefendTable(Player);
            _attackModelMode = attackModelMode;
            _rageModelMode   = rageModelMode;

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

            Calculate();
        }
示例#7
0
        public AttackModel(Player player, AttackModelMode attackModelMode, RageModelMode rageModelMode)
        {
            Player           = player;
            DefendTable      = new DefendTable(Player);
            _attackModelMode = attackModelMode;
            _rageModelMode   = rageModelMode;

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

            Calculate();
        }