-
Notifications
You must be signed in to change notification settings - Fork 0
Formulas
Josh Dionne edited this page Sep 4, 2026
·
2 revisions
Generated from the thetowersdk repository. Edits made here are overwritten on the next push — change the source file instead.
thetowersdk/mechanics is the calculation layer:
- Enemy scaling — wave/tier base health and damage, enemy type multipliers, level skip, elite spawn chance, wave-info panel values
- Damage — thorns, knockback, multishot and bounce shot, rend armor, projectile damage, crowd control, damage reduction, shockwave, land mines, tower fire and range
- Ultimate weapons — the shared hit and absorb pipeline, plus Chrono Field slow, Poison Swamp ticks and stun, and Inner Land Mines including Charge Mines
- Economy — coin and enemy drop simulation, interest, ROI scaling, workshop cost tables
- Workshop stats — attack, defense and utility stat tables and their build-up
- Bots and guardians — bot hit multipliers, effective range and coverage, Wildfire duration, medal planning and simulation, Bot Bot overlap, cooldowns
- Battle conditions — resistance levels, tournament heat, counter labs
import { computeWaveBaseHealth, abilityDamage, goldenComboBonus } from 'thetowersdk/mechanics'Generated from TheTowerSDK — do not edit here. Docs and live demos: https://tmrxjd.github.io/TheTowerSDK/
- Quick Start
- Entry Points
- How It Fits Together
- Getting a Save File
- Reading a Save
- Reading The Community Wiki
- Formulas
- Builders
- Charts
- Effective Paths
- Examples
- Templates
- Building a Bot On This
- Google Sheets
- Desktop and Mobile
- Optional Add-ons
- Using It With An AI Agent
- Using Your Own Artwork
- Names And Acronyms
- Patch Notes
- Accuracy
- Versioning
- Where the Docs Live
- Contributing
- Credits
- License
Guides
Examples
- 01-browse-game-data.ts
- 02-read-a-save-file.ts
- 03-plan-upgrades-from-a-save.ts
- 04-generate-a-chart.ts
- 05-generate-a-cost-table.ts
- 06-read-the-community-wiki.ts
- 07-format-like-the-game.ts
- 08-build-a-calculator.ts
- 09-build-a-bot.ts
- 10-read-a-sheet.ts
- 11-build-a-knowledge-base.ts
- 12-show-module-and-card-art.ts
Templates