v1.1.0: fixed liquid metal recipe cap applying incorrectly
This commit is contained in:
parent
be40007183
commit
9dcfc21a72
|
@ -182,7 +182,7 @@ public class LiquidMetal extends Item {
|
|||
MissileWeapon m = (MissileWeapon) i;
|
||||
float quantity = m.quantity()-1;
|
||||
quantity += 0.25f + 0.0075f*m.durabilityLeft();
|
||||
quantity *= Math.pow(2, Math.max(3, m.level()));
|
||||
quantity *= Math.pow(2, Math.min(3, m.level()));
|
||||
metalQuantity += Math.round((5*(m.tier+1))*quantity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user