Skip to content

Commit

Permalink
Merge pull request #1072 from wowsims/grileks_grinder
Browse files Browse the repository at this point in the history
Add Gri'lek's Grinder dragonkin AP bonus
  • Loading branch information
Foknetics authored Sep 18, 2024
2 parents 5c33dc2 + 6592532 commit 8b57a5a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sim/common/sod/item_effects/phase_5.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ const (
HaldberdOfSmiting = 230991
TigulesHarpoon = 231272
GrileksCarver = 231273
GrileksGrinder = 231274
PitchforkOfMadness = 231277
Stormwrath = 231387
WrathOfWray = 231779
LightningsCell = 231784
Windstriker = 231817
GrileksCarverBloodied = 231846
GrileksGrinderBloodied = 231847
TigulesHarpoonBloodied = 231849
WillOfArlokkBloodied = 231850
JekliksCrusherBloodied = 231861
Expand Down Expand Up @@ -57,6 +59,21 @@ func init() {
}
})

// https://www.wowhead.com/classic/item=231274/grileks-grinder
// +60 Attack Power when fighting Dragonkin.
core.NewItemEffect(GrileksGrinder, func(agent core.Agent) {
character := agent.GetCharacter()
if character.CurrentTarget.MobType == proto.MobType_MobTypeDragonkin {
character.PseudoStats.MobTypeAttackPower += 60
}
})
core.NewItemEffect(GrileksGrinderBloodied, func(agent core.Agent) {
character := agent.GetCharacter()
if character.CurrentTarget.MobType == proto.MobType_MobTypeDragonkin {
character.PseudoStats.MobTypeAttackPower += 60
}
})

// https://www.wowhead.com/classic/item=230991/halberd-of-smiting
// Equip: Chance to decapitate the target on a melee swing, causing 452 to 676 damage.
itemhelpers.CreateWeaponEquipProcDamage(HaldberdOfSmiting, "Halberd of Smiting", 2.1, 467819, core.SpellSchoolPhysical, 452, 224, 0.0, core.DefenseTypeMelee) // Works as phantom strike
Expand Down

0 comments on commit 8b57a5a

Please sign in to comment.