Slay the Spire · Events

The Library

You come across an ornate building which appears abandoned.
A plaque that has been torn free from a wall is on the floor. It reads, "THE LIBRARY".
Inside, you find countless rows of scrolls, manuscripts, and books.
You pick one and cozy yourself into a chair for some quiet time.

Choices

1.

Read

Choose 1 of 20 cards to add to your deck.

2.

Sleep

A < 15

Heal round(Max HP × 0.33) HP.

A ≥ 15

Heal round(Max HP × 0.2) HP.

3.

Leave

Calculations
  • HP percentage products: float32(float32(a) × float32(b))
  • discard the fractional part: trunc(x) = int32(x)
  • round to nearest: round(x) = int32(x + 16384.5) − 16384
  • 1Read
    • deck changepick one of 20 random cards
    • advance
  • 2Sleep
    • healA15+: max HP × 0.2 rounded otherwise max HP × 0.33 rounded

Appears in