Score System

The scoring system works as follows. For each time an enemy is hit, either by a tower or Skye's weapon its score load is increased. This score load is then rewarded to the player once the enemy dies. How much the score load is increased with each hit is based on an enemy specific, predefined value multiplied with the percentage of the enemies max health the hit took. That value is in turn multiplied with ScoreMultiplier. Here is the basic pseudo code that is executed for every hit.

For each Tower hit it's different. The ScoreMultiplier is calculated based on which tower hit the enemy. Every tower holds and keeps track of a ScoreMultiplier. For each hit the tower does this value is increased by a predefined tower specific value, it also has a cap. In psedou code: