Browse Source

更新美韩服数据

tags/v8.0
枫谷剑仙 7 years ago
parent
commit
b6a980deb6
4 changed files with 29 additions and 5 deletions
  1. +1
    -1
      monsters-info/mon.json
  2. +1
    -1
      monsters-info/official-API/en.json
  3. +1
    -1
      monsters-info/official-API/ko.json
  4. +26
    -2
      monsters-info/official-API/test.html

+ 1
- 1
monsters-info/mon.json
File diff suppressed because it is too large
View File


+ 1
- 1
monsters-info/official-API/en.json
File diff suppressed because it is too large
View File


+ 1
- 1
monsters-info/official-API/ko.json
File diff suppressed because it is too large
View File


+ 26
- 2
monsters-info/official-API/test.html View File

@@ -37,8 +37,26 @@ function g(id)
type.push(tn[m[6]]);
if (m[m.length-9]!=-1) //第三个type要倒着来
type.push(tn[m[m.length-9]]);
console.log("%oNo.%d %s [%s/%s],%s退化,类型:%s,%d星,COST:%d,%s个觉醒,110级增长%d%%,卖%d MP,%s当二技",m,m[0],m[1],p[0],p[1],m[4]?"可":"不可",type.join("|"),m[7],m[8],
m[58+m[57]*3],m[m.length-3],m[m.length-8],m[m.length-5]>2?"能":"不能"
console.log("%oNo.%d %s [%s/%s],Lv%d,%s究极退化为%d,类型:%s,%d星,COST%d,%s个觉醒,三维%s,110级增长%d%%,%s当二技,1级吃经验%d,1级卖¥%d,%dMP,成长类型%d,升2级经验",
m, //对象
m[0], //ID
m[1], //名字
p[0],p[1], //属性
m[10], //最大等级
m[4]?"可":"不可", //可退化?
m[40], //可退化?
type.join("|"), //类型
m[7], //星级
m[8], //cost
m[58+m[57]*3], //觉醒数
m[14]+"-"+m[15]+"/"+m[14]+"-"+m[17]+"/"+m[20]+"-"+m[21], //三维
m[m.length-3], //110级增长
m[m.length-5]>2?"能":"不能", //二技
Math.round(m[11]/4), //1级经验,每级,直接乘
Math.round(m[13]/10), //1级卖钱
m[m.length-8], //MP
m[23], //成长类型
Math.round(m[23] * Math.pow((2 - 1) / 98,m[24])) //1级升2级经验
);
}
GM_xmlhttpRequest({
@@ -52,6 +70,12 @@ GM_xmlhttpRequest({
})
console.log(ts);
*/
/*
console.log(card.sort(function(a,b){
return b[b.length-3] - a[a.length-3];
}));
g(0);
*/
},
onerror: function(response) {
console.error("怪物数据获取错误",response);


Loading…
Cancel
Save