frqnny / dark-enchanting

The Dark Enchanting mod for Fabric Mod Loader.
GNU Lesser General Public License v3.0
18 stars 12 forks source link

Inconsistents Value Factors #52

Closed Laifsyn closed 2 years ago

Laifsyn commented 2 years ago

So I'm having kinda of an issue getting exactly what're the values.

So the Receive Factor for enchantments is -1.5

so by that logic, if I have something that specifically costs 8891 to enchant, but the pay value to disenchant is 13 ,345. Even though close to 13,336, if there's no way to get how the values are calculated, then it's is really hard to fine tune the dark enchanting prices. Specially if you can't reload the Dark Enchant config file

the personal factors were all at 1.0

frqnny commented 2 years ago

please dont use negative values im not going to account for what that might do

frqnny commented 2 years ago

oh i get your concern. idk i just wrote the xp code to add and subtract stuff and multiply and divide and bam, it gets the amount.

in other words, me or you or anybody trying to figure out exactly how i made the calculations is not the way to go

Laifsyn commented 2 years ago

so I gotta slam and reload individually until I'm satisfied with the price? x.x

frqnny commented 2 years ago

in all seriousness how much do you want it to be?…

frqnny commented 2 years ago

you can’t really reload the configs in game, it just wouldn’t work unless i rewrote config api completely

Laifsyn commented 2 years ago

just one example. I had the personalReceiveFactor set to 8.

Whatever was the value, I divided it by 8, then I supposdly I would get the base price(BasePrice). Then the cost would be> BasePrice*UnknownMultiplier=TargetPrice. If you give me ~10 mins I can try to get the exact numbers and the result of the calculation

frqnny commented 2 years ago

no im going to sleep come to my discord if you want to continue this conversation later