From 16960199eff61d261a8c166261f8546451cb3973 Mon Sep 17 00:00:00 2001 From: Vhaerlein Date: Sun, 7 Apr 2019 01:50:26 +0300 Subject: [PATCH] Alacrity changes for dps calculation. --- resources/profile.json | 25 +++++++++++++------------ src/Directory.Build.props | 2 +- src/Swtor.Dps.DamageModel/DpsUtils.cs | 3 ++- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/resources/profile.json b/resources/profile.json index 2b1bd2f..3bca596 100644 --- a/resources/profile.json +++ b/resources/profile.json @@ -10,21 +10,21 @@ "DamageType": 2 }, "OffHand": { - "DamageMin": 1169, - "DamageMax": 1754, - "Power": 2339, + "DamageMin": 1270, + "DamageMax": 1904, + "Power": 2540, "Multiplier": 0.55, "DamageType": 2 }, "StandardDamage": 7520, "StandardHealth": 40495, - "BaseMasteryPoints": 6514, - "BasePowerPoints": 4464, - "ExtraMasteryPoints": 240, - "AlacrityPoints": 1450, - "CriticalPoints": 1672, - "AccuracyPoints": 768, - "ExtraPowerPoints": 99, + "BaseMasteryPoints": 6792, + "BasePowerPoints": 4643, + "ExtraMasteryPoints": 82, + "AlacrityPoints": 1376, + "CriticalPoints": 2138, + "AccuracyPoints": 746, + "ExtraPowerPoints": 0, "MasteryMultiplier": 1.05, "BonusDamageMultiplier": 1.05, "BaseAccuracy": 1.01, @@ -90,7 +90,7 @@ "SurgeBonus": 0.0, "ForceOffHand": false, "Info": "Blade Barrage", - "ArmorReduction": 0.5 + "ArmorReduction": 0.75 }, { "Id": "16140965019692980555", @@ -110,7 +110,7 @@ "SurgeBonus": 0.0, "ForceOffHand": false, "Info": "Lance", - "ArmorReduction": 0.5 + "ArmorReduction": 0.75 }, { "Id": "16141016320264526909", @@ -158,6 +158,7 @@ ], "DefaultValues": { "Name": null, + "Description": null, "Active": false, "Duration": -1.0, "EnergyKineticDamageReduction": 0.39, diff --git a/src/Directory.Build.props b/src/Directory.Build.props index ad5a214..73e319d 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -11,6 +11,6 @@ - 1.0.84 + 1.0.85 diff --git a/src/Swtor.Dps.DamageModel/DpsUtils.cs b/src/Swtor.Dps.DamageModel/DpsUtils.cs index 9228c03..591541a 100644 --- a/src/Swtor.Dps.DamageModel/DpsUtils.cs +++ b/src/Swtor.Dps.DamageModel/DpsUtils.cs @@ -101,7 +101,8 @@ public static double CalculateDps(Session session, Configuration configuration) a => GetAbilityDamage(configuration, a, session.EnergyKineticDamageReduction, session.ElementalInternalDamageReduction, session.DefenseChance) * a.Activations * a.DamageMultiplier - * (a.Ability.IgnoresAlacrity ? 1 : 1 + configuration.GcdRoundedAlacrity) + * (a.Ability.IgnoresAlacrity ? 1 : 1 + (a.Ability.CooldownTime > 1.5 + ? configuration.Alacrity : configuration.GcdRoundedAlacrity)) ) / session.Duration; }