CardDataEditor
Card Data Editor is a mod that allows you to edit card properties such as Rarity, Theme, Card Amount, and more.
模組介紹 作者原文
Card Data Editor
Description
Card Data Editor is a mod that allows you to edit card properties, including:
- Rarity
- Theme
- Card Amount
- Blacklist Cards
- Require Cards
- Detach From Class - available for certain class cards
- Detach From Curse - available for curse cards
These properties can be modified through the Card Data Editor menu.
Detaching Class Cards
By default, players can only detach class cards that have the ClassDetachable card category.
If you want to detach ANY class card, you can enable Danger Mode in the Card Data Editor settings. This allows any class card to be detached from its class, regardless of whether it has the ClassDetachable category.
Warning: Danger Mode allows you to detach class cards that were not designed to be detached. Doing so may cause cards to behave incorrectly, break card functionality, or cause other unexpected issues. Only enable Danger Mode if you understand and accept the risks.
Migrations
If you previously used mods such as Rarity Toggle or Theme Toggle, Card Data Editor will automatically migrate their configurations to its own config system.
This allows you to easily replace those mods with Card Data Editor without having to manually recreate your settings.
For Developers
If you are developing a mod and want to integrate it with Card Data Editor, there are two ways you can extend its functionality.
Making a Class Card Detachable
If your class card can safely be detached from its class without breaking anything, add the ClassDetachable card category to your card.
Players will then be able to detach the card from its class without needing to enable Danger Mode.
Warning: Only mark a card as ClassDetachable if detaching it is safe. Doing so may cause unexpected behavior or break your card if it relies on its class.
Adding Custom Card Properties
You can add your own custom card properties by creating a class that inherits from CardProperty:
public class MyCardProperty: CardProperty {
// Your property implementation
}
You can then register your property using:
PropertyRegistry.RegisterProperty();
If you only want the property to be available for a specific card, you can use:
PropertyRegistry.RegisterPropertyForCard(MyCard);
For more examples and implementation details, take a look at the Card Data Editor source code.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: