The alien trait randomly allocates a 1/0.02/0.01 points of durability/defense/toughness 800 times, but items allowed to fully grow until they stop gaining attributes are only gaining ~560-630 iterations worth of growth.
I believe the issue is here - it looks like the relevant switch statement handles cases for 0/1/2, while random.nextInt(4) is going to return a value from 0-3 inclusive, so roughly 1/4 of the points "fall off" during growth.
Expected Behavior:
800 points worth of stat growth for alien armors, or that this is functioning as intended and is simply a roundabout solution to randomizing the amount of growth per armor.
Steps to Reproduce:
Make an item with the alien trait, equip it.
Watch a movie or something else that'll eat 48+ minutes while the armor bakes.
Calculate gained stats at a tool station to determine stat points 'gained'.
Versions (Be specific, do not write "latest"):
Observed Behavior:
The
alien
trait randomly allocates a 1/0.02/0.01 points of durability/defense/toughness 800 times, but items allowed to fully grow until they stop gaining attributes are only gaining ~560-630 iterations worth of growth.I believe the issue is here - it looks like the relevant switch statement handles cases for 0/1/2, while random.nextInt(4) is going to return a value from 0-3 inclusive, so roughly 1/4 of the points "fall off" during growth.
Expected Behavior:
800 points worth of stat growth for
alien
armors, or that this is functioning as intended and is simply a roundabout solution to randomizing the amount of growth per armor.Steps to Reproduce: