Skip to content

Commit

Permalink
add thorns damage from essence of the pure flame
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Jan 12, 2025
1 parent b56c84c commit 409153e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
14 changes: 7 additions & 7 deletions sim/common/sod/item_effects/phase_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ func init() {
///////////////////////////////////////////////////////////////////////////

// https://www.wowhead.com/classic/item=233992/lodestone-of-retaliation
// When struck in combat inflicts 80 Nature damage to the attacker.
// Equip: When struck in combat inflicts 80 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(LodestoneOfRetaliation, func(agent core.Agent) {
thornsNatureDamageEffect(agent, LodestoneOfRetaliation, "Lodestone of Retaliation", 80)
Expand Down Expand Up @@ -311,42 +311,42 @@ func init() {
})

// https://www.wowhead.com/classic/item=233808/razorbramble-cowl
// When struck in combat inflicts 100 Nature damage to the attacker.
// Equip: When struck in combat inflicts 100 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(RazorbrambleCowl, func(agent core.Agent) {
thornsNatureDamageEffect(agent, RazorbrambleCowl, "Razorbramble Cowl", 100)
})

// https://www.wowhead.com/classic/item=233813/razorbramble-leathers
// When struck in combat inflicts 100 Nature damage to the attacker.
// Equip: When struck in combat inflicts 100 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(RazorbrambleLeathers, func(agent core.Agent) {
thornsNatureDamageEffect(agent, RazorbrambleLeathers, "Razorbramble Leathers", 100)
})

// https://www.wowhead.com/classic/item=233804/razorbramble-shoulderpads
// When struck in combat inflicts 80 Nature damage to the attacker.
// Equip: When struck in combat inflicts 80 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(RazorbrambleShoulderpads, func(agent core.Agent) {
thornsNatureDamageEffect(agent, RazorbrambleShoulderpads, "Razorbramble Shoulderpads", 80)
})

// https://www.wowhead.com/classic/item=233492/razorspike-battleplate
// When struck in combat inflicts 100 Nature damage to the attacker.
// Equip: When struck in combat inflicts 100 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(RazorspikeBattleplate, func(agent core.Agent) {
thornsNatureDamageEffect(agent, RazorspikeBattleplate, "Razorspike Battleplate", 100)
})

// https://www.wowhead.com/classic/item=233795/razorspike-headcage
// When struck in combat inflicts 100 Nature damage to the attacker.
// Equip: When struck in combat inflicts 100 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(RazorspikeHeadcage, func(agent core.Agent) {
thornsNatureDamageEffect(agent, RazorspikeHeadcage, "Razorspike Headcage", 100)
})

// https://www.wowhead.com/classic/item=233793/razorspike-shoulderplates
// When struck in combat inflicts 80 Nature damage to the attacker.
// Equip: When struck in combat inflicts 80 Nature damage to the attacker.
// Causes twice as much threat as damage dealt.
core.NewItemEffect(RazorspikeShoulderplates, func(agent core.Agent) {
thornsNatureDamageEffect(agent, RazorspikeShoulderplates, "Razorspike Shoulderplates", 80)
Expand Down
7 changes: 4 additions & 3 deletions sim/common/vanilla/item_effects.go
Original file line number Diff line number Diff line change
Expand Up @@ -2347,13 +2347,14 @@ func init() {
// Equip: When struck in combat inflicts 50 Fire damage to the attacker.
core.NewItemEffect(EssenceOfThePureFlame, func(agent core.Agent) {
character := agent.GetCharacter()
character.PseudoStats.ThornsDamage += 50

procSpell := character.GetOrRegisterSpell(core.SpellConfig{
ActionID: core.ActionID{SpellID: 461694},
SpellSchool: core.SpellSchoolFire,
DefenseType: core.DefenseTypeMagic,
ProcMask: core.ProcMaskEmpty,
Flags: core.SpellFlagNoOnCastComplete | core.SpellFlagPassiveSpell,
Flags: core.SpellFlagBinary | core.SpellFlagNoOnCastComplete | core.SpellFlagPassiveSpell,

DamageMultiplier: 1,
ThreatMultiplier: 1,
Expand Down Expand Up @@ -2902,7 +2903,7 @@ func init() {
})

// https://www.wowhead.com/classic/item=228266/drillborer-disk
// When struck in combat inflicts 3 Arcane damage to the attacker.
// Equip: When struck in combat inflicts 3 Arcane damage to the attacker.
core.NewItemEffect(DrillborerDisk, func(agent core.Agent) {
thornsArcaneDamageEffect(agent, DrillborerDisk, "Drillborer Disk", 3)
})
Expand All @@ -2911,7 +2912,7 @@ func init() {
})

// https://www.wowhead.com/classic/item=11669/naglering
// When struck in combat inflicts 3 Arcane damage to the attacker.
// Equip: When struck in combat inflicts 3 Arcane damage to the attacker.
core.NewItemEffect(Naglering, func(agent core.Agent) {
thornsArcaneDamageEffect(agent, Naglering, "Naglering", 3)
})
Expand Down

0 comments on commit 409153e

Please sign in to comment.