Skip to content

Apply Temporal Mirage cooldown to The Sword of Ages - #10604

Open
zubSero wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
zubSero:fix/10555-temporal-mirage-cooldown
Open

zubSero wants to merge 2 commits into
PathOfBuildingCommunity:devfrom
zubSero:fix/10555-temporal-mirage-cooldown

Conversation

@zubSero

@zubSero zubSero commented Nov 26, 2026 •

Copy link
Copy Markdown

Fixes #10555.

Description of the problem being solved:

The Sword of Ages creates a Temporal Mirage when you use a movement attack, and the mirage has a 0.5 second cooldown that PoB didn't know about. With a fast Leap Slam PoB showed more triggers than you can actually get.

The mirage cooldown is now one cooldown shared by all the spells in the sword. Each spell still has its own cooldown on top of that. The Temporal Mirage skill isn't in the exported skill data, so the 0.5 seconds is a constant taken from the in-game tooltip in the issue.

Two things I assumed and haven't tested in game:

  • Only global cooldown recovery applies to the mirage cooldown, not recovery that is specific to the triggered spell.
  • The mirage picks a random spell, which I treat as an even split between the spells in the sword.

Steps taken to verify a working solution:

  • Added tests: slow attacks all trigger, attacks during the cooldown are wasted, cooldown recovery raises the cap, and two or three spells share the rate.
  • In the build from the issue, Trigger Rate Cap for Frostblink of Wintry Blast goes from 2.33 to 1.89 per second. Leap Slam there is slower than the cap, so the trigger rate stays at 0.85 per second.
  • With a faster Leap Slam, Frostbolt goes from 2.18 to 1.09 casts per second.

Link to a build that showcases this PR:

https://pobb.in/sftAkM-kHfC6

Before screenshot:

No trigger cap, 2.18 Frostbolt casts per second

After screenshot:

0.50 second cooldown, 1.09 Frostbolt casts per second

@zubSero zubSero mentioned this pull request Nov 26, 2026
3 tasks done
Temporal Mirage's 0.50 second cooldown belongs to the mirage, so it now
gates the simulation once instead of also being forced onto every
socketed spell as that spell's own cooldown.

- The shared cooldown recovers at the player's global cooldown recovery
  rate. Recovery that only applies to the spell that happened to be
  cast, such as travel skill recovery on Frostblink, no longer shortens it.
- Spells keep their own cooldown. Frostblink of Wintry Blast still adds
  its cast time to its own cooldown when triggered, as it does on dev.
- Triggers without a shared cooldown run the simulation exactly as before.
- The 0.50 seconds is a named constant, because the Temporal Mirage skill
  itself is not in the exported skill data.
- The tests assert the behaviour with a tolerance instead of comparing
  rounded simulation results.
@zubSero
zubSero force-pushed the fix/10555-temporal-mirage-cooldown branch from ae82292 to b187936 Compare November 27, 2026 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Temporal Mirage from Sword of Ages

1 participant