mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Misc
* define and use some more magic numbers * move id-based custom data from spell SetupScript to aowow_setup_custom_data table * hide on unused glyph while at it
This commit is contained in:
@@ -18,11 +18,11 @@ SqlGen::register(new class extends SetupScript
|
||||
protected $dbcSourceFiles = ['gemproperties', 'itemdisplayinfo', 'spell', 'glyphproperties', 'durabilityquality', 'durabilitycosts'];
|
||||
|
||||
private $skill2cat = array(
|
||||
773 => 11, // inscription
|
||||
356 => 9, // fishing
|
||||
186 => 12, // mining
|
||||
185 => 5, // cooking
|
||||
171 => 6 // alchemy
|
||||
SKILL_INSCRIPTION => 11,
|
||||
SKILL_FISHING => 9,
|
||||
SKILL_MINING => 12,
|
||||
SKILL_COOKING => 5,
|
||||
SKILL_ALCHEMY => 6
|
||||
);
|
||||
|
||||
public function generate(array $ids = []) : bool
|
||||
|
||||
Reference in New Issue
Block a user