Ultimate Beings V4

Ultimate Beings v4, also called UBv4, is an end-game feature unlocked during each rebirth.

Overview
UBv4 requires high level dungeon pets, Light Clones, Shadow clones, and a high clone cap to be effective. Defeating them provides GP and UBV4 points, which increase Black Hole Chan's growth, campaign bonus, and dungeon elements.

There are five UBv4's, based on the Ultimate Beings:

A clean sweep of the five UBv4's nets 300 GP and 15 UBV4 points. Like UBV2, they do not respawn and can only be defeated once per rebirth.
 * Planet Eater v4: Gives 20 GP and 1 UBV4 point when killed.
 * Godly Tribunal v4: Gives 40 GP and 2 UBV4 points when killed..
 * Living Sun v4: Gives 60 GP and 3 UBV4 points when killed.
 * God Above All v4: Gives 80 GP: and 4 UBV4 points when killed.
 * ITRTG v4: Gives 100 GP and 5 UBV4 points when killed.

Unlocking
UBv4 are locked at the start of each rebirth, and must be unlocked by doing the following.


 * Dimension Beamer (SpaceDim) :  Level 50 ( P.Baal V 50)
 * Black Hole + Might :  Level 100 (Ghost might counts)
 * Light Clones : 20,000
 * Shadow Clones : 10,000,000
 * Evolved Pets : 2 Defenders, 2 Assassins, 2 mages, 2 supporter pets
 * UBV2 : All 5 defeated

Fighting
TLDR: focus on increasing shadow clones, light clones, defender defense, mage attack, and supporter attack/CL

To defeat each UBV4, you must defeat them using a combination of Shadow Clones, Light Clones, Pets, and Might. The fight consists of rounds in which the following occurs: The fight ends when the UVB4 is killed, all the Shadow Clones are killed, or 50 rounds have passed.
 * UBV4 attacks, killing Shadow Clones
 * Physical Attack occurs
 * Magic Attack occurs
 * Healing revives some Shadow Clones.

To damage the UBV4, its shield must first be destroyed with a Magic Attack. Once the shield is destroyed, both Magic and Physical Attacks can damage the UBV4. Damage is reduced by the UBV4's Defense, but Physical Attacks can deal additional damage through Defense Penetration (see below).

UB Stats
Each UBV4 has stats based on their tier and max HP.
 * Max HP: Based on Tier
 * Attack: 40% of Max HP
 * Defense: 25% of Max HP
 * Defense Pierce: 10% per Tier
 * Shield: 120% of Max HP

Each defeat of a UBV1 decreases the Attack, Defense, and Shield of the corresponding V4. HP is not affected by this reduction. Defense Pierce is not directly reduced, but the additional damage dealt depends on Attack, which is. The reduction is given by: $$\text{V4 Stat} = \frac{\text{V4 Base Stat} \times 5} {5 + \text{UBv1 Kills} \times \text{Tier}} \%$$

Example: Defeating PE 5 times will reduce PEV4's stats by 50%. Defeating GT 5 times will reduce GTV4's stats by 66%.

Note on challenges: UCC has no reduction.

UBV4C instead uses: $$\text{V4 Stat} = \frac{\text{V4 Base Stat} \times 25}{25 - \left( \text{UBv1 Kills} \times \text{Tier} \times (\text{UBV4Cs Completed} - 4)\right) } \%$$

When attacking, the UBV4 has: The base damage (i.e. clones killed) is equal to: $$\frac{\text{Clones}}{\text{Max HP}} \times \big($$ $$\text{V4 Attack} - \text{Defense} + $$ $$\text{V4 Attack} \times \text{V4 Defense Pierce} \times \text{Damage Roll} \times (100 - \text{Damage Reduction})\%$$ $$\big)$$ Damage Roll is a random multiplier between 90% and 110%.
 * A 50% chance to use its 1st attack, dealing 100% of base damage
 * A 30% chance to use its 2nd attack, dealing 120% of base damage
 * A 20% chance to use its 3rd attack, dealing 150% of base damage

Player Stats
Your stats are determined as follows:

Light Clone Power, used to calculate other stats: $$\text{Light Clones} < 50\,000 \implies \text{LC Power} = \text{Light Clones}$$ $$50\,000 < \text{Light Clones} \leq 300\,000 \implies \text{LC Power} = 40\,000 + \frac{\text{Light Clones}}{5}$$ $$300\,000 < \text{Light Clones} \leq 800\,000 \implies \text{LC Power} = 70\,000 + \frac{\text{Light Clones}}{10}$$ $$\text{Light Clones} > 800\,000 \implies \text{LC Power} = 118\,000 + \frac{\text{Light Clones}}{25}$$

Max HP, capped between 1x and 100x the number of Clones: $$\frac{\text{Shadow Clones}}{100} \times$$ $$\left(1 + \frac{\text{Physical HP+ Might}}{100} \right) \times$$ $$\left(70 + \left( \sum{\text{Pet HP}} \right)^{0.4} \right)$$

Defense: $$\text{LC Power} \, \times$$ $$\left( \sum{\text{Defender Defense}} + \sum{\frac{\text{Other Pet Defense}}{10}} \right)$$

Melee Attack: $$75\% \times \text{LC Power} \times$$ $$\left( \sum{\text{Assassin Attack}} + \sum{\frac{\text{Other Pet Attack}}{10}} \right)$$

Magic Attack: $$1\% \times \text{LC Power} \times$$ $$\left( \sum{\text{Mage Attack}} + \sum{\frac{\text{Other Pet Attack}}{10}} \right) \times$$ $$\left(70 + \left( \sum{\text{Pet Elements}} \right)^{0.4} \right)$$

Heal Power: $$50\% \times \text{LC Power} \times$$ $$\left( \sum{\text{Supporter Attack}} + \sum{\frac{\text{Other Pet Attack}}{10}} \right) \times$$ $$\left(1 + \frac{\text{Mystic Regen+ Might}}{100} \right)$$

Damage Reduction, capped at 50%: $$\sum{\frac{\text{Supporter CL}}{3}} \, \%$$

Damage Pierce: $$\left( \sum{\text{Knives Pierce}} + \sum{\frac{\text{Other Pet CL}}{12}} + \text{Pet Speed Bonus} \right) \%$$ Pet Speed Bonus, capped at 60: $$\left( \sum{\text{Pet Speed}} \right)^{0.4} - 30$$