Core Defense

Core Defense

View Stats:
Jack Deth 8 Jan, 2023 @ 12:31am
Question about core damage...
How can 'core damage' show zero(0) and 'waves' show example, 9/50? which I understand means that out of 50 potential waves I made it to the 9th wave, which also ended there because I took too much CORE DAMAGE. I have a side question...assuming no masterys active, do every daily challenge player start with same core health amount?...If on the 1st wave one(1) mob enters and is destroyed and if I could see my score leading into the 2nd wave what would I see? I ask these questions because viewing the data we are given from the leader board it is near to impossible to figure out why a player (scored) higher or lower when compared to another player...how can someone with a 'mobs killed' number of 800 and something rank lower than lets say someone with 200 and something 'mobs killed' and they completed less total waves and had less 'flawless' waves?? what are the scoring numbers for each mob type?...Is scoring calculated 'on the fly', after each wave or at the completion of the game. Is there a way to see score during game play? right now scoring is confusing and seems random
< >
Showing 1-1 of 1 comments
ehmprah  [developer] 30 Mar, 2023 @ 12:27am 
Here's the code for the scoring:

let score = stats.waves * 10; score += stats.flawless * 10; score += stats.bossWave * 50; // We grant the following bonus only on winning or endless if (stats.waves >= 50) { score += 250; score += stats.difficulty * 100; score += stats.supercharge > -1 ? 500 : 0; score += stats.flawless === stats.waves ? 500 : 0; score += stats.mobsKilled === 0 ? 1000 : 0; score += stats.towersLost === 0 ? 250 : 0; score += stats.coreDamage === 0 ? 250 : 0; score += stats.rarity0 === 0 ? 250 : 0; score += stats.rarity1 === 0 ? 250 : 0; score += stats.rarity2 === 0 ? 250 : 0; } score *= stats.scoreModifier; return Math.round(score);
< >
Showing 1-1 of 1 comments
Per page: 1530 50