mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user