-
本WIKI编辑权限开放,欢迎收藏起来防止迷路,也希望有爱的小伙伴和我们一起编辑哟~ 编辑帮助:目录 • BWIKI反馈留言板
本WIKI编辑权限开放,欢迎收藏起来防止迷路,也希望有爱的小伙伴和我们一起编辑哟~ 编辑帮助:目录 • BWIKI反馈留言板
赛尔号WIKI精灵图鉴近期在调试新功能,精灵图鉴可能会出现显示错误的问题,还请谅解!
请选择语言:
${mc}
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<style> .cz { background: #878787; border: 1px solid #878787; color: #dfdfdf; border-radius: 11px; } .jlzt { height: 25px; width: 25px; background-size: 25px; } .jnzt { height: 25px; width: 25px; background-size: 25px; } .hyzt { height: 25px; width: 25px; background-size: 25px; } .yyjnzt { height: 25px; width: 25px; background-size: 25px; } .gametime { display: inline-block; color: #ffffff; } div#jn { background: #878787; border: 1px solid #878787; color: #dfdfdf; } .cz:hover { background: #007eb1 !important; } div#pflx { width: 20%; display: inline-block; background: #00b6ff; color: #ffffff; border: 1px; } .down { position: absolute; bottom: 8px; } div#jllx { width: 20%; display: inline-block; background: #00b6ff; color: #ffffff; border: 1px; } div#jllxo { width: 20%; display: inline-block; background: #00b6ff; color: #ffffff; border: 1px; } div#jllxd { width: 20%; display: inline-block; background: #00b6ff; color: #ffffff; border: 1px; } div#hylx { width: 20%; display: inline-block; background: #00b6ff; color: #ffffff; border: 1px; } div#yyjnlx { width: 20%; display: inline-block; background: #00b6ff; color: #ffffff; border: 1px; } </style><tbody> </tbody>
精灵 | 皮肤 | 技能 | 魂印 | 永夜纪年 |
---|---|---|---|---|
单次
多次
|
单次
多次
|
|
单次
多次
|
单次
多次
|
|
|
|
|
|
正在检测
|
正在检测
|
暂无
|
正在检测
|
正在检测
|
新版任务 |
---|
正在检测 |
<script> (window.RLQ = window.RLQ || []).push(['jquery', () => {
t = Math.round(new Date() / 1000) document.getElementById(`jl`).innerHTML = `测试已结束` $.get(`https://seerh5.61.com/version/version.json?t=${t}`).then(function (result) { var ver = result.version document.getElementsByClassName("gametime")[0].innerHTML = new Date(ver) document.getElementById(`rw`).innerHTML = `更新` document.getElementById(`rw`).style.background = `#00b6ff` document.getElementById(`rw`).style.border = `1px solid #00b6ff` document.getElementById(`rw`).style.color = `#ffffff` /*document.getElementById(`jl`).innerHTML = `更新` document.getElementById(`jl`).style.background = `#00b6ff` document.getElementById(`jl`).style.border = `1px solid #00b6ff` document.getElementById(`jl`).style.color = `#ffffff` document.getElementById(`pf`).innerHTML = `更新` document.getElementById(`pf`).style.background = `#00b6ff` document.getElementById(`pf`).style.border = `1px solid #00b6ff` document.getElementById(`pf`).style.color = `#ffffff` document.getElementById(`hy`).innerHTML = `更新` document.getElementById(`hy`).style.background = `#00b6ff` document.getElementById(`hy`).style.border = `1px solid #00b6ff` document.getElementById(`hy`).style.color = `#ffffff` document.getElementById(`yyjn`).innerHTML = `更新` document.getElementById(`yyjn`).style.background = `#00b6ff` document.getElementById(`yyjn`).style.border = `1px solid #00b6ff` document.getElementById(`yyjn`).style.color = `#ffffff` document.getElementsByClassName(`jnzt`)[0].style.backgroundImage = `url(https://patchwiki.biligame.com/images/seerwar/3/34/n7c0bdvqwvucid4yex0mowlk3phf7iv.svg)`*/ document.getElementById(`jllxo`).style.background = `#007eb1` }) //result 结束
}]);
var jllid = 1;
function sleep(time) {
var timeStamp = new Date().getTime(); var endTime = timeStamp + time; while (true) { if (new Date().getTime() > endTime) { return; } }
}
function xbrw() {
(window.RLQ = window.RLQ || []).push(['jquery', () => { if (document.getElementById(`rw`).innerHTML == `更新`) { console.log("正在更新数据") $.get(`https://seerh5.61.com/version/version.json?t=${t}`).then(function (result) { var rw = result.files.resource.config.xml["AdventureStory.json"] $.get(`https://seerh5.61.com/resource/config/xml/${rw}`).then(function (result1) { var zhangjie = document.getElementById("zhangjie").value var xiaojie = document.getElementById("xiaojie").value var queryData = result1.AdventureStory.Story.filter(function (_data) { return _data.chapterID == zhangjie }); var queryData1 = queryData.filter(function (_data) { return _data.ID == xiaojie }); var nrlong = queryData1[0].dialog.length var nr = "" var gsid = queryData1[0].ID var zjid = queryData1[0].chapterID var gsname = queryData1[0].Title var jieshao = queryData1[0].Des var BGM = queryData1[0].BGM for (j = 0; j < nrlong; j++) { var name = queryData1[0].dialog[j].npcName; var neirong = queryData1[0].dialog[j].dialogArr; switch (name) { case '旁白': name = `` case '漫画': name = `` } nr = nr + `
}\n`
} getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken let url = `https://wiki.biligame.com/seer/api.php` let fd = new FormData() fd.append("action", "edit") fd.append("title", `${zjid}-${gsid} ${gsname}`) fd.append("appendtext", `${nr}\n
注释
`)
fd.append("token", token) fd.append("format", "json") postFdApi(url, fd) }) alert(`${zjid}-${gsid} ${gsname}剧情更新完毕`) document.getElementById("ca-purge").getElementsByTagName("a")[0].click() }) //result1 结束 }) //result 结束
} else { alert("剧情数据已是最新") } }]);
}
function jllxduoci() {
document.getElementById("jlkuang").innerHTML = `
`
jllid = 2; document.getElementById(`jllxd`).style.background = `#007eb1` document.getElementById(`jllxo`).style.background = `#00b6ff`
} function jllxone() {
document.getElementById("jlkuang").innerHTML = `
`
jllid = 1; document.getElementById(`jllxo`).style.background = `#007eb1` document.getElementById(`jllxd`).style.background = `#00b6ff`
} function post1(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q) {
getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken xhr = new XMLHttpRequest() xhr.open(`post`, `https://wiki.biligame.com/seer/api.php`) let fd = new FormData() fd.append("action", "edit") fd.append("title", `${a}`) fd.append("text", `[[分类:${a}]]
请上传小于8M的png格式图片文件:[[file:立绘-表达式错误:无法识别的符号“$”。.png]]
[[file:${d}系.png|158px|class=qnzl_character_profession|link=]]
-
种族值 攻击 防御 特攻 特防 速度 体力 总能力值 ${f} ${g} ${h} ${i} ${j} ${e} 表达式错误:无法识别的符号“$”。
...更多结果查询的“]]”部分无法理解。</br>结果可能与预料的不同。 |
`)
fd.append("token", token) fd.append("format", "json") xhr.onload = function () { console.log(xhr.response) } xhr.send(fd) })
} function jlcz() {
(window.RLQ = window.RLQ || []).push(['jquery', () => { if (document.getElementById(`jl`).innerHTML == `更新`) { console.log("正在更新数据") $.get(`https://seerh5.61.com/version/version.json?t=${t}`).then(function (result) { var jl = result.files.resource.config.xml["monsters.json"] var jl1 = result.files.resource.config.xml["petbook.json"] $.get(`https://seerh5.61.com/resource/config/xml/${jl}`).then(function (result1) { $.get(`https://seerh5.61.com/resource/config/xml/${jl1}`).then(function (result2) { var ID = "" var mc = "" var sx = "" var petclass1 = "" var hp = "" var atk = "" var def = "" var spatk = "" var spdef = "" var spd = "" var zonghe = "" var jn = "" var xb = "" var sg = "" var tz = "" var wz = "" var jss = "" switch (jllid) { case 1: { var d = document.getElementById("jlsr").value var queryData = result2.root.Monster.filter(function (_data) { return _data.ID == d }); var queryData1 = result1.Monsters.Monster.filter(function (_data) { return _data.ID == d }); if (queryData1[0].ID == undefined) { console.log(`${d}号精灵不存在`) } else { var long = queryData1[0].LearnableMoves.Move.length var nr = undefined; for (i = 0; i < long; i++) { nr = nr + `;${queryData1[0].LearnableMoves.Move[i].ID}-${queryData1[0].LearnableMoves.Move[i].LearningLv}` } if (queryData1[0].ExtraMoves == undefined) { //判断 第五技能不存在
} else { //判断 第五技能存在 nr = nr + `;${queryData1[0].ExtraMoves.Move.ID}-${queryData1[0].ExtraMoves.Move.LearningLv}-第五` } if (queryData1[0].SpExtraMoves == undefined) { //判断 第五技能2不存在 } else { nr = nr + `;${queryData1[0].SpExtraMoves.Move.ID}-${queryData1[0].SpExtraMoves.Move.LearningLv}-第五` } jn = nr.replace("undefined;", "") ID = queryData1[0].ID mc = queryData1[0].DefName petclass1 = queryData1[0].PetClass hp = queryData1[0].HP atk = queryData1[0].Atk def = queryData1[0].Def spatk = queryData1[0].SpAtk spdef = queryData1[0].SpDef spd = queryData1[0].Spd zonghe = hp + atk + def + spatk + spdef + spd sg = queryData[0].Height tz = queryData[0].Weight wz = "--" jss = queryData[0].Features sx = queryData[0].Type.replace(" ", "") switch (queryData1[0].Gender) { case 0: { xb = "无性别"; break; } case 1: { xb = "雄"; break; } case 2: { xb = "雌"; break; } } getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken let url = `https://wiki.biligame.com/seer/api.php` let fd = new FormData() fd.append("action", "edit") fd.append("title", `${mc}`) fd.append("text", `[[分类:${mc}]]
请上传小于8M的png格式图片文件:[[file:立绘-表达式错误:无法识别的符号“$”。.png]]
[[file:${sx}系.png|158px|class=qnzl_character_profession|link=]]
-
种族值 攻击 防御 特攻 特防 速度 体力 总能力值 ${atk} ${def} ${spatk} ${spdef} ${spd} ${hp} 表达式错误:无法识别的符号“$”。
...更多结果查询的“]]”部分无法理解。</br>结果可能与预料的不同。 |
`)
fd.append("token", token) fd.append("format", "json") postFdApi(url, fd) }) console.log(`${ID}号精灵已录入`) } alert("全部精灵数据更新完毕") document.getElementById("ca-purge").getElementsByTagName("a")[0].click() } case 2: { let ele1 = document.getElementById("ele1").value let ele2 = document.getElementById("ele2").value let chavalue = ele2 - ele1; for (let xun = 0; xun <= chavalue; xun++) { var queryData = result2.root.Monster.filter(function (_data) { return _data.ID == ele1 }); var queryData1 = result1.Monsters.Monster.filter(function (_data) { return _data.ID == ele1 }); if (queryData1[0].ID == undefined) { console.log(`${ele1}号精灵不存在`) } else { var long = queryData1[0].LearnableMoves.Move.length var nr = undefined; for (i = 0; i < long; i++) { nr = nr + `;${queryData1[0].LearnableMoves.Move[i].ID}-${queryData1[0].LearnableMoves.Move[i].LearningLv}` } if (queryData1[0].ExtraMoves == undefined) { //判断 第五技能不存在
} else { //判断 第五技能存在 nr = nr + `;${queryData1[0].ExtraMoves.Move.ID}-${queryData1[0].ExtraMoves.Move.LearningLv}-第五` } if (queryData1[0].SpExtraMoves == undefined) { //判断 第五技能2不存在 } else { nr = nr + `;${queryData1[0].SpExtraMoves.Move.ID}-${queryData1[0].SpExtraMoves.Move.LearningLv}-第五` } jn = nr.replace("undefined;", "") ID = queryData1[0].ID mc = queryData1[0].DefName petclass1 = queryData1[0].PetClass hp = queryData1[0].HP atk = queryData1[0].Atk def = queryData1[0].Def spatk = queryData1[0].SpAtk spdef = queryData1[0].SpDef spd = queryData1[0].Spd zonghe = hp + atk + def + spatk + spdef + spd sg = queryData[0].Height tz = queryData[0].Weight wz = "--" jss = queryData[0].Features sx = queryData[0].Type.replace(" ", "") switch (queryData1[0].Gender) { case 0: { xb = "无性别"; break; } case 1: { xb = "雄"; break; } case 2: { xb = "雌"; break; } } post1(mc,ID,petclass1,sx,hp,atk,def,spatk,spdef,spd,zonghe,xb,sg,tz,wz,jss,jn) /*getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken xhr = new XMLHttpRequest() xhr.open(`post`, `https://wiki.biligame.com/seer/api.php`) let fd = new FormData() fd.append("action", "edit") fd.append("title", `${mc}`) fd.append("text", `[[分类:${mc}]]
请上传小于8M的png格式图片文件:[[file:立绘-表达式错误:无法识别的符号“$”。.png]]
[[file:${sx}系.png|158px|class=qnzl_character_profession|link=]]
-
种族值 攻击 防御 特攻 特防 速度 体力 总能力值 ${atk} ${def} ${spatk} ${spdef} ${spd} ${hp} 表达式错误:无法识别的符号“$”。
...更多结果查询的“]]”部分无法理解。</br>结果可能与预料的不同。 |
`)
fd.append("token", token) fd.append("format", "json") xhr.onload = function () { console.log(xhr.response) } xhr.send(fd) })*/
console.log(`${ID}号精灵已录入`) } ele1++; sleep(1000) }
} alert("全部精灵数据更新完毕") document.getElementById("ca-purge").getElementsByTagName("a")[0].click() } }) //result2 结束 }) //result1 结束 }) //result 结束
} else { alert("精灵数据已是最新") } }]);
}
function pfcz() {
(window.RLQ = window.RLQ || []).push(['jquery', () => { if (document.getElementById(`jl`).innerHTML == `更新`) { console.log("正在更新数据") $.get(`https://seerh5.61.com/version/version.json?t=${t}`).then(function (result) { var jl = result.files.resource.config.xml["monsters.json"] var pf = result.files.resource.config.xml["pet_skin.json"] $.get(`https://seerh5.61.com/resource/config/xml/${jl}`).then(function (result1) { $.get(`https://seerh5.61.com/resource/config/xml/${pf}`).then(function (result2) { var ID = "" var mc = "" var xgjl = "" var d = document.getElementById("pfsr").value var queryData1 = result1.Monsters.Monster.filter(function (_data) { return _data.ID == d }); var queryData = result2.PetSkins.Skin.filter(function (_data) { return _data.Name == queryData1[0].DefName }); if (queryData1[0].ID == undefined) { console.log(`${d}号皮肤不存在`) } else { ID = queryData1[0].ID mc = queryData1[0].DefName xgjl = queryData[0].MonID getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken let url = `https://wiki.biligame.com/seer/api.php` let fd = new FormData() fd.append("action", "edit") fd.append("title", `皮肤:${mc}`)
fd.append("text", `
您的查询中有未匹配“]]”的“[[”。 |
<ul><li>查询的“[[”部分无法理解。结果可能与预料的不同。</li> <!--br--><li>符号“[[”的位置无效。</li> <!--br--><li>一些子查询状态无效。</li></ul> |
}`)
fd.append("token", token) fd.append("format", "json") postFdApi(url, fd) }) console.log(`${ID}号皮肤已录入`) } alert("全部皮肤数据更新完毕") document.getElementById("ca-purge").getElementsByTagName("a")[0].click() }) //result2 结束 }) //result1 结束 }) //result 结束
} else { alert("皮肤数据已是最新") } }]);
}
function hycz() {
(window.RLQ = window.RLQ || []).push(['jquery', () => { if (document.getElementById(`hy`).innerHTML == `更新`) { console.log("正在更新数据") $.get(`https://seerh5.61.com/version/version.json?t=${t}`).then(function (result) { var hy = result.files.resource.config.xml["effectIcon.json"] $.get(`https://seerh5.61.com/resource/config/xml/${hy}`).then(function (result2) { var hyID = "" var hymc = "" var hyicon = "" var hyinfo = "" var hyjll = "" var hyd = document.getElementById("hysr").value var queryData = result2.root.effect.filter(function (_data) { return _data.Id == hyd }); if (queryData[0].Id == undefined) { console.log(`${hyd}号魂印不存在`) } else { hyID = queryData[0].Id hyicon = queryData[0].iconId hyinfo = queryData[0].tips hyjll = queryData[0].petId getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken let url = `https://wiki.biligame.com/seer/api.php` let fd = new FormData() fd.append("action", "edit") fd.append("title", `魂印:${hyID}`) fd.append("text", `
按右上角“WIKI功能→编辑”即可修改页面内容。
[[分类:${hymc}]]
[[文件:魂印-${hyicon}.png|72px|link=魂印:${hyID}|${hymc}]] | ${hymc} | |||
魂印效果: ${hyinfo} | ||||
拥有此魂印的精灵: [[分类:${hyjll]] |
}`)
fd.append("token", token) fd.append("format", "json") postFdApi(url, fd) }) console.log(`${hyID}号魂印已录入`) } alert("全部魂印数据更新完毕") document.getElementById("ca-purge").getElementsByTagName("a")[0].click() }) //result2 结束 }) //result 结束
} else { alert("魂印数据已是最新") } }]);
}
function yyjncz() {
(window.RLQ = window.RLQ || []).push(['jquery', () => { if (document.getElementById(`jl`).innerHTML == `更新`) { console.log("正在更新数据") $.get(`https://seerh5.61.com/version/version.json?t=${t}`).then(function (result) { var jl = result.files.resource.config.xml["monsters.json"] $.get(`https://seerh5.61.com/resource/config/xml/${jl}`).then(function (result1) { $.get(`https://seer.61.com/resource/appRes/2015/seerHistoryLetter/petNoteBook.json?lbyp9a14`).then(function (result2) { var ID = "" var mc = "" var zj = "" var neirong = "" var d = document.getElementById("yyjnsr").value var queryData1 = result1.Monsters.Monster.filter(function (_data) { return _data.ID == d }); var queryData = result2.pets.filter(function (_data) { return _data.petId == d }); if (queryData1[0].ID == undefined) { console.log(`${d}号永夜纪年精灵序列不存在`) } else { ID = queryData1[0].ID mc = queryData1[0].DefName zj = `近期更新` neirong = queryData[0].txt.replace(/\\n/g, "
") getApi(`https://wiki.biligame.com/seer/api.php?action=query&meta=tokens&format=json`, function (json) { let token = JSON.parse(json).query.tokens.csrftoken let url = `https://wiki.biligame.com/seer/api.php` let fd = new FormData() fd.append("action", "edit") fd.append("title", `永夜纪年/近期更新/${mc}`) fd.append("text", `
按右上角“WIKI功能→编辑”即可修改页面内容。
[[file:立绘-${ID}.png|${mc}|100%|center|link=]]
${neirong
警告:显示的标题“${mc}”重写了此前显示的标题“${hymc}”。 }`)
fd.append("token", token) fd.append("format", "json") postFdApi(url, fd) }) console.log(`${ID}号永夜纪年已录入`) } alert("全部永夜纪年数据更新完毕") document.getElementById("ca-purge").getElementsByTagName("a")[0].click() }) //result2 结束 }) //result1 结束 }) //result 结束
} else { alert("永夜纪年数据已是最新") } }]);
}
function getApi(url, callback = false, callbackE = false) {
let ajax = new XMLHttpRequest() if (!callback) { ajax.open("GET", url, false) ajax.send() let json = JSON.parse(ajax.responseText) return json } ajax.open("GET", url) ajax.send() ajax.onreadystatechange = function () { if (ajax.readyState == 4) { if (ajax.status == 200) { callback(ajax.responseText) } else if (ajax.status == 404 && callbackE) { callbackE(true) } } }
}
function postFdApi(url, fd, isParse = true) {
let ajax = new XMLHttpRequest() ajax.open("POST", url, false) ajax.send(fd) if (!isParse) { return ajax.responseText } let json = JSON.parse(ajax.responseText) return json
} </script>