You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

parseSkill.js 453 B

12345678910111213141516
  1. //分析卡片的函数,Code From https://github.com/kiootic/pad-rikuu
  2. class Skill{
  3. constructor(i,data){
  4. let skill = this;
  5. skill.id = i;
  6. skill.name = data[0];
  7. skill.description = data[1];
  8. skill.type = data[2];
  9. skill.maxLevel = data[3];
  10. skill.initialCooldown = data[4];
  11. skill.unk = data[5];
  12. skill.params = data.slice(6);
  13. }
  14. }
  15. //对于Nodejs输出成模块
  16. if (typeof(module) != "undefined") module.exports = Skill;

智龙迷城队伍图制作工具