Skip to content

Commit de01df3

Browse files
Increase effectiveness of stars in gear and enemy rating
1 parent 610731d commit de01df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GearScalingOverWrite.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ extern "C" float GetGearScaling(cube::Item * item, cube::Creature* creature, int
3131
cube::Game* game = cube::GetGame();
3232
if (game && creature->entity_data.hostility_type == cube::Creature::EntityBehaviour::Player)
3333
{
34-
result *= log2f((GetItemLevel(item) + 0.5f * (effective_rarity + mod_modifier) + 1001.0f) / 1000.0f) * 1000.0f;
34+
result *= log2f((GetItemLevel(item) + 3 * (effective_rarity + mod_modifier) + 1001.0f) / 1000.0f) * 1000.0f;
3535
}
3636
else
3737
{
38-
result *= (effective_rarity + mod_modifier + 1);
38+
result *= 3 * (effective_rarity + mod_modifier + 1);
3939
}
4040

4141
return result;

0 commit comments

Comments
 (0)