Seamonster778778778788 / SQBeyondPublic

Repository for bug reports and suggestions for SQBeyond
6 stars 2 forks source link

Ship detection math wrong #551

Closed HailOVERLORD closed 4 years ago

HailOVERLORD commented 4 years ago

The math to calculate the armor/wool percentages is not working right.

To reproduce the issue, use irl math to create a starfighter with the absolute max armor and min wool. It will not work unless you add way too much extra wool.

fin444 commented 4 years ago

Attempted to reproduce using the following ship specs: 30 total blocks 12 wool (40%) 6 armor (20%) 12 misc. blocks (40%)

The ship detected as expected, and showed correct numbers in /ship info.