Skip to content

Commit

Permalink
Alacrity changes for dps calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vhaerlein committed Apr 6, 2019
1 parent 90db2f4 commit 1696019
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 14 deletions.
25 changes: 13 additions & 12 deletions resources/profile.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -90,7 +90,7 @@
"SurgeBonus": 0.0,
"ForceOffHand": false,
"Info": "Blade Barrage",
"ArmorReduction": 0.5
"ArmorReduction": 0.75
},
{
"Id": "16140965019692980555",
Expand All @@ -110,7 +110,7 @@
"SurgeBonus": 0.0,
"ForceOffHand": false,
"Info": "Lance",
"ArmorReduction": 0.5
"ArmorReduction": 0.75
},
{
"Id": "16141016320264526909",
Expand Down Expand Up @@ -158,6 +158,7 @@
],
"DefaultValues": {
"Name": null,
"Description": null,
"Active": false,
"Duration": -1.0,
"EnergyKineticDamageReduction": 0.39,
Expand Down
2 changes: 1 addition & 1 deletion src/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
</PropertyGroup>

<PropertyGroup>
<Version>1.0.84</Version>
<Version>1.0.85</Version>
</PropertyGroup>
</Project>
3 changes: 2 additions & 1 deletion src/Swtor.Dps.DamageModel/DpsUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 1696019

Please sign in to comment.