Skip to content

Commit

Permalink
Merge branch 'master' into shaman
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Feb 8, 2024
2 parents af2da86 + 47dd615 commit 684042d
Show file tree
Hide file tree
Showing 36 changed files with 807 additions and 427 deletions.
1 change: 1 addition & 0 deletions proto/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ enum AgilityElixir {
ElixirOfGreaterAgility = 2;
ElixirOfLesserAgility = 3;
ScrollOfAgility = 4;
ElixirOfAgility = 5;
}

enum ManaRegenElixir {
Expand Down
1 change: 1 addition & 0 deletions proto/druid.proto
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ enum DruidRune {
RuneLegsSavageRoar = 407988;
RuneLegsLifebloom = 409824;
RuneLegsSkullBash = 410176;
RuneBeltEclipse = 408248;
}

message BalanceDruid {
Expand Down
131 changes: 0 additions & 131 deletions sim/_hunter/explosive_trap.go

This file was deleted.

98 changes: 0 additions & 98 deletions sim/_hunter/steady_shot.go

This file was deleted.

8 changes: 6 additions & 2 deletions sim/common/sod/melee_items.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,12 @@ func init() {
Duration: time.Second * 10,
OnGain: func(aura *core.Aura, sim *core.Simulation) {
character.MultiplyAttackSpeed(sim, 1.1)
character.MultiplyRangedSpeed(sim, 1.1)
character.PseudoStats.ThreatMultiplier *= 1.2
},
OnExpire: func(aura *core.Aura, sim *core.Simulation) {
character.MultiplyAttackSpeed(sim, 1.0/1.1)
character.MultiplyRangedSpeed(sim, 1.0/1.1)
character.PseudoStats.ThreatMultiplier /= 1.2
},
})
Expand Down Expand Up @@ -203,10 +205,12 @@ func init() {
ActionID: core.ActionID{SpellID: 437349},
Duration: time.Second * 10,
OnGain: func(aura *core.Aura, sim *core.Simulation) {
character.AddStatDynamic(sim, stats.MeleeHaste, 20)
character.MultiplyAttackSpeed(sim, 1.2)
character.MultiplyRangedSpeed(sim, 1.2)
},
OnExpire: func(aura *core.Aura, sim *core.Simulation) {
character.AddStatDynamic(sim, stats.MeleeHaste, -20)
character.MultiplyAttackSpeed(sim, 1.0/1.2)
character.MultiplyRangedSpeed(sim, 1.0/1.2)
},
})

Expand Down
1 change: 1 addition & 0 deletions sim/common/sod/melee_sets.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ var ItemSetStormshroud = core.NewItemSet(core.ItemSet{
},
4: func(a core.Agent) {
a.GetCharacter().AddStat(stats.AttackPower, 14)
a.GetCharacter().AddStat(stats.RangedAttackPower, 14)
},
},
})
1 change: 1 addition & 0 deletions sim/core/buffs.go
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,7 @@ func applyBuffEffects(agent Agent, raidBuffs *proto.RaidBuffs, partyBuffs *proto
// TODO: character.AddStat(stats.RangedCrit, 2 * CritRatingPerCritChance)
character.AddStat(stats.SpellHit, 3*SpellHitRatingPerHitChance)
character.AddStat(stats.AttackPower, 20)
character.AddStat(stats.RangedAttackPower, 20)
character.AddStat(stats.SpellPower, 25)
}

Expand Down
9 changes: 7 additions & 2 deletions sim/core/consumes.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ func applyConsumeEffects(agent Agent, partyBuffs *proto.PartyBuffs) {
character.AddStats(stats.Stats{
stats.Agility: 25,
})
case proto.AgilityElixir_ElixirOfAgility:
character.AddStats(stats.Stats{
stats.Agility: 15,
})
case proto.AgilityElixir_ElixirOfLesserAgility:
character.AddStats(stats.Stats{
stats.Agility: 8,
Expand Down Expand Up @@ -183,8 +187,9 @@ func applyConsumeEffects(agent Agent, partyBuffs *proto.PartyBuffs) {
switch consumes.EnchantedSigil {
case proto.EnchantedSigil_InnovationSigil:
character.AddStats(stats.Stats{
stats.AttackPower: 20,
stats.SpellPower: 20,
stats.AttackPower: 20,
stats.RangedAttackPower: 20,
stats.SpellPower: 20,
})
}
}
Expand Down
2 changes: 2 additions & 0 deletions sim/core/racials.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,12 @@ func applyRaceEffects(agent Agent) {
OnGain: func(aura *Aura, sim *Simulation) {
character.MultiplyCastSpeed(1.2)
character.MultiplyAttackSpeed(sim, 1.2)
character.MultiplyRangedSpeed(sim, 1.2)
},
OnExpire: func(aura *Aura, sim *Simulation) {
character.MultiplyCastSpeed(1 / 1.2)
character.MultiplyAttackSpeed(sim, 1/1.2)
character.MultiplyRangedSpeed(sim, 1/1.2)
},
})

Expand Down
9 changes: 9 additions & 0 deletions sim/druid/druid.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ const (

var TalentTreeSizes = [3]int{16, 16, 15}

const (
SpellCode_DruidWrath int32 = iota
SpellCode_DruidStarfire
SpellCode_DruidStarsurge
)

type Druid struct {
core.Character
SelfBuffs
Expand Down Expand Up @@ -72,6 +78,7 @@ type Druid struct {
ClearcastingAura *core.Aura
DemoralizingRoarAuras core.AuraArray
EnrageAura *core.Aura
EclipseAura *core.Aura
FaerieFireAuras core.AuraArray
FrenziedRegenerationAura *core.Aura
FuryOfStormrageAura *core.Aura
Expand All @@ -82,6 +89,8 @@ type Druid struct {
SurvivalInstinctsAura *core.Aura
TigersFuryAura *core.Aura
SavageRoarAura *core.Aura
SolarEclipseProcAura *core.Aura
LunarEclipseProcAura *core.Aura
WildStrikesBuffAura *core.Aura

BleedCategories core.ExclusiveCategoryArray
Expand Down
Loading

0 comments on commit 684042d

Please sign in to comment.