diff options
Diffstat (limited to 'html/tower/js/gameState.js')
-rw-r--r-- | html/tower/js/gameState.js | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/html/tower/js/gameState.js b/html/tower/js/gameState.js index 63270fa..79a32f1 100644 --- a/html/tower/js/gameState.js +++ b/html/tower/js/gameState.js @@ -27,6 +27,26 @@ const TowerTypes = { damage: 0.5, attackSpeed: 2, color: '#2ecc71' + }, + GOOP: { + name: 'Goop Tower', + cost: 30, + range: 3, + damage: 0, + attackSpeed: 1, + color: '#27ae60', + special: 'slow', + slowAmount: 0.5 // Reduces enemy speed by 50% + }, + AOE: { + name: 'AOE Tower', + cost: 45, + range: 2, + damage: 1.5, + attackSpeed: 0.3, + color: '#e67e22', + special: 'aoe', + aoeRadius: 1 // Additional tiles affected } }; @@ -40,6 +60,13 @@ const ParticleTypes = { lifetime: 300, speed: 0.3, color: '#ffffff' + }, + AOE_EXPLOSION: { + lifetime: 500, + initialRadius: 10, + finalRadius: 60, + color: '#e67e22', + ringWidth: 3 } }; |