卡牌数据库字段含义详细解读
炉石兄弟吧
全部回复
仅看楼主
level 7
大家都通过吧主的主题贴,知道如何添加狗头人和女巫森林的新卡,只要向原本炉石兄弟中添加内容。但是在_carddb.txt添加数据库字段非常多,非常麻烦,今天就对数据库字段进行解析
2018年05月30日 12点05分 1
level 7
01
2018年05月30日 12点05分 2
level 7
02
2018年05月30日 12点05分 3
level 7
03
2018年05月30日 12点05分 4
level 7
04
2018年05月30日 12点05分 5
level 7
05
2018年05月30日 12点05分 6
level 7
06
2018年05月30日 12点05分 7
level 7
07
2018年05月30日 12点05分 8
level 7
08
2018年05月30日 12点05分 9
level 7
09
2018年05月30日 12点05分 10
level 7
10
2018年05月30日 12点05分 11
level 7
吧主帖子链接:
https://tieba.baidu.com/p/5539032218
添加新卡的步骤
2018年05月30日 12点05分 12
level 7
step1:在\Routines\DefaultRoutine\Silverfish\data\_carddb.txt,添加卡片基本信息
step2:在\Routines\DefaultRoutine\Silverfish\ai\CardDB.cs添加卡牌序号
step3:在\Routines\DefaultRoutine\Silverfish\ai\CardDB.cs添加卡牌名字
2018年05月30日 12点05分 13
level 7
然后大家对数据库字段的麻烦也有所研究,链接地址
https://tieba.baidu.com/p/5550724402
然后在吧主回复,楼主不错值得鼓励,顺便提示你下enumID这些在ai文件夹的某个代码文件是全部归类的,不用猜和测试,找到那个文件直接看就行。
然后我发现在\Routines\DefaultRoutine\Silverfish\ai\CardDB.cs 7500行左右对各个字段都有解析
2018年05月30日 12点05分 14
level 7
在CardDB.cs中,定义了一个card内部类,然后有一个构造函数,read carddb.txt
2018年05月30日 12点05分 15
1 2 3 4 尾页