3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-14 20:10:05 +01:00
Paper/scripts
Aikar 50a23d5ea3
Configurable Alternative LootPool Luck Formula
Rewrites the Vanilla luck application formula so that luck can be
applied to items that do not have any quality defined.

See: https://luckformula.emc.gs for data and details
-----------

The rough summary is:
My goal was that in a pool, when luck was applied, the pool
rebalances so the percentages for bigger items is
lowered and smaller items is boosted.

Do this by boosting and then reducing the weight value,
so that larger numbers are penalized more than smaller numbers.
resulting in a larger reduction of entries for more common
items than the reduction on small weights,
giving smaller weights more of a chance

-----------

This work kind of obsoletes quality, but quality would be useful
for 2 items with same weight that you want luck to impact
in varying directions.

Fishing still falls into that as the weights are closer, so luck
will invalidate junk more.

This change will result in some major changes to fishing formulas.

-----------

I would love to see this change in Vanilla, so Mojang please pull :)
2018-06-15 00:32:35 -04:00
..
apatch.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
applyPatches.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
build.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
decompile.sh Move mc decompile source to its own folder 2017-08-12 18:56:59 -05:00
functions.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
importmcdev.sh Configurable Alternative LootPool Luck Formula 2018-06-15 00:32:35 -04:00
init.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
makemcdevsrc.sh Move mc decompile source to its own folder 2017-08-12 18:56:59 -05:00
paperclip.sh Use absolute paths for pointing Paperclip to files 2017-09-23 13:30:55 -05:00
rebuildPatches.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
remap.sh Use a more general method of aliasing md5sum 2018-02-23 18:58:45 -06:00
testServer.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00
upstreamMerge.sh Handle gpg signing better (#1123) 2018-05-24 13:41:50 -05:00