Skip to content

Commit

Permalink
remove extra code
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamrch committed Nov 24, 2024
1 parent dcbd6e0 commit 92ade29
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions sim/paladin/items.go
Original file line number Diff line number Diff line change
Expand Up @@ -344,30 +344,3 @@ func crusadersZealAura465414(character *core.Character) *core.Aura {
},
})
}

func ApplyLibramOfSanctityAura(unit *core.Unit) *core.Aura {

sanctityLibramAura := unit.GetOrRegisterAura(core.Aura{
ActionID: core.ActionID{SpellID: 1214298},
Label: "Libram of Sanctity",
Duration: time.Minute * 1,

OnGain: func(aura *core.Aura, sim *core.Simulation) {
sanctityAura := aura.Unit.GetAuraByID(core.ActionID{SpellID: 20218})

if sanctityAura == nil || !sanctityAura.IsActive() {
aura.Unit.PseudoStats.SchoolDamageDealtMultiplier[stats.SchoolIndexHoly] *= 1.1
}
},
OnExpire: func(aura *core.Aura, sim *core.Simulation) {
sanctityAura := aura.Unit.GetAuraByID(core.ActionID{SpellID: 20218})

if sanctityAura == nil || !sanctityAura.IsActive() {
aura.Unit.PseudoStats.SchoolDamageDealtMultiplier[stats.SchoolIndexHoly] /= 1.1
}
},
})

return sanctityLibramAura

}

0 comments on commit 92ade29

Please sign in to comment.