Skip to content

Commit

Permalink
Merge branch 'master' into feature/add-trinket-swapping
Browse files Browse the repository at this point in the history
  • Loading branch information
1337LutZ committed Jan 17, 2025
2 parents 4817d78 + 86c2697 commit f04f372
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sim/common/includes.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package common

// Just import other directories, so importing common from elsewhere is enough.
import (
// _ "github.com/wowsims/cata/sim/common/tbc"
_ "github.com/wowsims/cata/sim/common/cata"
_ "github.com/wowsims/cata/sim/common/tbc"
_ "github.com/wowsims/cata/sim/common/wotlk"
)
40 changes: 40 additions & 0 deletions sim/common/tbc/stat_bonus_procs.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
package tbc

import (
"time"

"github.com/wowsims/cata/sim/common/shared"
"github.com/wowsims/cata/sim/core"
"github.com/wowsims/cata/sim/core/stats"
)

func init() {
core.AddEffectsToTest = false

// Band of the Eternal Restorer
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Name: "Band of the Eternal Restorer",
ItemID: 29309,
AuraID: 35087,
Bonus: stats.Stats{stats.SpellPower: 93},
Duration: time.Second * 10,
Callback: core.CallbackOnSpellHitDealt,
ProcMask: core.ProcMaskSpellDamage | core.ProcMaskSpellHealing,
ProcChance: 0.15,
ICD: time.Second * 45,
})

// Shattered Sun Pendant of Restoration
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Name: "Light's Salvation",
ItemID: 34677,
AuraID: 45478,
Bonus: stats.Stats{stats.SpellPower: 117},
Duration: time.Second * 10,
Callback: core.CallbackOnSpellHitDealt,
ProcMask: core.ProcMaskSpellHealing,
ProcChance: 0.15,
ICD: time.Second * 45,
})

}
12 changes: 12 additions & 0 deletions sim/common/wotlk/stat_bonus_procs.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,18 @@ func init() {
// ProcChance: 0.10,
// ICD: time.Second * 60,
// })
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
// Ashen Band of Endless Wisdom
Name: "Chilling Knowledge",
ItemID: 50400,
AuraID: 72418,
Bonus: stats.Stats{stats.SpellPower: 285},
Duration: time.Second * 10,
Callback: core.CallbackOnSpellHitDealt,
ProcMask: core.ProcMaskSpellHealing,
ProcChance: 0.10,
ICD: time.Second * 60,
})
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
// Ashen Band of Endless Destruction
Name: "Frostforged Sage",
Expand Down
3 changes: 3 additions & 0 deletions ui/shaman/elemental/sim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,14 @@ const SPEC_CONFIG = registerSpecConfig(Spec.SpecElementalShaman, {
},
itemSwapSlots: [
ItemSlot.ItemSlotHead,
ItemSlot.ItemSlotNeck,
ItemSlot.ItemSlotShoulder,
ItemSlot.ItemSlotBack,
ItemSlot.ItemSlotChest,
ItemSlot.ItemSlotHands,
ItemSlot.ItemSlotLegs,
ItemSlot.ItemSlotFinger1,
ItemSlot.ItemSlotFinger2,
ItemSlot.ItemSlotTrinket1,
ItemSlot.ItemSlotTrinket2,
ItemSlot.ItemSlotMainHand,
Expand Down

0 comments on commit f04f372

Please sign in to comment.