This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
mapaler
/
PADDashFormation
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
163
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
忘记添加技能对象了
tags/v8.0
枫谷剑仙
6 years ago
parent
2f028b5d45
commit
14decec2bc
1 changed files
with
16 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+16
-0
monsters-info/official-API/parseSkill.js
+ 16
- 0
monsters-info/official-API/parseSkill.js
View File
@@ -0,0 +1,16 @@
//分析卡片的函数,Code From https://github.com/kiootic/pad-rikuu
class Skill{
constructor(i,data){
let skill = this;
skill.id = i;
skill.name = data[0];
skill.description = data[1];
skill.type = data[2];
skill.maxLevel = data[3];
skill.initialCooldown = data[4];
skill.unk = data[5];
skill.params = data.slice(6);
}
}
//对于Nodejs输出成模块
if (typeof(module) != "undefined") module.exports = Skill;
Write
Preview
Loading…
Cancel
Save