Documentation
¶
Index ¶
- Variables
- func RegisterAllEnchants()
- func RegisterAllExplosives()
- func RegisterAllItemGuardians()
- func RegisterAllOnUseCds()
- func RegisterAllProcs()
- func RegisterAllSetBonuses()
- func RegisterAllStatConsumables()
- func RegisterAllTemporaryEnchantConsumables()
- func RegisterPotionsAndConjured()
- type NaturalFlaskZoneBonus
Constants ¶
This section is empty.
Variables ¶
var GuardianCreatures = map[int32]shared.GuardianCreature{
8776: emeraldDragonWhelp,
11200: summonedSkeleton,
277729: arcaneElemental,
}
The guardians item summons put up, by the creature id the summon's E_SUMMON names: what the game files do not state, measured in logs. A use item whose creature has no entry here keeps only its stats. A summon on a proc or a set bonus is wired by hand; its creature is listed here as well.
var ItemSetBattlegearOfHeroismReissue = core.NewItemSet(core.ItemSet{ ID: 1778, Name: "Battlegear of Heroism", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 4: warriorsResolve("Battlegear of Heroism - 4PC"), 6: shared.ParsedSetBonus(spelldata.MustFind(14492)), }, })
Dungeon Set 2, Season of Discovery reissue
PPM measurement in EV-0136, EV-0144. The 4-piece bonus is Battlegear of Valor's 5-piece proc (450587). The 3-piece bonus restores health over time and the 5-piece bonus removes a disarm when struck, neither of which has a place in the sim.
var ItemSetBattlegearOfValor = core.NewItemSet(core.ItemSet{ ID: 189, Name: "Battlegear of Valor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(spelldata.MustFind(13198)), 5: warriorsResolve("Battlegear of Valor - 5PC"), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=189/battlegear-of-valor
The 4-piece bonus removes a disarm when struck and the 6-piece bonus restores health over time, neither of which has a place in the sim.
var ItemSetBeastmasterArmorReissue = core.NewItemSet(core.ItemSet{ ID: 1669, Name: "Beastmaster Armor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: suddenInsightMana(beaststalkerManaProc, "Beastmaster Armor - 4PC"), 6: shared.ParsedSetBonus(dungeonTwoAttack), }, })
Dungeon Set 2, Season of Discovery reissue
The 5-piece bonus removes a root when struck, which has no place in the sim.
var ItemSetBeaststalkerArmor = core.NewItemSet(core.ItemSet{ ID: 186, Name: "Beaststalker Armor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(spelldata.MustFind(9336)), 5: suddenInsightMana(beaststalkerManaProc, "Beaststalker Armor - 5PC"), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=186/beaststalker-armor
The 4-piece bonus removes a root when struck, which has no place in the sim.
var ItemSetBlessedPlate = core.NewItemSet(core.ItemSet{ ID: 1968, Name: "Blessed Plate", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatBuff(stats.ShadowResistance, 10). ExposeToAPL(14673) }, 3: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatBuff(stats.Strength, 20). ExposeToAPL(1252009) }, 5: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatsBuff(stats.Stats{stats.PhysicalHitPercent: 2, stats.SpellHitPercent: 2}). ExposeToAPL(1252013) }, 6: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatBuff(stats.HolyDamage, 29). ExposeToAPL(21518) }, }, })
Blacksmithing - Plate https://www.wowhead.com/forever/item-set=1968/blessed-plate
The 4-piece bonus restores 20 health every 5 sec to party members within 10 yards; the sim has no health regeneration stat, so it is left out.
var ItemSetBloodmailRegalia = core.NewItemSet(core.ItemSet{ ID: 123, Name: "Bloodmail Regalia", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(9140)), 3: bloodmailWound, 4: shared.ParsedSetBonus(spelldata.MustFind(18676)), 5: shared.ParsedSetBonus(spelldata.MustFind(1299738)), }, })
https://www.wowhead.com/forever/item-set=123/bloodmail-regalia
(3) Set: Grants your melee attacks a chance to wound the target, causing them to Bleed for 70 damage over 10s.
Which hits roll in EV-0167.
var ItemSetCadaverousGarb = core.NewItemSet(core.ItemSet{ ID: 121, Name: "Cadaverous Garb", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 3: shared.ParsedSetBonus(spelldata.MustFind(9140)), 4: shared.ParsedSetBonus(spelldata.MustFind(18676)), 5: shared.ParsedSetBonus(spelldata.MustFind(460230)), }, })
Scholomance - Leather https://www.wowhead.com/forever/item-set=121/cadaverous-garb
The 3-piece bonus also shortens movement impairing effects on the wearer (1292546), which has no place in the sim.
var ItemSetChainOfTheScarletCrusade = core.NewItemSet(core.ItemSet{ ID: 163, Name: "Chain of the Scarlet Crusade", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotWrist, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(14673)), 3: shared.ParsedSetBonus(spelldata.MustFind(18074)), 4: enragingLight, 5: shared.ParsedSetBonus(spelldata.MustFind(432639)), }, })
https://www.wowhead.com/forever/item-set=163/chain-of-the-scarlet-crusade
(4) Set: Taking damage has a 15% chance to grant Enraging Light for 10s, causing your melee attacks to deal 20 Holy damage. Deals 3 times as much damage to Undead.
Triggering hits in EV-0173.
var ItemSetDarkmantleArmorReissue = core.NewItemSet(core.ItemSet{ ID: 1676, Name: "Darkmantle Armor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 4: rogueArmorEnergize("Darkmantle 4-piece Proc"), 6: shared.ParsedSetBonus(dungeonTwoAttack), }, })
Dungeon Set 2, Season of Discovery reissue
The 3-piece bonus restores health over time and the 5-piece bonus removes a snare when struck, neither of which has a place in the sim.
var ItemSetDeathboneGuardian = core.NewItemSet(core.ItemSet{ ID: 124, Name: "Deathbone Guardian", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(7516)), 3: shared.ParsedSetBonus(spelldata.MustFind(1299743)), 4: shared.ParsedSetBonus(spelldata.MustFind(18676)), 5: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatBuff(stats.ExpertisePercent, -deathboneExpertise.EffectN(1).BaseValue()). ExposeToAPL(deathboneExpertise.ID) }, }, })
https://www.wowhead.com/forever/item-set=124/deathbone-guardian
(5) Set: Reduces the chance for your attacks to be dodged or parried by 2%.
The two effects state the same percent, one for the dodge and one for the parry, which the sim's expertise lowers together.
var ItemSetDeathmistRaimentReissue = core.NewItemSet(core.ItemSet{ ID: 1681, Name: "Deathmist Raiment", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: dreadmistDarkReward("Deathmist Raiment - 4PC"), 6: shared.ParsedSetBonus(dungeonTwoDamage), }, })
Dungeon Set 2, Season of Discovery reissue
var ItemSetDefiasEnforcersGarb = core.NewItemSet(core.ItemSet{ ID: 2136, Name: "Defias Enforcer's Garb", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotHead, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(1324673)), 3: shared.ParsedSetBonus(spelldata.MustFind(1324674)), 4: shared.ParsedSetBonus(spelldata.MustFind(1324675)), 5: defiasJuggernautCrit, }, })
https://www.wowhead.com/forever/item-set=2136/defias-enforcers-garb
(5) Set: Melee attacks have a chance to increase your Critical Strike chance by 2% for 20s. This effect is doubled in swamps.
The game files name the main hand alone, but off-hand swings proc it as often (EV-0170).
var ItemSetDefiasLeather = core.NewItemSet(core.ItemSet{ ID: 161, Name: "Defias Leather", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(14707)), 3: shared.ParsedSetBonus(spelldata.MustFind(1292025)), 4: deviousStrike, 5: shared.ParsedSetBonus(spelldata.MustFind(7534)), }, })
https://www.wowhead.com/forever/item-set=161/defias-leather
(4) Set: Grants your melee attacks a 5% chance when striking from behind to hit a vital point, causing the target to Bleed for 75 Physical damage over 5s.
var ItemSetDefilersPurpose = arathiLeatherSet(486, "The Defiler's Purpose")
Arathi Basin reputation - Horde leather https://www.wowhead.com/forever/item-set=486/the-defilers-purpose
var ItemSetDreadmistRaiment = core.NewItemSet(core.ItemSet{ ID: 183, Name: "Dreadmist Raiment", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonSpellDamage), 5: dreadmistDarkReward("Dreadmist Raiment - 5PC"), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
Dungeon Set 1
var ItemSetFeralheartRaimentReissue = core.NewItemSet(core.ItemSet{ ID: 1667, Name: "Feralheart Raiment", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: wildheartEnergize("Feralheart Raiment - 4PC"), 5: wildHeart("Feralheart Raiment - 5PC"), 6: shared.ParsedSetBonus(dungeonTwoAttack, dungeonTwoDamage), }, })
Dungeon Set 2, Season of Discovery reissue https://www.wowhead.com/forever/item-set=1667/feralheart-raiment
Pieces of the set's four groups (caster, healer, melee and tank) count toward the same bonuses (EV-0144).
var ItemSetHighlandersPurpose = arathiLeatherSet(471, "The Highlander's Purpose")
Arathi Basin reputation - Alliance leather https://www.wowhead.com/forever/item-set=471/the-highlanders-purpose
var ItemSetImperialPlate = core.NewItemSet(core.ItemSet{ ID: 321, Name: "Imperial Plate", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatBuff(stats.DefenseRating, 7*core.DefenseRatingPerDefenseLevel). ExposeToAPL(13385) }, 3: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatsBuff(stats.Stats{stats.PhysicalHitPercent: 1, stats.SpellHitPercent: 1}). ExposeToAPL(1251990) }, 5: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatBuff(stats.Strength, 20). ExposeToAPL(1251984) }, 6: func(_ core.Agent, setBonusAura *core.Aura) { setBonusAura. AttachStatsBuff(stats.Stats{stats.PhysicalCritPercent: 1, stats.SpellCritPercent: 1}). ExposeToAPL(1251991) }, }, })
Blacksmithing - Plate https://www.wowhead.com/forever/item-set=321/imperial-plate
The 4-piece bonus keeps movement speed from dropping below 80% and has no place in the sim.
var ItemSetKroldokBattlegear = core.NewItemSet(core.ItemSet{ ID: 2135, Name: "Krol'dok Battlegear", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotHead, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotLegs}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(1324287)), 3: shared.ParsedSetBonus(spelldata.MustFind(1324288)), 4: kroldokResolve, 5: ogreDominance, }, })
Krol'dok Stronghold - Plate https://www.wowhead.com/forever/item-set=2135/krol-dok-battlegear
(4) Set: Chance on block to heal for 18. Healing is doubled in Strongholds and Cities. (5) Set: Taking damage has a high chance to increase your Stamina by 1 for 30s, stacking up to 20 times.
Heals and stacks in EV-0160. The 5-piece buff also makes the wearer larger and turns them into an ogre at 20 stacks, which has no place in the sim.
var ItemSetLightforgeArmor = core.NewItemSet(core.ItemSet{ ID: 188, Name: "Lightforge Armor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonSpellDamage), 5: shared.ParsedSetBonus(spelldata.MustFind(450625)), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=188/lightforge-armor
Observed PPM in EV-0144. The 4-piece bonus silences a caster when struck by a spell, which a boss fight does not test.
var ItemSetMagistersRegalia = core.NewItemSet(core.ItemSet{ Name: "Magister's Regalia", ID: 181, Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 3: shared.ParsedSetBonus(dungeonSpellDamage), 5: suddenInsightMana(magisterManaProc, "Magister's Regalia - 5PC"), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
(2) Set: all resistances, and (4) Set: a chance to freeze an attacker when struck, which a boss fight does not test.
var ItemSetNecropileRaiment = core.NewItemSet(core.ItemSet{ ID: 122, Name: "Necropile Raiment", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotWrist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(1299734)), 3: necropileDrainLeech, 4: shared.ParsedSetBonus(spelldata.MustFind(18676)), 5: shared.ParsedSetBonus(dungeonTwoDamage), }, })
https://www.wowhead.com/forever/item-set=122/necropile-raiment
(3) Set: Harmful spell casts have a chance to steal 28 life from the target enemy.
Which landings roll in EV-0168. The spell's 10 ms cooldown lets an area spell proc it once.
var ItemSetPartnersInCrime = core.NewItemSet(core.ItemSet{ ID: 2131, Name: "Partners in Crime", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotFinger1, proto.ItemSlot_ItemSlotFinger2}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(1317038)), }, })
https://www.wowhead.com/forever/item-set=2131/partners-in-crime
(2) Set: +22 Strength. (2) Set: Chance on melee swing to become Angry, increasing Strength by 50 for 10s.
var ItemSetRotmendersRaiment = core.NewItemSet(core.ItemSet{ ID: 2133, Name: "Rotmender's Raiment", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotWaist, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(14668)), 3: shared.ParsedSetBonus(spelldata.MustFind(9106)), 4: siphonTheGraveMana, }, })
https://www.wowhead.com/forever/item-set=2133/rotmenders-raiment
(4) Set: When your Mana falls below 15%, restore 200 Mana over 10s. Restores twice as much Mana in Haunted and Wasteland areas. May only occur once every 5 min.
The amount takes 1321558's area bonus, which an override supplies: the game files state no doubling for the Haunted and Wasteland areas the tooltip names.
var ItemSetShadowcraftArmor = core.NewItemSet(core.ItemSet{ ID: 184, Name: "Shadowcraft Armor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(spelldata.MustFind(9336)), 5: rogueArmorEnergize("Shadowcraft 5-piece Proc"), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=184/shadowcraft-armor
The 4-piece bonus removes a snare when struck and the 6-piece bonus restores health over time, neither of which has a place in the sim.
var ItemSetSorcerersRegaliaReissue = core.NewItemSet(core.ItemSet{ ID: 1671, Name: "Sorcerer's Regalia", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: suddenInsightMana(magisterManaProc, "Sorcerer's Regalia - 4PC"), 6: shared.ParsedSetBonus(dungeonTwoDamage), }, })
Dungeon Set 2, Season of Discovery reissue
The 5-piece bonus (27867) freezes an attacker when struck, which a boss fight does not test.
var ItemSetSoulforgeArmorReissue = core.NewItemSet(core.ItemSet{ ID: 1673, Name: "Soulforge Armor", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: shared.ParsedSetBonus(spelldata.MustFind(450625)), 6: shared.ParsedSetBonus(dungeonTwoDamage), }, })
Dungeon Set 2, Season of Discovery reissue
Observed PPM in EV-0144. The 4-piece bonus is Lightforge Armor's 5-piece proc (450625). The 5-piece bonus silences a caster when struck by a spell, which a boss fight does not test.
var ItemSetSpidersKiss = core.NewItemSet(core.ItemSet{ ID: 65, Name: "Spider's Kiss", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotMainHand, proto.ItemSlot_ItemSlotOffHand}, Bonuses: map[int32]core.ApplySetBonus{ 2: spidersKiss, }, })
https://www.wowhead.com/forever/item-set=65/spiders-kiss
(2) Set: Chance on Hit: Immobilizes the target and lowers their armor by 100 for 10s.
The root has no place in the sim. The armor is the spell's own debuff in no armor category, so it stacks with every armor debuff the raid puts up.
var ItemSetTeachingsOfTheFurbolgs = core.NewItemSet(core.ItemSet{ ID: 2071, Name: "Teachings of the Furbolgs", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotTrinket1, proto.ItemSlot_ItemSlotTrinket2}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(furbolgTeachings), }, })
https://www.wowhead.com/forever/item-set=2071/teachings-of-the-furbolgs
(2) Set: Your attacks have a chance to increase your Attack Power by 40 and your healing spells have a chance to increase your Intellect by 20 for 15s.
No effect of 1294087 casts the healing half, Wisdom of the Timbermaw 1294070, so a heal procs nothing; that spell also states Strength where the tooltip says Intellect.
var ItemSetTheElements = core.NewItemSet(core.ItemSet{ ID: 187, Name: "The Elements", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonSpellDamage), 5: shared.ParsedSetBonus(spelldata.MustFind(450626)), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=187/the-elements
Observed PPM in EV-0144. The 4-piece bonus disarms an attacker when struck, which a boss fight does not test.
var ItemSetTheFiveThundersReissue = core.NewItemSet(core.ItemSet{ ID: 1679, Name: "The Five Thunders", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: shared.ParsedSetBonus(spelldata.MustFind(450626)), 6: shared.ParsedSetBonus(dungeonTwoDamage), }, })
Dungeon Set 2, Season of Discovery reissue
Observed PPM in EV-0144. The 4-piece bonus is The Elements' 5-piece proc (450626). The 5-piece bonus disarms an attacker when struck, which a boss fight does not test.
var ItemSetTheGladiator = core.NewItemSet(core.ItemSet{ ID: 1, Name: "The Gladiator", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotHead, proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 3: shared.ParsedSetBonus(spelldata.MustFind(9331)), 4: roarOfTheCrowdHaste, 5: shared.ParsedSetBonus(spelldata.MustFind(1314795)), }, })
https://www.wowhead.com/forever/item-set=1/the-gladiator
(4) Set: Chance on hit to gain 5% attack speed for 10s. Attacks while no allies are within 20 yds are 2 times as likely to activate this effect.
Which hits roll in EV-0166. The wearer always has an ally within 20 yd, so the chance never doubles. The 2-piece bonus lowers the hit chance of Fear effects, which has no place in the sim.
var ItemSetVestmentsOfTheDevout = core.NewItemSet(core.ItemSet{ ID: 182, Name: "Vestments of the Devout", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonSpellDamage), 5: devoutManaRestore("Vestments of the Devout - 5PC"), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=182/vestments-of-the-devout
The 4-piece bonus (27778) shields the wearer when struck, which the sim does not model.
var ItemSetVestmentsOfTheVirtuousReissue = core.NewItemSet(core.ItemSet{ ID: 1675, Name: "Vestments of the Virtuous", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonManaRegen), 4: devoutManaRestore("Vestments of the Virtuous - 4PC"), 6: shared.ParsedSetBonus(dungeonTwoDamage), }, })
Dungeon Set 2, Season of Discovery reissue
The 5-piece bonus (27778) shields the wearer when struck, which the sim does not model.
var ItemSetVioletSorcerersVestments = core.NewItemSet(core.ItemSet{ ID: 2134, Name: "Violet Sorcerer's Vestments", Slots: []proto.ItemSlot{proto.ItemSlot_ItemSlotShoulder, proto.ItemSlot_ItemSlotChest, proto.ItemSlot_ItemSlotHands, proto.ItemSlot_ItemSlotLegs, proto.ItemSlot_ItemSlotFeet}, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(spelldata.MustFind(1324311)), 3: shared.ParsedSetBonus(spelldata.MustFind(1324312)), 4: violetMeditationRegen, 5: summonArcaneElemental, }, })
https://www.wowhead.com/forever/item-set=2134/violet-sorcerers-vestments
(4) Set: Chance on damaging spell to allow 15% of your Mana regeneration to continue while casting for 15s. This Mana Regeneration is doubled in Strongholds and Cities. (5) Set: Chance on damaging spell to summon an Arcane elemental to aid you in combat.
PPM measurement in EV-0169.
var ItemSetWildheartRaiment = core.NewItemSet(core.ItemSet{ ID: 185, Name: "Wildheart Raiment", Slots: shared.EightPieceSlots, Bonuses: map[int32]core.ApplySetBonus{ 2: shared.ParsedSetBonus(dungeonResistances), 3: shared.ParsedSetBonus(dungeonSpellDamage, spelldata.MustFind(9336)), 4: wildHeart("Wildheart Raiment - 4PC"), 5: wildheartEnergize("Wildheart Raiment - 5PC"), 6: shared.ParsedSetBonus(dungeonManaRegen), }, })
Dungeon Set 1 https://www.wowhead.com/forever/item-set=185/wildheart-raiment
var NaturalFlasks = []int32{274273, 274274, 274275, 274276}
Flasks of Natural Accuracy 274273, Aggression 274274, Precision 274275 and Swiftness 274276. The second effect of each spell, an A_DUMMY, is the bonus the spell's text grants in Mount Hyjal, Hyjal Summit and the Barrow Deeps, where the sim takes every fight to be; the auras after it name what the bonus is and state 0 themselves.
Functions ¶
func RegisterAllEnchants ¶
func RegisterAllEnchants()
func RegisterAllExplosives ¶
func RegisterAllExplosives()
func RegisterAllItemGuardians ¶ added in v1.0.6
func RegisterAllItemGuardians()
Every use item whose spell summons a guardian. One whose creature GuardianCreatures does not hold registers nothing and keeps its stats.
func RegisterAllOnUseCds ¶
func RegisterAllOnUseCds()
func RegisterAllProcs ¶
func RegisterAllProcs()
func RegisterAllSetBonuses ¶
func RegisterAllSetBonuses()
The sets no hand-written set covers. A bonus is registered when every row it grants parses whole onto the set bonus aura or is a proc the set builds; the others are comments. A set written by hand leaves this file on the next db run.
func RegisterAllStatConsumables ¶
func RegisterAllStatConsumables()
func RegisterAllTemporaryEnchantConsumables ¶
func RegisterAllTemporaryEnchantConsumables()
func RegisterPotionsAndConjured ¶
func RegisterPotionsAndConjured()
Types ¶
type NaturalFlaskZoneBonus ¶
type NaturalFlaskZoneBonus struct {
Stats stats.Stats
AttackHastePercent float64
CastHastePercent float64
}
The zone bonus as the auras after the dummy name it, each by the dummy's percent.
func NaturalFlaskZoneBonusOf ¶
func NaturalFlaskZoneBonusOf(row *spelldata.Spell, percent float64) (NaturalFlaskZoneBonus, error)
Source Files
¶
- consumable_stats_auto_gen.go
- consumables_dragonbreath_chili.go
- consumables_explosives_auto_gen.go
- consumables_gift_of_arthas.go
- consumables_imbues_auto_gen.go
- consumables_natural_flasks.go
- consumables_potions_auto_gen.go
- enchants.go
- enchants_auto_gen.go
- item_guardians.go
- item_guardians_auto_gen.go
- item_sets_auto_gen.go
- items_arcane_elemental.go
- items_armor.go
- items_blackblade_of_shahram.go
- items_dragons_call.go
- items_party.go
- items_pvp_trinkets.go
- items_sets.go
- items_trinkets.go
- items_weapons.go
- stat_bonus_cds_auto_gen.go
- stat_bonus_procs_auto_gen.go
- weapons.go