Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/database/db.bin
Binary file not shown.
52 changes: 26 additions & 26 deletions assets/database/db.json

Large diffs are not rendered by default.

Binary file modified assets/database/leftover_db.bin
Binary file not shown.
10 changes: 5 additions & 5 deletions assets/database/leftover_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@
{"effectId":254,"spellId":7850,"name":"Enchant Chest - Health","icon":"trade_engraving","type":5,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,25,0,0,0,0,0,0,0],"quality":1},
{"effectId":255,"itemId":6375,"spellId":7851,"name":"Enchant Bracer - Lesser Spirit","icon":"inv_misc_note_01","type":6,"stats":[0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":255,"itemId":11167,"spellId":7851,"name":"Enchant Boots - Lesser Spirit","icon":"inv_misc_note_01","type":10,"stats":[0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":255,"spellId":7851,"name":"Enchant Shield - Lesser Spirit","icon":"trade_engraving","type":13,"enchantType":2,"stats":[0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":255,"itemId":11038,"spellId":7851,"name":"Enchant 2H Weapon - Lesser Spirit","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":255,"spellId":7851,"name":"Enchant Shield - Lesser Spirit","icon":"trade_engraving","type":13,"enchantType":2,"stats":[0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":256,"spellId":7852,"name":"Enchant Cloak - Lesser Fire Resistance","icon":"trade_engraving","type":4,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":368,"spellId":9102,"name":"Enchant Cloak - Greater Agility","icon":"trade_engraving","type":4,"stats":[0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":369,"spellId":9108,"name":"Enchant Bracer - Major Intellect","icon":"trade_engraving","type":6,"stats":[0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
Expand Down Expand Up @@ -186,8 +186,8 @@
{"effectId":1896,"itemId":16247,"spellId":20030,"name":"Enchant 2H Weapon - Superior Impact","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":1897,"spellId":13695,"name":"Enchant 2H Weapon - Impact","icon":"trade_engraving","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":1897,"itemId":16250,"spellId":20031,"name":"Enchant Weapon - Superior Striking","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":1898,"spellId":20004,"name":"Enchant Weapon - Major Spirit","icon":"trade_engraving","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":1898,"itemId":16254,"spellId":20004,"name":"Enchant Weapon - Lifestealing","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":1898,"spellId":20004,"name":"Enchant Weapon - Major Spirit","icon":"trade_engraving","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":1899,"itemId":16248,"spellId":20006,"name":"Enchant Weapon - Unholy Weapon","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2,"enchantEffect":{"buffId":20006,"buffName":"Unholy Curse","effectDurationMs":12000,"scalingOptions":{"0":{"stats":{"7":-15}}},"proc":{}}},
{"effectId":1900,"itemId":16252,"spellId":20007,"name":"Enchant Weapon - Crusader","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2,"enchantEffect":{"buffId":20007,"buffName":"Holy Strength","effectDurationMs":15000,"scalingOptions":{"0":{"stats":{"0":100}}},"proc":{}}},
{"effectId":1903,"itemId":16255,"spellId":19986,"name":"Enchant 2H Weapon - Major Spirit","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
Expand All @@ -206,8 +206,8 @@
{"effectId":2503,"itemId":18251,"spellId":22725,"name":"Core Armor Kit","icon":"inv_misc_armorkit_05","type":5,"extraTypes":[7,9,10],"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":2504,"itemId":18259,"spellId":22747,"name":"Enchant Weapon - Spell Power","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,30,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":2505,"itemId":18260,"spellId":22748,"name":"Enchant Weapon - Healing Power","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,55,19,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":2523,"spellId":22780,"name":"Stabilized Eternium Scope","icon":"trade_engraving","type":14,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":2523,"itemId":18283,"spellId":22780,"name":"Biznicks 247x128 Accurascope","icon":"inv_misc_spyglass_02","type":14,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":2523,"spellId":22780,"name":"Stabilized Eternium Scope","icon":"trade_engraving","type":14,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":2543,"itemId":18329,"spellId":22841,"name":"Arcanum of Rapidity","icon":"inv_misc_gem_02","type":1,"extraTypes":[9],"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":2544,"itemId":18330,"spellId":22843,"name":"Arcanum of Focus","icon":"inv_misc_gem_02","type":1,"extraTypes":[9],"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":2545,"itemId":18331,"spellId":22847,"name":"Arcanum of Protection","icon":"inv_misc_gem_02","type":1,"extraTypes":[9],"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
Expand Down Expand Up @@ -266,7 +266,7 @@
{"effectId":2670,"itemId":22556,"spellId":27976,"name":"Enchant 2H Weapon - Major Agility","icon":"inv_misc_note_01","type":13,"stats":[0,35,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":2671,"itemId":22560,"spellId":27979,"name":"Enchant Weapon - Sunfire","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":2672,"itemId":22561,"spellId":27980,"name":"Enchant Weapon - Soulfrost","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,108,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":2673,"itemId":22559,"spellId":28093,"name":"Enchant Weapon - Mongoose","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3,"enchantEffect":{"buffId":28093,"buffName":"Lightning Speed","effectDurationMs":15000,"scalingOptions":{"0":{"stats":{"1":120}}},"proc":{}}},
{"effectId":2673,"itemId":22559,"spellId":28093,"name":"Enchant Weapon - Mongoose","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3,"enchantEffect":{"buffId":28093,"buffName":"Lightning Speed","effectDurationMs":15000,"scalingOptions":{"0":{"stats":{"1":120,"24":31.538466}}},"proc":{}}},
{"effectId":2674,"itemId":22558,"spellId":27997,"name":"Enchant Weapon - Spellsurge","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":2675,"itemId":22557,"spellId":28005,"name":"Enchant Weapon - Battlemaster","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":2679,"itemId":22532,"spellId":27912,"name":"Enchant Bracer - Restore Mana Prime","icon":"inv_misc_note_01","type":6,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
Expand Down Expand Up @@ -342,7 +342,7 @@
{"effectId":3150,"spellId":39882,"name":"Enchant Chest - Restore Mana Prime","icon":"trade_engraving","type":5,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":3222,"itemId":33165,"spellId":42620,"name":"Enchant Weapon - Greater Agility","icon":"inv_misc_note_01","type":13,"stats":[0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":3223,"itemId":33185,"spellId":43588,"name":"Adamantite Weapon Chain","icon":"spell_frost_chainsofice","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":3225,"itemId":33307,"spellId":42976,"name":"Enchant Weapon - Executioner","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3},
{"effectId":3225,"itemId":33307,"spellId":42976,"name":"Enchant Weapon - Executioner","icon":"inv_misc_note_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":3,"enchantEffect":{"buffId":42976,"buffName":"Executioner","effectDurationMs":15000,"scalingOptions":{"0":{"stats":{"25":-840}}},"proc":{}}},
{"effectId":3229,"itemId":34110,"spellId":44383,"name":"Enchant Shield - Resilience","icon":"trade_engraving","type":13,"enchantType":2,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":1},
{"effectId":3260,"itemId":34207,"spellId":44769,"name":"Glove Reinforcements","icon":"inv_misc_armorkit_08","type":7,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,240,0,0,0,0,0,0,0,0],"quality":2},
{"effectId":3269,"itemId":34836,"spellId":45698,"name":"Truesilver Fishing Line","icon":"inv_misc_thread_01","type":13,"stats":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"quality":2},
Expand Down
4 changes: 4 additions & 0 deletions sim/common/tbc/stat_bonus_cds_auto_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ func RegisterAllOnUseCds() {
shared.NewSimpleStatActive(27891) // Adamantine Figurine
shared.NewSimpleStatActive(33830) // Ancient Aqir Artifact

// ArmorPenetration
shared.NewSimpleStatActive(21670) // Badge of the Swarmguard
shared.NewSimpleStatActive(28121) // Icon of Unyielding Courage

// AttackPower
shared.NewSimpleStatActive(14554) // Cloudkeeper Legplates
shared.NewSimpleStatActive(21180) // Earthstrike
Expand Down
10 changes: 10 additions & 0 deletions sim/common/tbc/stat_bonus_procs_auto_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,16 @@ func RegisterAllProcs() {
RequireDamageDealt: false,
})

// Your special attacks have a chance to give you 1001 armor penetration for 15s.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Name: "Warp-Spring Coil",
ItemID: 30450,
Callback: core.CallbackOnSpellHitDealt,
ProcMask: core.ProcMaskMeleeMHSpecial | core.ProcMaskMeleeOHSpecial | core.ProcMaskMeleeProc,
Outcome: core.OutcomeLanded,
RequireDamageDealt: true,
})

// Your Mortal Strike, Bloodthirst, and Shield Slam attacks have a 25% chance to heal you for 329 and grant
// 54 Strength for 12s.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Expand Down
25 changes: 15 additions & 10 deletions tools/database/dbc/spell_effect.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,13 +245,13 @@ func (effect *SpellEffect) ParseStatEffect(scalesWithIlvl bool, ilvl int) *stats
effectStats[proto.Stat_StatRangedAttackPower] = effect.CalcCoefficientStatValue(ilvl)
break
}
effectStats[proto.Stat_StatRangedAttackPower] = float64(effect.EffectBasePoints + 1)
effectStats[proto.Stat_StatRangedAttackPower] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_MOD_ATTACK_POWER:
if effect.Coefficient != 0 && scalesWithIlvl {
effectStats[proto.Stat_StatAttackPower] = effect.CalcCoefficientStatValue(ilvl)
break
}
effectStats[proto.Stat_StatAttackPower] = float64(effect.EffectBasePoints + 1)
effectStats[proto.Stat_StatAttackPower] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectMiscValues[0] == -1 && effect.EffectAura == A_MOD_STAT && effect.EffectType == E_APPLY_AURA:
// -1 represents ALL STATS if present in MiscValue 0
for _, s := range []proto.Stat{
Expand All @@ -262,7 +262,7 @@ func (effect *SpellEffect) ParseStatEffect(scalesWithIlvl bool, ilvl int) *stats
effectStats[s] = effect.CalcCoefficientStatValue(core.TernaryInt(scalesWithIlvl, ilvl, 0))
continue
}
effectStats[s] = float64(effect.EffectBasePoints + 1)
effectStats[s] = float64(effect.EffectBasePoints + effect.EffectDieSides)
}
case effect.EffectAura == A_MOD_STAT && effect.EffectType == E_APPLY_AURA:
if effect.Coefficient != 0 && effect.ScalingType != 0 {
Expand All @@ -271,21 +271,21 @@ func (effect *SpellEffect) ParseStatEffect(scalesWithIlvl bool, ilvl int) *stats
}

// if Coefficient is not set, we fall back to EffectBasePoints
effectStats[stat] = float64(effect.EffectBasePoints + 1)
effectStats[stat] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_MOD_DAMAGE_DONE && effect.EffectType == E_APPLY_AURA:
if effect.Coefficient != 0 && effect.ScalingType != 0 {
effectStats[proto.Stat_StatSpellDamage] = effect.CalcCoefficientStatValue(core.TernaryInt(scalesWithIlvl, ilvl, 0))
break
}
// Apply spell power, A_MOD_HEALING_DONE is also a possibility for healing power
effectStats[proto.Stat_StatSpellDamage] = float64(effect.EffectBasePoints + 1)
effectStats[proto.Stat_StatSpellDamage] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_MOD_HEALING_DONE && effect.EffectType == E_APPLY_AURA:
if effect.Coefficient != 0 && effect.ScalingType != 0 {
effectStats[proto.Stat_StatHealingPower] = effect.CalcCoefficientStatValue(core.TernaryInt(scalesWithIlvl, ilvl, 0))
break
}
// Apply spell power, A_MOD_HEALING_DONE is also a possibility for healing power
effectStats[proto.Stat_StatHealingPower] = float64(effect.EffectBasePoints + 1)
effectStats[proto.Stat_StatHealingPower] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_MOD_RESISTANCE:
school := SpellSchool(effect.EffectMiscValues[0])
for schoolType, stat := range SpellSchoolToStat {
Expand All @@ -294,7 +294,7 @@ func (effect *SpellEffect) ParseStatEffect(scalesWithIlvl bool, ilvl int) *stats
effectStats[stat] = effect.CalcCoefficientStatValue(ilvl)
break
}
effectStats[stat] += float64(effect.EffectBasePoints + 1)
effectStats[stat] += float64(effect.EffectBasePoints + effect.EffectDieSides)
}
}

Expand All @@ -305,17 +305,22 @@ func (effect *SpellEffect) ParseStatEffect(scalesWithIlvl bool, ilvl int) *stats
effectStats[statMod] = effect.CalcCoefficientStatValue(ilvl)
break
}
effectStats[statMod] = float64(effect.EffectBasePoints + 1)
effectStats[statMod] = float64(effect.EffectBasePoints + effect.EffectDieSides)
}
}
case effect.EffectAura == A_MOD_INCREASE_ENERGY:
effectStats[proto.Stat_StatMana] = float64(effect.EffectBasePoints + 1)
effectStats[proto.Stat_StatMana] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_MOD_INCREASE_HEALTH_2:
effectStats[proto.Stat_StatHealth] = float64(effect.EffectBasePoints + 1)
effectStats[proto.Stat_StatHealth] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_PERIODIC_TRIGGER_SPELL && effect.EffectAuraPeriod == 10000:
for _, sub := range dbcInstance.SpellEffects[effect.EffectTriggerSpell] {
effectStats.AddInplace(sub.ParseStatEffect(false, 0))
}
case effect.EffectAura == A_MOD_TARGET_RESISTANCE:
resist := ConvertTargetResistanceFlagToPenetrationStat(effect.EffectMiscValues[0])
effectStats[resist] = float64(effect.EffectBasePoints + effect.EffectDieSides)
case effect.EffectAura == A_MOD_MELEE_HASTE && effect.ImplicitTargets[0] == 1:
effectStats[proto.Stat_StatMeleeHasteRating] = float64(effect.EffectBasePoints+effect.EffectDieSides) * core.PhysicalHasteRatingPerHastePercent
}

return effectStats
Expand Down
2 changes: 0 additions & 2 deletions ui/core/constants/missing_effects_auto_gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export const MISSING_ITEM_EFFECTS = [
21128, // Staff of the Qiraji Prophets
21190, // Wrath of Cenarius
21625, // Scarab Brooch
21670, // Badge of the Swarmguard
21685, // Petrified Scarab
21780, // Blood Crown
21789, // Figurine - Dark Iron Scorpid
Expand Down Expand Up @@ -72,7 +71,6 @@ export const MISSING_ITEM_EFFECTS = [
29309, // Band of the Eternal Restorer
30317, // Cosmic Infuser
30449, // Void Star Talisman
30450, // Warp-Spring Coil
30619, // Fel Reaver's Piston
30621, // Prism of Inner Calm
30626, // Sextant of Unstable Currents
Expand Down
Loading