gen_spelldata

command
v1.0.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2026 License: MIT Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Regenerates the spell store, sim/<class>/spell_data_auto_gen.go, the hunter's pet_families_auto_gen.go and ammo_auto_gen.go, and the raid buffs from the game files database.

Its own binary, not a mode of gen_db: gen_db imports every class package, so a class file that does not compile stops it. This binary imports sim/core, sim/core/spelldata and sim/common, so the class files are the generated files it can rewrite without compiling them, and a broken store stops it the same way a broken class file stops gen_db. Neither reaches the tree from here: spelldata_write.go type-checks the rendered files in a staging directory and writes none of them until they build, unless -unchecked says to write them anyway.

go run ./tools/database/gen_spelldata
go run ./tools/database/gen_spelldata -classes=druid -racials   # those from the database, the rest as committed
go run ./tools/database/gen_spelldata -classes=none -shared=false   # the items alone
go run ./tools/database/gen_spelldata -check
go run ./tools/database/gen_spelldata -unchecked
go run ./tools/database/gen_spelldata -everyClassSpell -unchecked   # a store of every class spell, for tools/spelldata -dump

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL