Skip to content
Draft
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ mop.sln
graphify-out
.claude
CLAUDE.md
tools/db2tool/listfile.csv
tools/db2tool/DBDCache/
tools/db2tool/dbfilesclient/
tools/db2tool/caches/
2 changes: 1 addition & 1 deletion docs/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ make wowsimmop
make simdb

# Generate data from WoW client files
# Requires dotnet 9 to run
# Requires a local WoW install; point Settings.BaseDir in the settings file at it
# Uses tools/database/generator-settings.json for settings
# Also runs make simdb
# This is what you will use most of the time for generation
Expand Down
8 changes: 4 additions & 4 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -248,15 +248,15 @@ CLIENTDATA_OUTPUT := $(shell realpath ./tools/database/wowsims.db)

.PHONY: db
db:
@echo "Running DB2ToSqlite for clientdata"
cd tools/DB2ToSqlite && dotnet run -- -s $(CLIENTDATA_SETTINGS) --output $(CLIENTDATA_OUTPUT)
@echo "Extracting client data"
go run ./tools/db2tool -s $(CLIENTDATA_SETTINGS) --output $(CLIENTDATA_OUTPUT)
@echo "Running DBC generation tool"
go run tools/database/gen_db/*.go -outDir=./assets -gen=db

.PHONY: ptrdb
ptrdb:
@echo "Running DB2ToSqlite for clientdata"
cd tools/DB2ToSqlite && dotnet run -- -s $(CLIENTDATAPTR_SETTINGS) --output $(CLIENTDATA_OUTPUT)
@echo "Extracting client data"
go run ./tools/db2tool -s $(CLIENTDATAPTR_SETTINGS) --output $(CLIENTDATA_OUTPUT)
@echo "Running DBC generation tool"
go run tools/database/gen_db/*.go -outDir=./assets -gen=db

Expand Down
24 changes: 12 additions & 12 deletions sim/common/mop/enchants_auto_gen.go
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
package mop

import (
"github.com/wowsims/mop/sim/common/shared"
"github.com/wowsims/mop/sim/core"
"github.com/wowsims/mop/sim/common/shared"
)

func RegisterAllEnchants() {

// Enchants

// Permanently attaches Lord Blastington's special scope to a ranged weapon, sometimes increasing Agility
// by 1800 for 10s when dealing damage with ranged attacks.
//
//
// Attaching this scope to a ranged weapon causes it to become soulbound.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Name: "Lord Blastington's Scope of Doom",
Expand All @@ -21,10 +21,10 @@ func RegisterAllEnchants() {
Outcome: core.OutcomeLanded,
RequireDamageDealt: true,
})

// Permanently attaches a mirrored scope to a ranged weapon, sometimes increases critical strike by 900 for
// 10s when dealing damage with ranged attacks.
//
//
// Attaching this scope to a ranged weapon causes it to become soulbound.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Name: "Mirror Scope",
Expand All @@ -34,10 +34,10 @@ func RegisterAllEnchants() {
Outcome: core.OutcomeLanded,
RequireDamageDealt: true,
})

// Embroiders a subtle pattern of light into your cloak, giving you a chance to increase your Intellect by
// 2000 for 15s when casting a spell.
//
//
// Embroidering your cloak will cause it to become soulbound and requires the Tailoring profession to remain
// active.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Expand All @@ -48,10 +48,10 @@ func RegisterAllEnchants() {
Outcome: core.OutcomeLanded,
RequireDamageDealt: false,
})

// Embroiders a magical pattern into your cloak, giving you a chance to increase your Spirit by 3000 for
// 15s when you cast a spell.
//
//
// Embroidering your cloak will cause it to become soulbound and requires the Tailoring profession to remain
// active.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Expand All @@ -62,10 +62,10 @@ func RegisterAllEnchants() {
Outcome: core.OutcomeLanded,
RequireDamageDealt: false,
})

// Embroiders a magical pattern into your cloak, causing your damaging melee and ranged attacks to sometimes
// increase your attack power by 4000 for 15s.
//
//
// Embroidering your cloak will cause it to become soulbound and requires the Tailoring profession to remain
// active.
shared.NewProcStatBonusEffect(shared.ProcStatBonusEffect{
Expand All @@ -76,4 +76,4 @@ func RegisterAllEnchants() {
Outcome: core.OutcomeLanded,
RequireDamageDealt: true,
})
}
}
12 changes: 6 additions & 6 deletions sim/common/mop/stat_bonus_procs_auto_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -1417,9 +1417,9 @@ func RegisterAllProcs() {
// This can be ignored if the effect has already been implemented.
// With next db run the item will be removed if implemented.
//
// Your helpful spells have a chance to grant you a Blessing of Zuldazar, which stacks up to 6 times. (Approximately
// 2.89 procs per minute)
// https://www.wowhead.com/mop/spell=138967
// Consumes all Blessings of Zuldazar to shield the target, absorbing 1000 damage per Blessing consumed.
// Lasts 15s.
// https://www.wowhead.com/mop/spell=138925
// shared.NewProcStatBonusEffectWithVariants(shared.ProcStatBonusEffect{
// Callback: core.CallbackEmpty,
// ProcMask: core.ProcMaskUnknown,
Expand All @@ -1437,9 +1437,9 @@ func RegisterAllProcs() {
// This can be ignored if the effect has already been implemented.
// With next db run the item will be removed if implemented.
//
// Consumes all Blessings of Zuldazar to shield the target, absorbing 1000 damage per Blessing consumed.
// Lasts 15s.
// https://www.wowhead.com/mop/spell=138925
// Your helpful spells have a chance to grant you a Blessing of Zuldazar, which stacks up to 6 times. (Approximately
// 2.89 procs per minute)
// https://www.wowhead.com/mop/spell=138967
// shared.NewProcStatBonusEffectWithVariants(shared.ProcStatBonusEffect{
// Callback: core.CallbackEmpty,
// ProcMask: core.ProcMaskUnknown,
Expand Down
Loading
Loading