[PlayerBot] Fix invalid table reference for playerbots

This commit is contained in:
Antz 2016-02-05 08:58:57 +00:00 committed by Antz
parent a52b932377
commit 93fbd47079
2 changed files with 2 additions and 2 deletions

View File

@ -284,7 +284,7 @@ def doTables(db):
if (db[1] >= 1):
progressTable("prospecting_loot_template", "entry", "item", "lootcondition, condition_value1, condition_value2", 1)
if (db[1] >= 2):
progressTable("spell_loot_template", "entry", "item", "lootcondition, condition_value1, condition_value2", 1)
#progressTable("spell_loot_template", "entry", "item", "lootcondition, condition_value1, condition_value2", 1)
progressTable("milling_loot_template", "entry", "item", "lootcondition, condition_value1, condition_value2", 1)
if (processNumConditions < 3):

View File

@ -96,7 +96,7 @@ double PricingStrategy::GetRarityPriceMultiplier(uint32 itemId)
QueryResult* results = WorldDatabase.PQuery(
"select max(ChanceOrQuestChance) from ( "
"select ChanceOrQuestChance from gameobject_loot_template where item = '%u' "
"union select ChanceOrQuestChance from spell_loot_template where item = '%u' "
//"union select ChanceOrQuestChance from spell_loot_template where item = '%u' "
"union select ChanceOrQuestChance from disenchant_loot_template where item = '%u' "
"union select ChanceOrQuestChance from fishing_loot_template where item = '%u' "
"union select ChanceOrQuestChance from item_loot_template where item = '%u' "