Skip to content

Commit

Permalink
add guard for crusader strike
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Nov 18, 2024
1 parent 2d396ff commit 000a6d8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sim/paladin/item_sets_pve.go
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,10 @@ var ItemSetAvengersRadiance = core.NewItemSet(core.ItemSet{
Bonuses: map[int32]core.ApplyEffect{
2: func(agent core.Agent) {
paladin := agent.(PaladinAgent).GetPaladin()
if !paladin.hasRune(proto.PaladinRune_RuneHandsCrusaderStrike) {
return
}

paladin.OnSpellRegistered(func(spell *core.Spell) {
//"S03 - Item - TAQ - Paladin - Retribution 2P Bonus",
if spell.SpellCode == SpellCode_PaladinCrusaderStrike {
Expand Down

0 comments on commit 000a6d8

Please sign in to comment.