Combat in Dungeon Within resolves through a strict sequence: room entry triggers execute first, units accumulate action gauges based on Speed, incoming strikes pass through multi-layered damage mitigation, and status effects tick at distinct phase milestones. To prevent squad wipes and maximize room efficiency, structure your defense around how the combat engine prioritizes actions and calculates damage.
Action Gauges and Turn Priority
Combatants do not take turns in a simple alternating order. Instead, every monster and invader acts according to an individual Action Gauge that increments continuously during battle ticks.
- Speed Scaling: A unit's current Speed stat dictates how rapidly its gauge fills toward 100%. A unit with double the Speed of an opponent completes two full action rotations for every single action the slower unit mounts.
- Tie-Breaker Hierarchy: When multiple combatants reach 100% gauge on the exact same tick, environmental room hazards and traps process first. If units are still tied, the combatant with the higher unbuffed base Speed acts first. If an invading hero and a defending monster share identical speeds, priority defaults to the defending monster.
| Combat Phase | Trigger Condition | Mechanical Effect |
|---|---|---|
| Gauge Accumulation | Continuous combat ticks | Fills toward 100% proportional to current Speed and active haste buffs. |
| Turn Declaration | Gauge reaches 100% threshold | Action locks in, resolving ahead of lower-speed units in the same tick. |
| Action Execution | Target acquired within range | Fires basic attack or active skill, then resets gauge to 0%. |
| Turn Recovery | Post-action cooldown phase | Re-enables gauge filling and triggers end-of-turn status ticks. |
Damage Resolution and Mitigation Hierarchy
Incoming damage passes through five sequential calculation layers before any hit points are permanently deducted from a unit:
- Base Output: The engine multiplies the attacking unit's Attack stat by the chosen skill's scaling factor.
- Critical Check: If a critical strike rolls successfully, the critical damage multiplier applies directly to the raw figure.
- Percentage Modifiers: Attacker damage-dealt bonuses and target vulnerability debuffs modify gross damage.
- Defense Reduction: Gross damage interacts with the target's physical or magical Defense rating. Defense mitigates incoming force on a non-linear percentage curve rather than subtracting a flat number.
- Barrier and Health Absorption: Net damage hits active Barriers first, depleting shields point-for-point. Only unmitigated spillover damage bypasses the barrier to reduce the red Health bar. If damage is lethal, survival mechanics such as Endure or Immortality trigger before death processes.
Because defense mitigates damage before barriers absorb the remainder, stacking defense buffs alongside barrier-granting supports significantly extends the lifespan of temporary shield pools.
Status Effect and Counter Timings
Status effects adhere to specific execution windows during a unit's combat cycle:
- Hard Crowd Control: Stun and Freeze immediately halt Action Gauge accumulation. Inflicting hard crowd control on an invader that is preparing a cast cancels the action and resets their gauge to zero.
- Accuracy Penalties: Soft debuffs like Blind do not alter gauge speed. Blind triggers an accuracy check at the moment of strike resolution, causing attacks to miss harmlessly while still consuming the unit's turn.
- Continuous Damage Timings: Burn ticks at the start of an afflicted unit's turn before any action executes, meaning a lethal burn prevents an invader from attacking. Poison ticks at the end of the unit's action and scales with active stack counts. Both effects bypass standard defense ratings to damage barriers and health directly.
- Counters and Reflection: Thorns and reflection effects calculate immediately after barrier mitigation but before the attacker's turn concludes. Against multi-hit attacks, reflection triggers on each individual hit instance.
Optimizing Fortress Layout
To exploit these processing rules in your dungeon:
- Front-Load Room Entrances with Traps: Room entry triggers resolve before entering units can begin their initial action gauge cycle. Place traps that inflict Slow, Stun, or direct damage directly at room entrances so stationed defenders gain an immediate action advantage.
- Layer Defense Buffs with Barriers: Pair high-defense frontline monsters with barrier-generating supports. High defense reduces incoming damage before it hits shields, preventing burst-focused invaders from shredding your frontline in the opening rotation.
- Target Enemy Action Gauges: Use speed-reducing rooms and rapid stunners in your outer perimeter. Delaying enemy turn declarations allows your damage dealers to execute multiple skill rotations before invaders can launch coordinated active abilities.
Free Dungeon Within Codes
Current active codes and how to redeem them.
COMMUNITY
Player Comments
153 players commented on this guide.
The tips are practical and easy to follow.
Nice guide. I am checking the other Dungeon Within articles next.
I tried this today and it worked better than my old setup.
The explanation is clear, especially for beginners.