Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates formula for Blood Fury to include agility AP for rogues #876

Merged
merged 3 commits into from
Jul 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sim/core/base_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,18 @@ var APPerStrength = map[proto.Class]float64{
proto.Class_ClassDruid: 2,
}

var APPerAgility = map[proto.Class]float64{
proto.Class_ClassWarrior: 0,
proto.Class_ClassPaladin: 0,
proto.Class_ClassHunter: 0,
proto.Class_ClassRogue: 1,
proto.Class_ClassPriest: 0,
proto.Class_ClassShaman: 0,
proto.Class_ClassMage: 0,
proto.Class_ClassWarlock: 0,
proto.Class_ClassDruid: 1,
}

// Melee/Ranged crit agi scaling
var CritPerAgiAtLevel = map[proto.Class]map[int]float64{
proto.Class_ClassUnknown: {25: 0.0, 40: 0.0, 50: 0.0, 60: 0.0},
Expand Down
2 changes: 1 addition & 1 deletion sim/core/racials.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func applyRaceEffects(agent Agent) {
Duration: time.Second * 15,
// Tooltip is misleading; ap bonus is base AP plus AP from current strength, does not include +attackpower on items/buffs
OnGain: func(aura *Aura, sim *Simulation) {
bloodFuryAP = (character.GetBaseStats()[stats.AttackPower] + (character.GetStat(stats.Strength) * APPerStrength[character.Class])) * 0.25
bloodFuryAP = (character.GetBaseStats()[stats.AttackPower] + (character.GetStat(stats.Strength) * APPerStrength[character.Class]) + (character.GetStat(stats.Agility) * APPerAgility[character.Class])) * 0.25
character.AddStatDynamic(sim, stats.AttackPower, bloodFuryAP)
},

Expand Down
48 changes: 24 additions & 24 deletions sim/rogue/dps_rogue/TestAssassination.results
Original file line number Diff line number Diff line change
Expand Up @@ -253,43 +253,43 @@ dps_results: {
dps_results: {
key: "TestAssassination-Lvl25-Settings-Orc-p1_daggers-No Poisons-mutilate-FullBuffs-Phase 1 Consumes-LongMultiTarget"
value: {
dps: 131.16598
tps: 93.12785
dps: 131.95123
tps: 93.68537
}
}
dps_results: {
key: "TestAssassination-Lvl25-Settings-Orc-p1_daggers-No Poisons-mutilate-FullBuffs-Phase 1 Consumes-LongSingleTarget"
value: {
dps: 131.16598
tps: 93.12785
dps: 131.95123
tps: 93.68537
}
}
dps_results: {
key: "TestAssassination-Lvl25-Settings-Orc-p1_daggers-No Poisons-mutilate-FullBuffs-Phase 1 Consumes-ShortSingleTarget"
value: {
dps: 140.20728
tps: 99.54717
dps: 141.76517
tps: 100.65327
}
}
dps_results: {
key: "TestAssassination-Lvl25-Settings-Orc-p1_daggers-No Poisons-mutilate-NoBuffs-Phase 1 Consumes-LongMultiTarget"
value: {
dps: 61.31141
tps: 43.5311
dps: 61.76212
tps: 43.85111
}
}
dps_results: {
key: "TestAssassination-Lvl25-Settings-Orc-p1_daggers-No Poisons-mutilate-NoBuffs-Phase 1 Consumes-LongSingleTarget"
value: {
dps: 61.31141
tps: 43.5311
dps: 61.76212
tps: 43.85111
}
}
dps_results: {
key: "TestAssassination-Lvl25-Settings-Orc-p1_daggers-No Poisons-mutilate-NoBuffs-Phase 1 Consumes-ShortSingleTarget"
value: {
dps: 64.90476
tps: 46.08238
dps: 65.8156
tps: 46.72908
}
}
dps_results: {
Expand Down Expand Up @@ -358,43 +358,43 @@ dps_results: {
dps_results: {
key: "TestAssassination-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-FullBuffs-Phase 2 Consumes-LongMultiTarget"
value: {
dps: 294.21124
tps: 208.88998
dps: 295.98151
tps: 210.14687
}
}
dps_results: {
key: "TestAssassination-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-FullBuffs-Phase 2 Consumes-LongSingleTarget"
value: {
dps: 294.21124
tps: 208.88998
dps: 295.98151
tps: 210.14687
}
}
dps_results: {
key: "TestAssassination-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-FullBuffs-Phase 2 Consumes-ShortSingleTarget"
value: {
dps: 317.15897
tps: 225.18287
dps: 321.00439
tps: 227.91312
}
}
dps_results: {
key: "TestAssassination-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-NoBuffs-Phase 2 Consumes-LongMultiTarget"
value: {
dps: 155.90753
tps: 110.69434
dps: 157.00571
tps: 111.47406
}
}
dps_results: {
key: "TestAssassination-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-NoBuffs-Phase 2 Consumes-LongSingleTarget"
value: {
dps: 155.90753
tps: 110.69434
dps: 157.00571
tps: 111.47406
}
}
dps_results: {
key: "TestAssassination-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-NoBuffs-Phase 2 Consumes-ShortSingleTarget"
value: {
dps: 166.41612
tps: 118.15545
dps: 168.8095
tps: 119.85474
}
}
dps_results: {
Expand Down
24 changes: 12 additions & 12 deletions sim/rogue/dps_rogue/TestCombat.results
Original file line number Diff line number Diff line change
Expand Up @@ -358,43 +358,43 @@ dps_results: {
dps_results: {
key: "TestCombat-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-FullBuffs-Phase 2 Consumes-LongMultiTarget"
value: {
dps: 221.66081
tps: 157.37918
dps: 223.6725
tps: 158.80747
}
}
dps_results: {
key: "TestCombat-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-FullBuffs-Phase 2 Consumes-LongSingleTarget"
value: {
dps: 192.32796
tps: 136.55285
dps: 193.46249
tps: 137.35836
}
}
dps_results: {
key: "TestCombat-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-FullBuffs-Phase 2 Consumes-ShortSingleTarget"
value: {
dps: 252.34822
tps: 179.16724
dps: 255.55287
tps: 181.44254
}
}
dps_results: {
key: "TestCombat-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-NoBuffs-Phase 2 Consumes-LongMultiTarget"
value: {
dps: 116.66216
tps: 82.83013
dps: 117.87582
tps: 83.69183
}
}
dps_results: {
key: "TestCombat-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-NoBuffs-Phase 2 Consumes-LongSingleTarget"
value: {
dps: 101.66278
tps: 72.18058
dps: 102.35573
tps: 72.67257
}
}
dps_results: {
key: "TestCombat-Lvl40-Settings-Orc-p2_daggers-No Poisons-mutilate-NoBuffs-Phase 2 Consumes-ShortSingleTarget"
value: {
dps: 132.8841
tps: 94.34771
dps: 134.85715
tps: 95.74857
}
}
dps_results: {
Expand Down
Loading