Skip to content

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.

Formulas

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'

Clone this wiki locally