Browse Source

Fix from EmemJR "...the current code is setting the level 1 spells to tier 0"

Full Quote: "this is becuase for recipes  level 1-9 are tier 1 recipes 10 -19 are tier 2 etc the current code is setting the level 1 spells to tier 0"
devn00b 1 year ago
parent
commit
e57aa85050
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/Recipes/RecipeDB.cpp

+ 1 - 1
EQ2/source/WorldServer/Recipes/RecipeDB.cpp

@@ -60,7 +60,7 @@ void WorldDatabase::LoadRecipes() {
 		Recipe* recipe = new Recipe();
 		recipe->SetID(res.GetInt32(i++));
 		recipe->SetLevel(res.GetInt32(i++));
-		recipe->SetTier(recipe->GetLevel() / 10);
+		recipe->SetTier(recipe->GetLevel() / 10 + 1);
 		recipe->SetIcon(res.GetInt32(i++));
 		recipe->SetSkill(res.GetInt32(i++));
 		recipe->SetTechnique(res.GetInt32(i++));