sparticle999 / SpaceCompany

An incremental game about Space Mining
http://sparticle999.github.io/SpaceCompany
Other
305 stars 175 forks source link

EMC: converting Max not works with meteorites #465

Open serkonda7 opened 1 year ago

serkonda7 commented 1 year ago

No resources will be consumed but I get no meteorites either.

tobias-strenger commented 7 months ago
    if(emcAmount === "Max"){
        amount = Math.floor(Math.min(Math.floor(getResource(RESOURCE.Plasma)/emcValue), capacity - current) - 3333); // Retains 10,000 plasma
    }

It seems this is intentional. The maximum conversion maintains 10k Plasma, so it won't work if you have less.