From a3cf9134f8fed54f527a8fb4ec75099c7449425c Mon Sep 17 00:00:00 2001 From: Yunfan Li Date: Mon, 29 May 2023 21:54:54 +0800 Subject: [PATCH] ammo --- src/RandomItemMgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RandomItemMgr.cpp b/src/RandomItemMgr.cpp index bab37525..1bb91a76 100644 --- a/src/RandomItemMgr.cpp +++ b/src/RandomItemMgr.cpp @@ -2179,7 +2179,7 @@ void RandomItemMgr::BuildAmmoCache() for (uint32 subClass = ITEM_SUBCLASS_ARROW; subClass <= ITEM_SUBCLASS_BULLET; subClass++) { QueryResult results = WorldDatabase.Query("SELECT entry FROM item_template WHERE class = {} AND subclass = {} AND RequiredLevel <= {} " - "AND quality = {} ORDER BY RequiredLevel DESC", ITEM_CLASS_PROJECTILE, subClass, level, ITEM_QUALITY_NORMAL); + "ORDER BY RequiredLevel DESC", ITEM_CLASS_PROJECTILE, subClass, level); if (!results) return;