Skip to content

Commit

Permalink
Merge pull request #129 from tyler-cb/master
Browse files Browse the repository at this point in the history
Totem of Invigorating Flame + Vanilla Blood Fury
  • Loading branch information
kayla-glick authored Feb 10, 2024
2 parents da91c8d + 6a4c306 commit e3ca4b2
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 123 deletions.
18 changes: 15 additions & 3 deletions sim/core/racials.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,21 @@ func applyRaceEffects(agent Agent) {

// Blood Fury
actionID := ActionID{SpellID: 20572}
apBonus := float64(character.Level)*4 + 2
spBonus := float64(character.Level)*2 + 3
bloodFuryAura := character.NewTemporaryStatsAura("Blood Fury", actionID, stats.Stats{stats.AttackPower: apBonus, stats.RangedAttackPower: apBonus, stats.SpellPower: spBonus}, time.Second*15)
var bloodFuryAP float64
bloodFuryAura := character.RegisterAura(Aura{
Label: "Blood Fury",
ActionID: actionID,
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) * 2)) * 0.25
character.AddStatDynamic(sim, stats.AttackPower, bloodFuryAP)
},

OnExpire: func(aura *Aura, sim *Simulation) {
character.AddStatDynamic(sim, stats.AttackPower, -bloodFuryAP)
},
})

spell := character.RegisterSpell(SpellConfig{
ActionID: actionID,
Expand Down
108 changes: 54 additions & 54 deletions sim/shaman/elemental/TestElemental.results
Original file line number Diff line number Diff line change
Expand Up @@ -276,15 +276,15 @@ dps_results: {
dps_results: {
key: "TestElemental-Settings-Orc-25-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 99.99865
tps: 203.26717
dps: 101.94235
tps: 205.21637
}
}
dps_results: {
key: "TestElemental-Settings-Orc-25-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 99.99865
tps: 85.67617
dps: 101.94235
tps: 87.70377
}
}
dps_results: {
Expand All @@ -297,15 +297,15 @@ dps_results: {
dps_results: {
key: "TestElemental-Settings-Orc-25-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 71.95762
tps: 113.47317
dps: 73.00089
tps: 114.53869
}
}
dps_results: {
key: "TestElemental-Settings-Orc-25-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 71.95762
tps: 58.75317
dps: 73.00089
tps: 59.81869
}
}
dps_results: {
Expand Down Expand Up @@ -445,35 +445,35 @@ dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 185.25115
tps: 374.38388
tps: 365.12612
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 185.25115
tps: 160.95591
tps: 160.49302
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-ShortSingleTarget"
value: {
dps: 183.50437
tps: 154.87791
tps: 154.03296
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 131.59278
tps: 184.85257
dps: 133.86422
tps: 186.8011
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 131.59278
tps: 108.33007
dps: 133.86422
tps: 110.2786
}
}
dps_results: {
Expand All @@ -486,43 +486,43 @@ dps_results: {
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_2-FullBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 216.36131
tps: 425.96983
dps: 217.80638
tps: 428.47373
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_2-FullBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 177.53581
tps: 152.19284
dps: 177.38904
tps: 150.67211
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_2-FullBuffs-Full Consumes-ShortSingleTarget"
value: {
dps: 259.64369
tps: 221.14113
dps: 259.79369
tps: 221.36504
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_2-NoBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 119.3379
tps: 155.87204
dps: 119.44511
tps: 156.72679
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_2-NoBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 105.12157
tps: 82.03985
dps: 105.82261
tps: 82.84203
}
}
dps_results: {
key: "TestElemental-Settings-Orc-40-phase_2-Adaptive-phase_2-NoBuffs-Full Consumes-ShortSingleTarget"
value: {
dps: 186.87554
tps: 150.33708
dps: 189.27769
tps: 151.74858
}
}
dps_results: {
Expand Down Expand Up @@ -612,15 +612,15 @@ dps_results: {
dps_results: {
key: "TestElemental-Settings-Troll-25-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 99.83298
tps: 201.56158
dps: 102.08705
tps: 203.54409
}
}
dps_results: {
key: "TestElemental-Settings-Troll-25-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 99.83298
tps: 85.53808
dps: 102.08705
tps: 87.52059
}
}
dps_results: {
Expand All @@ -633,15 +633,15 @@ dps_results: {
dps_results: {
key: "TestElemental-Settings-Troll-25-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 71.25443
tps: 112.29392
dps: 72.7751
tps: 113.95267
}
}
dps_results: {
key: "TestElemental-Settings-Troll-25-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 71.25443
tps: 58.14392
dps: 72.7751
tps: 59.80267
}
}
dps_results: {
Expand Down Expand Up @@ -781,35 +781,35 @@ dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 185.25115
tps: 374.52159
tps: 366.8814
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 185.25115
tps: 160.9628
tps: 160.58079
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_1-FullBuffs-Full Consumes-ShortSingleTarget"
value: {
dps: 183.50437
tps: 155.15768
tps: 154.06446
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 130.82742
tps: 182.77437
dps: 132.28064
tps: 183.90068
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_1-NoBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 130.82742
tps: 107.67687
dps: 132.28064
tps: 108.80318
}
}
dps_results: {
Expand All @@ -822,43 +822,43 @@ dps_results: {
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_2-FullBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 217.48012
tps: 425.64771
dps: 216.6775
tps: 424.66824
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_2-FullBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 175.79317
tps: 150.57659
dps: 175.38649
tps: 150.22859
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_2-FullBuffs-Full Consumes-ShortSingleTarget"
value: {
dps: 259.56004
tps: 221.06666
dps: 259.4167
tps: 220.98188
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_2-NoBuffs-Full Consumes-LongMultiTarget"
value: {
dps: 121.39197
tps: 155.93506
dps: 121.33454
tps: 156.39575
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_2-NoBuffs-Full Consumes-LongSingleTarget"
value: {
dps: 104.06827
tps: 81.58577
dps: 106.19463
tps: 82.73506
}
}
dps_results: {
key: "TestElemental-Settings-Troll-40-phase_2-Adaptive-phase_2-NoBuffs-Full Consumes-ShortSingleTarget"
value: {
dps: 183.88682
tps: 147.42376
dps: 186.64347
tps: 149.97423
}
}
dps_results: {
Expand Down
Loading

0 comments on commit e3ca4b2

Please sign in to comment.