Verified Battle Engine • 0ms Solver

Loomian Legacy Damage Calculator

0ms Client-Side Interactive PvP Simulator & Reverse TP Optimizer

✅ 325+ Loomians & 417 Moves ✅ Exact 1.25× STAB & 16 Rolls ✅ Reverse TP Optimizer ✅ Energy & Speed Tiers
Battle Field & Weather Modifiers

Attacker

Select Loomian
Current Energy 100%
Stats & Investment (UPs / TPs)
Total TPs: 0 / 500 Max
Stat Base UP (0-40) TP (0-200) Stage Final

Moves Selection Select up to 4 moves

#1
#2
#3
#4

Defender

Select Loomian
Current HP (%) 100%
Stats & Investment (UPs / TPs)
Total TPs: 0 / 500 Max
Stat Base UP (0-40) TP (0-200) Stage Final

Speed Matchup Comparing...

Attacker Effective Speed
-
Defender Effective Speed
-

Battle Damage Analysis & Probabilities

0
Guaranteed OHKO
0%
Chance to OHKO
0%
Average Damage
-
Top Recommendation

Loomian Legacy Battle Mechanics & Calculation Methodology

Damage Formula Implementation

The damage engine strictly mirrors the verified Loomian Legacy battle code. Unlike generic calculators that borrow Pokémon constants, this solver enforces the game's actual math:

$$\text{Base} = \lfloor 2 \times \text{Level} / 5 \rfloor + 2$$
$$\text{Damage} = \lfloor \lfloor \text{Base} \times \text{Atk} / \text{Def} \times \text{Power} \rfloor / 50 \rfloor + 2$$
  • • STAB: Exactly 1.25× multiplier (+25% power) when the move matches the Loomian's type.
  • • 16 Discrete Rolls: 85% to 100% in 1% steps (0.85, 0.86, ... 1.00), each floor-rounded.
  • • Burn & Freezing: Burn reduces Melee Attack damage by 33% (× 2/3), and Freezing reduces Ranged Attack by 33%.
  • • Screens: Near Enchantment (halves Melee) and Far Enchantment (halves Ranged).

Energy Mechanics & Speed Priorities

Loomian Legacy replaces Power Points (PP) with an active Energy meter. Knowing your stamina threshold prevents entering the vulnerable "Resting" state in high-stakes PvP:

  • Stamina Cost Multipliers: Items like Power Cuffs give a +20% damage boost but increase move energy cost by 25%. Defensive items like Heavy Armor and Heavy Shield increase energy costs by 15%.
  • Speed Tiers: Speed ties in competitive play are a 50/50 coin toss. Our solver checks stage modifiers (-6 to +6) and paralysis (-50% speed) to project real turn order.
  • Entry Hazard Thresholds: Each layer of Barbs deals 12.5%, 18.75%, or 25% max HP. Ice Trap deals type-based ice damage on entry. These values automatically factor into the KO probability breakdown.

Frequently Asked Questions

Q: How does damage calculation work in Loomian Legacy?

Loomian Legacy uses an exact formula: Damage = Math.floor(Math.floor((Math.floor(2 * Level / 5) + 2) * Atk / Def * Power) / 50) + 2, followed by sequential floor operations for STAB (1.25x), type effectiveness (2x, 4x, 0.5x, 0.25x, 0x), critical hits (1.5x), status penalties (Burned 2/3 for melee, Freezing 2/3 for ranged), items, weather, and 16 discrete integer rolls from 85% to 100%.

Q: What is the STAB multiplier in Loomian Legacy?

Unlike Pokemon's 1.5x STAB, Loomian Legacy awards a 1.25x multiplier (25% boost) when a Loomian executes a move matching its primary or secondary type. Abilities like Awakening can raise this to 1.5x, while Ace raises it to 2x.

Q: How do TPs and UPs scale stats at Level 50?

UPs (Unique Points) range from 0 to 40 per stat, and TPs (Training Points) range from 0 to 200 per stat (with a maximum of 500 total across all stats). At Level 50, 4 TPs grant exactly 1 additional stat point, and 2 UPs grant 1 stat point. Non-HP stats add +5 as a baseline, while HP stats add +Level + 10.

Q: How does the Reverse TP Optimizer help in competitive PvP?

Instead of blindly allocating 200 TPs into an attack stat, the Reverse TP Optimizer uses a linear solver to find the exact minimal investment needed to secure guaranteed OHKOs or 2HKOs against specific meta defenders. The remaining TPs can then be invested into HP, defenses, or speed tiers.

Q: How does the Energy system impact move viability?

Loomian Legacy replaces PP with an active Energy pool. Every offensive move consumes energy. Equipping Power Cuffs boosts damage by 20% but increases move energy cost by 25%. Heavy Armor and Heavy Shield increase energy costs by 15%. Our calculator computes exact turns until energy exhaustion.