int battle.getCharOne(int 战斗索引, int 战斗位置)
函数功能:
获取战斗中,某个位置上的人物或宠物的索引
参数说明:
战斗索引 [整型] 战斗的索引,指
战斗位置 [整型]或[字符型] 获取数据的位置编号
返回值:
返回 整型数据
使用例子:
--获取第5个位置上的索引号
charindex = char.getCharOne(battleindex, 5)
免责声明:本内容来于网络,不代表本站的观点和立场。