> For the complete documentation index, see [llms.txt](https://tofucat-docs.bruh0422.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tofucat-docs.bruh0422.xyz/economy/bank.md).

# 銀行

用法 `=bank [用戶]`\
\
如果未輸入用戶，則會顯示自己的銀行。\
\
如果你的銀行總等級 <= 20 等，你也可以將你的銀行開啟防護模式，期間將得到以下效果：

* 攻擊力變為 50
* 受貓咪魔王攻擊傷害降低為 50%
* `=bank repair` 及 `=bank revive` 所需金額減半

| 名詞  | 解釋                    |
| --- | --------------------- |
| 韌性  | 銀行被打爆時處罰的小時數          |
| 撲滿  | 每次賺錢會多得到的錢            |
| 劇毒值 | 每次受到貓咪魔王攻擊時會額外受到的傷害倍率 |

{% hint style="warning" %}
請顧好你的銀行，如果銀行爆了，接下來的一段時間內[工作](/economy/work.md)賺到的錢都會減半，且你會失去銀行內 10% 的錢 (上限 10000 元)。
{% endhint %}

{% tabs %}
{% tab title="升級你的銀行" %}
用法 `=bank upgrade <類別>`\
\
類別有 atk (攻擊力) / hp (血量) / def (防禦力) / regen (回血量) / crit (暴擊率) / tough (韌性) / piggy (撲滿)。\
\
除了升級撲滿一次需要 1 個鑽石，升級其餘項目一次需要花費 10000 元。
{% endtab %}

{% tab title="拆除你的銀行" %}
用法 `=bank break <類別>`\
\
類別有 atk (攻擊力) / hp (血量) / def (防禦力) / regen (回血量) / crit (暴擊率) / tough (韌性) / piggy (撲滿)。\
\
除了拆除撲滿一次會拿到 5 個鑽石碎片，拆除其餘項目一次會拿到 5000 元。
{% endtab %}

{% tab title="攻擊其他人的銀行" %}
用法 `=bank attack <成員>`\
\
當打爆別人銀行時，你會拿到 `對方銀行總等級(不包含撲滿)*300` 元。
{% endtab %}

{% tab title="修復你的銀行" %}
用法 `=bank repair [耐久度]`\
\
如果未輸入數量，則會補充所有耐久度。
{% endtab %}

{% tab title="復活銀行" %}
用法 `=bank revive`\
\
復活費用是 `銀行總等級*500` 元。
{% endtab %}

{% tab title="炸掉銀行" %}
用法 `=bank boom`\
\
炸掉費用是 `銀行總等級*1000` 元。
{% endtab %}

{% tab title="開發你的銀行" %}
用法 `=bank develop/dev <類別>`\
\
類別有類別有 crit (暴擊倍率) / piggy (撲滿倍率) / card (卡片欄位) / cooldown (冷卻時間) / random (隨機資源)。\
\
隨機資源在每天會拿到 1 塊錢 / 1 個鑽石碎片 / 1 個星幣 / 1 個皇冠 (尚未推出)，機率分別為 40% / 30% / 20% / 10%，換成簡單易懂的版本就是：

```python
import random

random.choices(
    population=['money', 'diamond_chip', 'star', 'crown'],
    weights=[40, 30, 20, 10],
    k=n # n代表你的隨機資源等級
)
```

開發銀行需要使用星幣，可以至[抽東西](/economy/gacha.md)取得。\
\
最高等級是依照你的傳奇[卡片](/economy/card.md)總等級來計算的，需求如下：

| 等級            | 傳奇卡片總等級 |
| ------------- | ------- |
| 1             | 25      |
| 2             | 30      |
| 3             | 35      |
| 4             | 40      |
| 5             | 45      |
| 6             | 50      |
| 7             | 51      |
| 8             | 52      |
| 9             | 53      |
| 10            | 54      |
| {% endtab %}  |         |
| {% endtabs %} |         |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://tofucat-docs.bruh0422.xyz/economy/bank.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
