Setup/ItemEnchantment

* updated setup to for f609e7a08b
This commit is contained in:
Sarjuuk
2017-03-08 14:00:36 +01:00
parent 05d24dbde8
commit fce8b01493

View File

@@ -23,7 +23,7 @@ function itemenchantment()
DB::Aowow()->query($baseQuery);
$cuProcs = DB::World()->select('SELECT entry AS ARRAY_KEY, customChance AS procChance, PPMChance AS ppmRate FROM spell_enchant_proc_data');
$cuProcs = DB::World()->select('SELECT EnchantID AS ARRAY_KEY, Chance AS procChance, ProcsPerMinute AS ppmRate FROM spell_enchant_proc_data');
foreach ($cuProcs as $id => $vals)
DB::Aowow()->query('UPDATE ?_itemenchantment SET ?a WHERE id = ?d', $vals, $id);