加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
modlib.txt 1.51 KB
一键复制 编辑 原始数据 按行查看 历史
Kevin 提交于 2016-07-09 23:54 . Add modelib.txt
这段是地形对兵种战斗力的影响:
000002010000000300000000000000020000000000000002010103020000000000000101000000010000000000000001
平均分成6段:
草地 平原 山地 森林 村庄 城池 营寨 河流
骑兵 ['00', '00', '02', '01', '00', '00', '00', '03']
步兵 ['00', '00', '00', '00', '00', '00', '00', '02']
弓兵 ['00', '00', '00', '00', '00', '00', '00', '02']
水兵 ['01', '01', '03', '02', '00', '00', '00', '00']
极兵 ['00', '00', '01', '01', '00', '00', '00', '01']
玄兵 ['00', '00', '00', '00', '00', '00', '00', '01']
loong 22:28:39
兵种攻击范围:
000000000000000100000001000100000001000000000000000000000000000101010000010001000001010100000000000000000100000001000100010000000100010001000000010000000000000000000100000001000100000001000000000000000000000000000101010000010001000001010100000000000000000000000000010000000100010000000100000000000000
平均分成6段,对应每个兵种:
00 00 00 00 00 00 00 01 00 00 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00
00 00 00 00 00 00 01 01 01 00 00 01 00 01 00 00 01 01 01 00 00 00 00 00 00
00 00 01 00 00 00 01 00 01 00 01 00 00 00 01 00 01 00 01 00 00 00 01 00 00
00 00 00 00 00 00 00 01 00 00 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00
00 00 00 00 00 00 01 01 01 00 00 01 00 01 00 00 01 01 01 00 00 00 00 00 00
00 00 00 00 00 00 00 01 00 00 00 01 00 01 00 00 00 01 00 00 00 00 00 00 00
每个兵种25个数据,进一步分为5 x 5 的矩阵
以骑兵为例:
00 00 00 00 00
00 00 01 00 00
00 01 00 01 00
00 00 01 00 00
00 00 00 00 00
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化