maxsupermanhd / meteor-villager-roller

Module for Meteor Client that continiously breaks and places work block of villager until it has desired trade
GNU General Public License v3.0
100 stars 17 forks source link

I think its 2 here #41

Closed FeeNiiX closed 1 month ago

FeeNiiX commented 1 month ago

https://github.com/maxsupermanhd/meteor-villager-roller/blob/b67561e7e35155f93950130bbf729cf990a63346/src/main/java/maxsuperman/addons/roller/modules/VillagerRoller.java#L416

Fix --> setOptimal.tooltip = "Set to optimal price (2 + maxLevel * 3) (double if treasure) (if known)";

A Level 5 enchant would be 2 + (5 3) = 17 <-- Cheapest Lvl 5 Enchant Instead of 5 + (5 3) = 20

maxsupermanhd commented 1 month ago

Good catch, no idea how it happened, in the actual calculation it uses correct 2+3*maxLevel