# Gem Calculation

## Normal Gem

`/di calculate normal`  Carry out calculation for Normal Gem. Same function as <a href="../functions/gem-calculation/normal-gem" class="button secondary" data-icon="rings-wedding">Gem Calculation -> Normal Gem</a>

**Options:**

`gem` Sapphire / Aquamarine / Citrine / Topaz / Tourmaline / Ruby

`start_rank` Rank 1 \~ Rank 9

`end_rank` Rank 2 \~ Rank 10

{% hint style="danger" %}
It will give error if `start_rank` is higher than or equal to `end_rank`.
{% endhint %}

## Legendary Gem

`/di calculate legendary`  Carry out calculation for Legendary Gem (Specific). Same function as <a href="../functions/gem-calculation/legendary-gem-specific" class="button secondary" data-icon="gem">Gem Calculation -> Legendary Gem (Specific)</a>

**Options:**

`start_star` {1★} / {2★} / {2/5★} / {3/5★} / {4/5★} / {5/5★}

`end_star` {1★} / {2★} / {2/5★} / {3/5★} / {4/5★} / {5/5★}

`gem` {List of Legendary Gems **depending** on the `star` selected}

`start_rank` Rank 1 \~ Rank 9

`end_rank` Rank 2 \~ Rank 10

{% hint style="danger" %}
It will give error if:

* `start_rank` is not equal to `end_rank` for {1★} / {2★}
* `start_rank` is higher than `end_rank` for {2/5★} / {3/5★} / {4/5★} / {5/5★}
* `start_rank` is higher than or equal to `end_rank`.
  {% endhint %}

## Legendary Gem (Generic)

**Options:**

`start_star` {1★} / {2★} / {2/5★} / {3/5★} / {4/5★} / {5/5★}

`end_star` {1★} / {2★} / {2/5★} / {3/5★} / {4/5★} / {5/5★}

`start_rank` Rank 1 \~ Rank 9

`end_rank` Rank 2 \~ Rank 10

`/di calculate legendary_generic`  Carry out calculation for Legendary Gem (Generic) Same function as <a href="../functions/gem-calculation/legendary-gem-generic" class="button secondary" data-icon="gem">Gem Calculation -> Legendary Gem (Generic)</a>

{% hint style="success" %}
The `gem` may not display all gems because of the limit of the length of the selection list Discord allows. Start typing the name of the gem and the bot will search base on what you typed.
{% endhint %}

{% hint style="danger" %}
Because the `gem` depends on your selected `star`, if you select the `star` wrong at first place, the `gem` list would be incorrect even if you go back and change the `star` . This is the limitation of Discord.&#x20;

You can either:

* Type the gem name and it will start to search the gem base on the `star` parameter.
* Retype the whole slash command.
  {% endhint %}
