From fce8b014937357f72ea7c5313338216fd6ff0194 Mon Sep 17 00:00:00 2001 From: Sarjuuk Date: Wed, 8 Mar 2017 14:00:36 +0100 Subject: [PATCH] Setup/ItemEnchantment * updated setup to for https://github.com/TrinityCore/TrinityCore/commit/f609e7a08b3b4d2d9642e5ec252e1eedad836f0f --- setup/tools/sqlgen/itemenchantment.func.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/tools/sqlgen/itemenchantment.func.php b/setup/tools/sqlgen/itemenchantment.func.php index f5706c7b..2ddd46f0 100644 --- a/setup/tools/sqlgen/itemenchantment.func.php +++ b/setup/tools/sqlgen/itemenchantment.func.php @@ -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);