public AttackModel(Character character, Base.StatsPaladin stats, CalculationOptionsProtPaladin calcOpts, BossOptions bossOpts) { Character = character; CalcOpts = calcOpts; BossOpts = bossOpts; Stats = stats; DefendTable = new DefendTable(character, stats, calcOpts, bossOpts); ParryModel = new ParryModel(character, stats, calcOpts, bossOpts); Abilities.Add(Ability.AvengersShield, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.CensureTick, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.Consecration, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.CrusaderStrike, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HammerOfTheRighteous, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HammerOfTheRighteousProc, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HammerOfWrath, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HolyWrath, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.JudgementOfRighteousness, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.JudgementOfTruth, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.MeleeSwing, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.RetributionAura, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.SealOfRighteousness, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.SealOfTruth, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.ShieldOfTheRighteous, character, stats, calcOpts, bossOpts); Calculate(); }
public AttackModel(Character character, Stats stats, AttackModelMode attackModelMode, CalculationOptionsProtPaladin calcOpts) #endif { Character = character; CalcOpts = calcOpts; #if (RAWR3) BossOpts = bossOpts; #endif Stats = stats; #if (RAWR3) DefendTable = new DefendTable(character, stats, calcOpts, bossOpts, true); ParryModel = new ParryModel(character, stats, calcOpts, bossOpts); #else DefendTable = new DefendTable(character, stats, calcOpts, true); ParryModel = new ParryModel(character, stats, calcOpts); #endif _attackModelMode = attackModelMode; #if (RAWR3) Abilities.Add(Ability.None, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.ShieldOfRighteousness, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HammerOfTheRighteous, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.SealOfVengeance, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HolyVengeance, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.JudgementOfVengeance, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.SealOfRighteousness, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.JudgementOfRighteousness, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.Exorcism, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HammerOfWrath, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.AvengersShield, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HolyShield, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.RetributionAura, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.HolyWrath, character, stats, calcOpts, bossOpts); Abilities.Add(Ability.Consecration, character, stats, calcOpts, bossOpts); #else Abilities.Add(Ability.None, character, stats, calcOpts); Abilities.Add(Ability.ShieldOfRighteousness, character, stats, calcOpts); Abilities.Add(Ability.HammerOfTheRighteous, character, stats, calcOpts); Abilities.Add(Ability.SealOfVengeance, character, stats, calcOpts); Abilities.Add(Ability.HolyVengeance, character, stats, calcOpts); Abilities.Add(Ability.JudgementOfVengeance, character, stats, calcOpts); Abilities.Add(Ability.SealOfRighteousness, character, stats, calcOpts); Abilities.Add(Ability.JudgementOfRighteousness, character, stats, calcOpts); Abilities.Add(Ability.Exorcism, character, stats, calcOpts); Abilities.Add(Ability.HammerOfWrath, character, stats, calcOpts); Abilities.Add(Ability.AvengersShield, character, stats, calcOpts); Abilities.Add(Ability.HolyShield, character, stats, calcOpts); Abilities.Add(Ability.RetributionAura, character, stats, calcOpts); Abilities.Add(Ability.HolyWrath, character, stats, calcOpts); Abilities.Add(Ability.Consecration, character, stats, calcOpts); #endif Calculate(); }
public DefendModel(Character character, Base.StatsPaladin stats, CalculationOptionsProtPaladin calcOpts, BossOptions bossOpts) { Character = character; Stats = stats; CalcOpts = calcOpts; BossOpts = bossOpts; ParryModel = new ParryModel(character, stats, calcOpts, bossOpts); DefendTable = new DefendTable(character, stats, calcOpts, bossOpts); Calculate(); }
public DefendModel(Character character, Stats stats, CalculationOptionsProtPaladin calcOpts, bool useHolyShield) #endif { Character = character; Stats = stats; CalcOpts = calcOpts; #if (RAWR3) BossOpts = bossOpts; #endif #if (RAWR3) ParryModel = new ParryModel(character, stats, calcOpts, bossOpts); DefendTable = new DefendTable(character, stats, calcOpts, bossOpts, useHolyShield); #else ParryModel = new ParryModel(character, stats, calcOpts); DefendTable = new DefendTable(character, stats, calcOpts, useHolyShield); #endif Calculate(); }