Browse Source

Common tier 2 items should be in small chests not body drop

Emagi 1 year ago
parent
commit
33293610df
1 changed files with 2 additions and 2 deletions
  1. 2 2
      EQ2/source/WorldServer/Items/Loot.cpp

+ 2 - 2
EQ2/source/WorldServer/Items/Loot.cpp

@@ -70,7 +70,7 @@ NPC* Entity::DropChest() {
 	int8 highest_tier = 0;
 	vector<Item*>::iterator itr;	
 	for (itr = ((Spawn*)this)->GetLootItems()->begin(); itr != ((Spawn*)this)->GetLootItems()->end(); ) {
-		if ((*itr)->details.tier >= ITEM_TAG_UNCOMMON && !(*itr)->IsBodyDrop()) {
+		if ((*itr)->details.tier >= ITEM_TAG_COMMON && !(*itr)->IsBodyDrop()) {
 			if ((*itr)->details.tier > highest_tier)
 				highest_tier = (*itr)->details.tier;
 
@@ -96,7 +96,7 @@ NPC* Entity::DropChest() {
 		chest->SetModelType(5864);
 		chest->SetName("Treasure Chest");
 	}
-	else if (highest_tier >= ITEM_TAG_UNCOMMON) {
+	else if (highest_tier >= ITEM_TAG_COMMON) {
 		chest->SetModelType(4034);
 		chest->SetName("Small Chest");
 	}