Skip to content

Commit

Permalink
Merge pull request #4 from FelixPflaum/remove-sod-items
Browse files Browse the repository at this point in the history
Remove SoD items
  • Loading branch information
FelixPflaum authored Nov 21, 2024
2 parents 3d057a9 + b629ca8 commit 3dc3731
Show file tree
Hide file tree
Showing 273 changed files with 4,452 additions and 25,798 deletions.
Binary file modified assets/database/db.bin
Binary file not shown.
5,688 changes: 1,775 additions & 3,913 deletions assets/database/db.json

Large diffs are not rendered by default.

Binary file modified assets/database/leftover_db.bin
Binary file not shown.
369 changes: 31 additions & 338 deletions assets/database/leftover_db.json

Large diffs are not rendered by default.

266 changes: 0 additions & 266 deletions assets/db_inputs/wowhead_rune_tooltips.csv

This file was deleted.

2 changes: 1 addition & 1 deletion sim/common/sod/item_effects/phase_6.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func init() {
core.NewItemEffect(ObsidianChampion, func(agent core.Agent) {
character := agent.GetCharacter()
vanilla.StrengthOfTheChampionAura(character)
vanilla.EnrageAura446327(character)
//vanilla.EnrageAura446327(character)
ObsidianEdgedAura(ObsidianChampion, agent)
})

Expand Down
33 changes: 0 additions & 33 deletions sim/common/vanilla/enchant_effects.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,38 +334,5 @@ func init() {
})
})

core.NewEnchantEffect(7649, func(agent core.Agent) {
character := agent.GetCharacter()
actionID := core.ActionID{SpellID: 1213833}

procSpell := character.RegisterSpell(core.SpellConfig{
ActionID: actionID,
SpellSchool: core.SpellSchoolNature,
ProcMask: core.ProcMaskEmpty,
Flags: core.SpellFlagBinary | core.SpellFlagNoOnCastComplete | core.SpellFlagPassiveSpell,

DamageMultiplier: 1,
ThreatMultiplier: 1,

ApplyEffects: func(sim *core.Simulation, target *core.Unit, spell *core.Spell) {
spell.CalcAndDealDamage(sim, target, 20, spell.OutcomeMagicHit)
},
})

character.GetOrRegisterAura(core.Aura{
Label: "Thorns +20",
Duration: core.NeverExpires,
OnReset: func(aura *core.Aura, sim *core.Simulation) {
aura.Activate(sim)
},
OnSpellHitTaken: func(aura *core.Aura, sim *core.Simulation, spell *core.Spell, result *core.SpellResult) {
if result.Landed() && spell.ProcMask.Matches(core.ProcMaskMelee) {
procSpell.Cast(sim, spell.Unit)
}
},
})
})


core.AddEffectsToTest = true
}
Loading

0 comments on commit 3dc3731

Please sign in to comment.