Shaped Glass

The Shaped Glass is a lunar item in Risk of Rain 2.

When held, it doubles the player's base damage, but halves their total health.

This item is unique in that both its effects stack exponentially, meaning that all effects are applied on top of the effects of any other Shaped Glass the player has in their inventory. For example, if the player has 100 health and 50 damage, picking up one Shaped Glass will change those values to 50 health and 100 damage. With another, it would apply the same stat changes to the existing changes, giving the player a maximum of 25 health and 200 damage. The player can keep stacking the Shaped Glass until they reach a maximum of 127. Upon collecting their 128th glass, the player will be instantly killed due to the limits of the floating point system.

Math
The damage is determined by the formula

The maximum health is determined by the formula

Trivia

 * Prior to the 1.0 Update, one-shot protection was unaffected by Shaped Glass, but now Shaped Glass removes the player's one-shot protection entirely.
 * Obtaining Shaped Glass does not cause the player to take damage, despite the health bar's red animation.
 * Dying while holding Shaped Glass results in a unique death animation, where the player's Survivor shatters into shards of glass. Additionally, the death message while holding Shaped Glass is unique, displaying "You have shattered into innumerable pieces."
 * This animation is identical to the one used when the player obliterates themself at the Obelisk in A Moment, Fractured.