Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Oh, you're right! It broke when there was no enhance skill because of a missing null chaining operator. It should actually be

a.mat * (a.enhanceSkill?.()?.id == 169 ? 4 : a.enhanceSkill?.()?.id == 168 ? 3 : 2) - b.mdf * 2