#Visual bug with the Quark Hept DR Octeract upgrade

3 messages · Page 1 of 1 (latest)

iron herald
#

The upgrade states that each level gives you +2% DR, but the effect text says it only gives +0.01 DR.
After buying the second level, it shows +0.02 DR

#

Appears to be a mismatch between this code (Octeracts.ts Lines 357 - 371)

  octeractImprovedQuarkHept: {
    costFormula: (level: number, baseCost: number) => {
      return baseCost * Math.pow(1e6, level)
    },
    maxLevel: 3,
    costPerLevel: 1/10,
    effect: (n: number) => {
      return {
        bonus: n / 100,
        get desc () {
          return i18next.t('octeract.data.octeractImprovedQuarkHept.effect', { n: format(n/100, 2, true) })
        }
      }
    }
  },

and this translation: (/translations/en.json lines 2669, 2673)

      "octeractImprovedQuarkHept": {
        "name": "I wish for even better Quark Hepteracts.",
        "description": "The godmother is absent, but Derpsmith is here! +2% DR exponent per level. Stacks additively with all the others!",
        "effect": "Quark Hepteract DR +{{n}}."
      },
lusty widget
#

DR is 0.5, 2% of 0.5 is 0.01