Skip to content

vitechliu/sts2_database

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

STS2 Card Database

简介 / Introduction

这是一个非官方的《杀戮尖塔2》(Slay the Spire 2)卡牌数据库,包含游戏中所有卡牌的详细数据。

This is an unofficial Slay the Spire 2 card database containing detailed data for all cards in the game.

数据结构 / Data Structure

每张卡牌的数据以独立的 JSON 文件存储,文件名即为卡牌的唯一标识符(key)。

Each card's data is stored in a separate JSON file, with the filename being the card's unique identifier (key).

文件路径 / File Path

cards/{card_key}.json

JSON 结构 / JSON Structure

{
  "game_version": "0.98.2",
  "database_version": 1,
  "card": {
    "key": "CardKey",
    "category": "Ironclad",
    "name_chs": "卡牌中文名",
    "name_eng": "Card Name",
    "cost": 1,
    "rarity": "Common",
    "type": "Attack",
    "targetType": "AnyEnemy",
    "text_raw_chs": "原始中文描述",
    "text_default_chs": "处理后的中文描述",
    "text_upgraded_chs": "升级后的中文描述",
    "text_raw_eng": "Original English Description",
    "variables": {
      "Damage": 10,
      "keywords": ["Exhaust"]
    },
    "upgrades": {
      "addKeywords": ["Innate"],
      "removedKeywords": ["Ethereal"],
      "costChange": -1,
      "varChange": {
        "Damage": 5
      }
    }
  }
}

字段说明 / Field Description

字段 / Field 说明 / Description
game_version 游戏版本号 / Game version
database_version 数据库版本号 / Database version
card.key 卡牌唯一标识符 / Card unique identifier
card.category 职业分类(如 Ironclad, Silent 等)/ Character class
card.name_chs 中文名称 / Chinese name
card.name_eng 英文名称 / English name
card.cost 能量消耗 / Energy cost
card.rarity 稀有度(Common, Uncommon, Rare, Ancient)/ Rarity
card.type 卡牌类型(Attack, Skill, Power, Curse)/ Card type
card.targetType 目标类型 / Target type
card.text_raw_chs 原始中文描述(包含占位符)/ Raw Chinese description
card.text_default_chs 处理后的中文描述 / Processed Chinese description
card.text_upgraded_chs 升级后的中文描述 / Upgraded Chinese description
card.variables 卡牌变量(伤害、格挡等数值)/ Card variables
card.upgrades 升级信息 / Upgrade information

升级字段说明 / Upgrade Field Description

字段 / Field 说明 / Description
upgrades.addKeywords 升级后添加的关键词 / Keywords added after upgrade
upgrades.removedKeywords 升级后移除的关键词 / Keywords removed after upgrade
upgrades.costChange 费用变化值(负数表示减少)/ Cost change value
upgrades.varChange 变量变化值 / Variable change values

数据来源 / Data Source

本数据库的数据通过解析《杀戮尖塔2》游戏客户端的 C# 源码自动生成。

This database is automatically generated by parsing the C# source code from the Slay the Spire 2 game client.

更新频率 / Update Frequency

数据库会跟随游戏版本更新而更新,game_version 字段标识了对应的游戏版本。

The database is updated alongside game version updates. The game_version field indicates the corresponding game version.

免责声明 / Disclaimer

《杀戮尖塔2》(Slay the Spire 2)是 Mega Crit Games 的注册商标和知识产权。本数据库仅供学习和研究使用,所有游戏内容版权归 Mega Crit Games 所有。

Slay the Spire 2 is a registered trademark and intellectual property of Mega Crit Games. This database is for educational and research purposes only. All game content copyrights belong to Mega Crit Games.

本项目与 Mega Crit Games 官方无关,未经官方授权。

This project is not affiliated with or endorsed by Mega Crit Games.

许可证 / License

MIT License

About

Slay the Spire 2 Card Database generated by static analysis 杀戮尖塔2卡牌数据

Topics

Resources

License

Stars

Watchers

Forks

Contributors