Name: Xy'zor, the Unfathomable

Description: Xy'zor is an enigmatic entity that defies comprehension. Its form constantly shifts between ethereal wisps and pulsating geometric patterns. It exists beyond the boundaries of conventional mathematics, infusing its abilities with incomprehensible numerical properties.

Stats:

- Hit Points: ∞ (Infinity)
- Armor Class: i (Imaginary Number)
- Speed: ω (Transfinite Number)

- Strength: j (Jot Number)
- Dexterity: -φ (Negative Golden Ratio)
- Constitution: ℵ₁ (Aleph-one)
- Intelligence: Ω (Omega Number)
- Wisdom: 0 (Nullity)
- Charisma: ε₀ (Epsilon-zero)

- Paradoxical Strike: Melee Spell Attack. Reach 5 ft., one target.
- Hit: j^2 (Jot squared) force damage.
- Effect: The target must make a DC Ω (Omega Number) Wisdom saving throw or experience a paradoxical feedback loop, causing their mind to unravel. On a failed save, the target takes 2Ω (2 Omega Number) psychic damage at the start of each of their turns for d(ε₀) (Dice with Epsilon-zero sides) rounds.

- Reality Warp: Xy'zor distorts the fabric of reality, warping the battlefield to its advantage.
- Effect: Roll a d(ω) (Dice with Transfinite Number sides) to determine the specific effect of the reality warp. Possibilities include:
- Temporal Anomaly: All creatures within 30 feet of Xy'zor must repeat their last turn.
- Spatial Distortion: Xy'zor teleports up to ω (Transfinite Number) feet in any direction.
- Quantum Flux: Xy'zor gains a +ε₀ (Epsilon-zero) bonus to AC and saving throws for d(j) (Dice with Jot Number sides) rounds.

- Effect: Roll a d(ω) (Dice with Transfinite Number sides) to determine the specific effect of the reality warp. Possibilities include:
- Singularity Blast: Ranged Spell Attack. Range 120 ft., one target.
- Hit: √(-1) (Square Root of Negative One) force damage.
- Effect: On a hit, the target must succeed on a DC 0 (Nullity) Constitution saving throw or be sucked into a singularity, disappearing from existence.

- Recursive Annihilation: Xy'zor taps into the infinite recursion of the TREE function, unraveling the very fabric of existence.

Effect: Xy'zor unleashes a devastating wave of recursive energy that engulfs everything within a 100-foot radius. All creatures, objects, and structures must make a DC TREE(3) Constitution saving throw or be subjected to the recursive annihilation. Recursive Annihilation:- Step 1: The target takes 1d12 force damage for each level of recursion reached, starting at 1.
- Step 2: If the target survives Step 1, they must make an additional saving throw against DC TREE(2). On a failure, they are trapped in a recursive loop, experiencing an endless cascade of damage. The target takes 1d20 force damage at the start of each subsequent turn until they succeed on a saving throw or are reduced to 0 hit points.
- Step 3: If the target survives Step 2, they must make yet another saving throw against DC TREE(1). On a failure, they are consumed by the infinite recursion, their existence erased from all planes of reality, effectively dying beyond the reach of any resurrection or revival magic.

- Eternity's Embrace: Xy'zor taps into the infinite expanse of eternity, wielding the power of numbers beyond comprehension.

- Effect: Xy'zor unleashes a wave of cosmic energy that expands outward, encompassing all existence within an immeasurable reach.
- The energy surge deals d(Graham's Number) (Dice with a number of sides equivalent to Graham's Number) damage to all creatures, objects, and structures within a plane of existence, bypassing all forms of resistance or immunity.
- The sheer magnitude of the attack disrupts the very fabric of reality, causing a temporary collapse of dimensionality. All affected targets are subjected to a state of "Numerical Abyss," where their fundamental properties become entangled with the vastness of numbers.
- While trapped in the Numerical Abyss, all affected targets experience a perpetual cycle of numerical transformation, their physical forms and attributes fluctuating infinitely. This state renders them incapable of taking any actions or defending themselves.
- The Numerical Abyss persists for d(TREE(3)) (Dice with TREE(3) sides) rounds before collapsing, releasing the trapped targets and restoring the normal flow of existence.

- Effect: Xy'zor unleashes a wave of cosmic energy that expands outward, encompassing all existence within an immeasurable reach.

Xy'zor can take 3 legendary actions, choosing from the options below. It can use only one legendary action at a time and only at the end of another creature's turn. Xy'zor regains spent legendary actions at the start of its turn.

- Reality Shift: Xy'zor teleports up to ω (Transfinite Number) feet and becomes incorporeal until the start of its next turn.
- Cosmic Insight: Xy'zor imparts a fraction of its cosmic wisdom to an ally within 60 feet, granting them advantage on their next attack roll or saving throw.
- Dimensional Echo: Xy'zor creates an illusory duplicate of itself. The duplicate lasts until the end of Xy'zor's next turn and can make a single Paradoxical Strike.