Skip to content
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
3 changes: 1 addition & 2 deletions sim/paladin/item_sets_pve.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package paladin

import (
"time"

"github.com/wowsims/classic/sim/core"
"github.com/wowsims/classic/sim/core/proto"
"github.com/wowsims/classic/sim/core/stats"
)

Expand Down Expand Up @@ -61,6 +59,7 @@ var ItemSetSoulforgeArmor = core.NewItemSet(core.ItemSet{
spell.CalcAndDealDamage(sim, target, sim.Roll(60, 66), spell.OutcomeMagicCrit)
}
},
}
})
},
},
Expand Down
2 changes: 0 additions & 2 deletions sim/priest/item_sets_pve.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package priest

import (
"slices"
"time"

"github.com/wowsims/classic/sim/core"
"github.com/wowsims/classic/sim/core/proto"
"github.com/wowsims/classic/sim/core/stats"
)

Expand Down
4 changes: 2 additions & 2 deletions sim/priest/priest.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const (
const (
SpellCode_PriestNone int32 = iota

SpellCode_PriestStarshards
SpellCode_PriestDevouringPlague
SpellCode_PriestFlashHeal
SpellCode_PriestGreaterHeal
Expand All @@ -25,6 +24,7 @@ const (
SpellCode_PriestMindFlay
SpellCode_PriestShadowWordPain
SpellCode_PriestSmite
SpellCode_PriestStarshards
SpellCode_PriestVampiricTouch
)

Expand All @@ -51,7 +51,7 @@ type Priest struct {
ShadowWeavingProc *core.Spell
ShadowWordPain []*core.Spell
Smite []*core.Spell
Starshards []*core.Spell
Starshards [][]*core.Spell
VampiricEmbrace *core.Spell

InnerFocusAura *core.Aura
Expand Down
2 changes: 1 addition & 1 deletion sim/priest/smite.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var SmiteCastTime = [SmiteRanks + 1]int{0, 1500, 2000, 2500, 2500, 2500, 2500, 2
var SmiteManaCost = [SmiteRanks + 1]float64{0, 20, 30, 60, 95, 140, 185, 230, 280}
var SmiteLevel = [SmiteRanks + 1]int{0, 1, 6, 14, 22, 30, 38, 46, 54}

func (priest *Priest) RegisterSmiteSpell() {
func (priest *Priest) registerSmiteSpell() {
priest.Smite = make([]*core.Spell, SmiteRanks+1)

for rank := 1; rank <= SmiteRanks; rank++ {
Expand Down
7 changes: 2 additions & 5 deletions sim/priest/starshards.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,8 @@ var StarshardsBaseDamage = [StarshardsRanks + 1]float64{0, 84, 162, 288, 414, 57
var StarshardsManaCost = [StarshardsRanks + 1]float64{0, 50, 85, 140, 190, 245, 300, 350}
var StarshardsLevel = [StarshardsRanks + 1]int{0, 10, 18, 26, 34, 42, 50, 58}

func (priest *Priest) registerStarshards() {
if !priest.Race.NightElf { //not sure, if this works.. can anyone confirm? xD
return
}
Comment on lines -20 to -22
Copy link
Contributor

@kayla-glick kayla-glick Apr 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be what you're looking for here 😄

if priest.Race != proto.Race_RaceNightElf {
  return
}


func (priest *Priest) registerStarshardsSpell() {

priest.Starshards = make([][]*core.Spell, StarshardsRanks+1)

for rank := 1; rank <= StarshardsRanks; rank++ {
Expand Down
2 changes: 1 addition & 1 deletion ui/core/launched_sims.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const simLaunchStatuses: Record<Spec, SimStatus> = {
},
[Spec.SpecShadowPriest]: {
phase: Phase.Phase1,
status: LaunchStatus.Unlaunched,
status: LaunchStatus.Alpha,
},
[Spec.SpecWarlock]: {
phase: Phase.Phase1,
Expand Down
4 changes: 2 additions & 2 deletions ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ <h3 class="expansion-title w-100 mb-0">Classic</h3>
</div> -->

<div class="sim-links">
<a href="#" class="sim-link text-priest">
<a href="/classic/priest/" class="sim-link text-priest">
<div class="sim-link-content">
<img src="https://wow.zamimg.com/images/wow/icons/large/class_priest.jpg" class="sim-link-icon" />
<div class="d-flex flex-column">
<span class="sim-link-title">Priest</span>
<span class="launch-status-label text-brand">Phase 1 - Unreleased</span>
<span class="launch-status-label text-brand">Phase 1 - Alpha</span>
</div>
</div>
</a>
Expand Down