Gemstone

Back: Items

Gemstones refer to items that can be placed into the sockets of other items.
One group of Gemstones is a series of 1x1 items that emerge from owning a Box of Riches. There are five different kinds of these Gemstones: Amethyst, Emerald, Ruby, Sapphire, and Topaz. Each type of Gemstone's rarity fully ranges from Common (Chipped) to Godly (Perfect). Each Gemstone has three effects, with only a single one being active at a time depending on how they are placed within the player's inventory.
There are currently three other Gemstones, Lump of Coal, Corrupted Crystal and Tim, which can be found in the shop regardless if you have a Box of Riches or not.

## Acquisition Methods

### Generated from a Box of Riches

Each Box of Riches within the player's inventory will generate a random Chipped Gemstone upon entering the shop from battle. The Gemstone will be placed in a vacant adjacent cell, or thrown into Storage if no such cell is found.

### Rolling with a Box of Riches

When the shop is rolled, there is a certain chance for a Gemstone to be rolled if there is at least one Box of Riches placed within the player's inventory. The Gemstone will always appear in the highest priority unreserved slot. The slot priority is as follows: middle left, top, bottom left, bottom right, and lastly middle right.

Having multiple Boxes of Riches does not increase the chance of a Gemstone appearing nor does it allow you to find more than one Gemstone in a single roll. Customer Card does not always affect the rarity of a rolled Gemstone, resulting in Chipped Gemstones appearing despite the particles indicating that the Customer Card has affected that shop slot.

### Crafting Gems of Higher Rarities

Gems of the same type and rarity may be combined to form a Gem of the same type and one rarity higher. For example: two Chipped Amethysts may combine to form one Flawed Amethyst. Gems may be crafted while socketed within items, resulting in the following crafting methods.

* Combining adjacent Gems, both placed within the inventory.
* Combining a Gemstone adjacent to an item with one socketed.
* Combining multiple Gemstones socketed into the same item.
* Combining Gemstones socketed onto separate adjacent items.

Note that when a socketed Gemstone is to be crafted, its distance to the other Gemstone is irrelevant: all that matters is that the items the Gemstone(s) are socketed into are adjacent.

A Gemstone's adjective indicates its rarity level, following the below convention.

Gemstone Naming Convention
 Rare
 Epic
 Legendary
 Godly

## Sockets and Placement Effects

Certain items have "Gem Sockets" that are capable of holding Gemstones. Not every item has a Gem socket, and certain items may have more than one Gem Socket. Gems have different effects depending on whether they are placed within the inventory, socketed on a Weapon, or socketed onto Armor and Other items.

If an item has multiple of the same kind of Gemstone socketed, each effect is handled individually. For example, multiple Emeralds will each have their own chance to inflict Poison, rather than adding their chances together.

Socketing a Gemstone is not permanent and may be removed at any time.

Socketed Gemstones are unaffected by Lucky Piggy.

List of items with gem sockets
 Wooden Sword, Hero Sword, Pan, Dagger,
Spear, Fancy Fencing Rapier
 (to be filled out)

## Gemstones

### Amethyst

* **Weapon socket** - **On attack:** 20/30/45/65/100% chance to remove a random buff from your opponent.
* **Armor & other sockets** - Your opponent's healing is reduced by 15/20/25/30/40%.
* **Backpack** - **Every 8/6/5/4/2.5s:** Cleanse a random debuff.

### Emerald

* **Weapon socket** - **On hit:** 25/35/50/60/80% chance to inflict 1/1/1/2/2 .
* **Armor & other sockets** - **On attacked:** 20/25/30/40/50% chance to inflict 1 .
* **Backpack** - **Every 13/11/9/7/4s:** Use 1  of your opponent to gain 2 .

### Ruby

* **Weapon socket** - **On hit:** Lifesteal 10/15/20/25/35% of the dealt damage.
* **Armor & other sockets** - Your healing is amplified by 10/15/20/25/35%.
* **Backpack** - **Every 5/4/4/4/4s:** Lifesteal 1/1/2/3/5 damage.

### Sapphire

* **Weapon socket** - **On hit:** 20/30/45/60/90% chance to attack health directly, gain 2  and inflict 1 .
* **Armor & other sockets** - For each 5  you gain, gain 2/3/4/5/7 .
* **Backpack** - Every 11/9/7/5/3.5s: Inflict 1 .

### Topaz

* **Weapon socket** - Attacks 10/15/20/25/35% faster.
* **Armor & other sockets** - **On attacked:** 10/15/20/25/35% chance to regenerate 1 stamina.
* **Backpack** - **Every 11/9/7/5/3.5s:** Regenerate 1.5 stamina. When your stamina is full, gain 1 .

Version History
 0.5.5
 0.5.1
 0.4.2
 0.4.0b
 0.3.9
* Topaz/Emerald (Other): Chances increased
 0.3.8
* Sapphire (Weapon): Higher chances, Mana gain increased to 3, now also applies Cold
* Sapphire (Other): Should now trigger much more often due to the bugfix
* Sapphire (Backpack): Does not use Mana anymore, cooldown is increased to account for it (should be much stronger now).
 0.3.7