skillGrp = new Array(83); skillGrp[1] = "受身"; skillGrp[2] = "运气"; skillGrp[3] = "搬运"; skillGrp[4] = "自动防御"; skillGrp[5] = "防御性能"; skillGrp[6] = "回复"; skillGrp[7] = "回复速度"; skillGrp[8] = "扩散弹追加"; skillGrp[9] = "加护"; skillGrp[10] = "雷耐性"; skillGrp[11] = "贯通弹强化"; skillGrp[12] = "贯通弹追加"; skillGrp[13] = "气绝"; skillGrp[14] = "反覆无常"; skillGrp[15] = "利度"; skillGrp[16] = "贪吃鬼"; skillGrp[17] = "气息"; skillGrp[18] = "达人"; skillGrp[19] = "广域回复"; skillGrp[20] = "广域解毒"; skillGrp[21] = "攻击"; skillGrp[22] = "采取"; skillGrp[23] = "散弹强化"; skillGrp[24] = "散弹追加"; skillGrp[25] = "睡眠"; skillGrp[26] = "全耐性UP"; skillGrp[27] = "千里眼"; skillGrp[28] = "装填"; skillGrp[29] = "耐寒"; skillGrp[30] = "耐暑"; skillGrp[31] = "体力"; skillGrp[32] = "匠"; skillGrp[33] = "種广域化"; skillGrp[34] = "弹调合"; skillGrp[35] = "地图"; skillGrp[36] = "听觉保护"; skillGrp[37] = "调合成功率"; skillGrp[38] = "通常弹强化"; skillGrp[39] = "通常弹追加"; skillGrp[40] = "垂钓"; skillGrp[41] = "胴系統+1"; skillGrp[42] = "胴系統+2"; skillGrp[43] = "胴系统倍加"; skillGrp[44] = "投掷"; skillGrp[45] = "研磨师"; skillGrp[46] = "毒"; skillGrp[47] = "特殊攻击"; skillGrp[48] = "肉"; skillGrp[49] = "偷盗无效"; skillGrp[50] = "爆弹强化"; skillGrp[51] = "饥饿"; skillGrp[52] = "反动"; skillGrp[53] = "火耐性"; skillGrp[54] = "风压"; skillGrp[55] = "笛"; skillGrp[56] = "防御"; skillGrp[57] = "麻痹"; skillGrp[58] = "水耐性"; skillGrp[59] = "龍耐性"; skillGrp[60] = "榴弹追加"; skillGrp[61] = "炼金术"; skillGrp[62] = "连射"; skillGrp[63] = "高速收集"; skillGrp[64] = "回避性能"; skillGrp[65] = "底力"; skillGrp[66] = "效果持续"; skillGrp[67] = "耐力"; skillGrp[68] = "装填数"; skillGrp[69] = "精密射击"; skillGrp[70] = "怪物"; skillGrp[71] = "食事"; skillGrp[72] = "剥取"; skillGrp[73] = "地形"; skillGrp[74] = "抗菌・抗毒"; skillGrp[75] = "耐雪"; skillGrp[76] = "冰耐性"; skillGrp[77] = "耐震"; skillGrp[78] = "广域"; skillGrp[79] = "声带"; skillGrp[80] = "烤肉"; skillGrp[81] = "炮术师"; function ShowBoguList() { html = ""; html += ""; html += ""; html += FormatHeadList(); html += "
头装备
"; headlist.innerHTML = html; html = ""; html += ""; html += ""; html += FormatArmorList(); html += "
胴装备
"; armorlist.innerHTML = html; html = ""; html += ""; html += ""; html += FormatArmList(); html += "
腕装备
"; armlist.innerHTML = html; html = ""; html += ""; html += ""; html += FormatWaistList(); html += "
腰装备
"; waistlist.innerHTML = html; html = ""; html += ""; html += ""; html += FormatFootList(); html += "
脚装备
"; footlist.innerHTML = html; html = ""; html += ""; html += ""; html += FormatSoshList(); html += "
装饰品
"; soshlist.innerHTML = html; } //------------------------------------------ // 頭装備のリスト作成 //------------------------------------------ function FormatHeadList() { thtml = ""; for (i=1; i<253; i++) { tval = SearchBogu(headspec[i]); if (tval.length > 0) { thtml += ""; thtml += "" + headname[i] + ""; thtml += "防:" + Number(headspec[i].substring(42,44)) + ""; thtml += "孔:" + Number(headspec[i].substring(44,45)) + ""; thtml += "" + tval + ""; thtml += ""; } } return thtml; } //------------------------------------------ // 胴装備のリスト作成 //------------------------------------------ function FormatArmorList() { thtml = ""; for (i=1; i<243; i++) { tval = SearchBogu(armorspec[i]); if (tval.length > 0) { thtml += ""; thtml += "" + armorname[i] + ""; thtml += "防:" + Number(armorspec[i].substring(42,44)) + ""; thtml += "孔:" + Number(armorspec[i].substring(44,45)) + ""; thtml += "" + tval + ""; thtml += ""; } } return thtml; } //------------------------------------------ // 腕装備のリスト作成 //------------------------------------------ function FormatArmList() { thtml = ""; for (i=1; i<238; i++) { tval = SearchBogu(armspec[i]); if (tval.length > 0) { thtml += ""; thtml += "" + armname[i] + ""; thtml += "防:" + Number(armspec[i].substring(42,44)) + ""; thtml += "孔:" + Number(armspec[i].substring(44,45)) + ""; thtml += "" + tval + ""; thtml += ""; } } return thtml; } //------------------------------------------ // 腰装備のリスト作成 //------------------------------------------ function FormatWaistList() { thtml = ""; for (i=1; i<237; i++) { tval = SearchBogu(waistspec[i]); if (tval.length > 0) { thtml += ""; thtml += "" + waistname[i] + ""; thtml += "防:" + Number(waistspec[i].substring(42,44)) + ""; thtml += "孔:" + Number(waistspec[i].substring(44,45)) + ""; thtml += "" + tval + ""; thtml += ""; } } return thtml; } //------------------------------------------ // 脚装備のリスト作成 //------------------------------------------ function FormatFootList() { thtml = ""; for (i=1; i<236; i++) { tval = SearchBogu(footspec[i]); if (tval.length > 0) { thtml += ""; thtml += "" + footname[i] + ""; thtml += "防:" + Number(footspec[i].substring(42,44)) + ""; thtml += "孔:" + Number(footspec[i].substring(44,45)) + ""; thtml += "" + tval + ""; thtml += ""; } } return thtml; } //------------------------------------------ // 装飾品のリスト作成 //------------------------------------------ function FormatSoshList() { thtml = ""; for (i=1; i<123; i++) { tval = SearchSosh(soshspec[i]); if (tval.length > 0) { thtml += ""; thtml += "" + soshname[i] + ""; thtml += "孔:" + Number(soshspec[i].substring(24,25)) + ""; thtml += "" + tval + ""; thtml += ""; } } return thtml; } //**************************************************************** // 引数のスキル系統があるかサーチ(防具) //**************************************************************** function SearchBogu(data) { skgNo = Number(document.location.search.substring(1)); skgVal = 0; for (ic=2; ic<32; ic+=6) { if (skgNo == Number(data.substring(ic,ic+3))) { skgVal += Number(data.substring(ic+3,ic+6)); } } if (skgVal <= 0) { skgNo = Number(data.substring(2,5)); if (skgNo == 41) { //胴系統+1 return "胴+1"; } else if (skgNo == 42) { //胴系統+2 return "胴+2"; } else if (skgNo == 43) { //胴系统倍加 return "胴x2"; } return ""; } return "+" + String(skgVal); } //**************************************************************** // 引数のスキル系統があるかサーチ(装飾品) //**************************************************************** function SearchSosh(data) { skgNo = Number(document.location.search.substring(1)); skgVal = 0; for (ic=0; ic<24; ic+=6) { if (skgNo == Number(data.substring(ic,ic+3))) { skgVal += Number(data.substring(ic+3,ic+6)); } } if (skgVal <= 0) return ""; return "+" + String(skgVal); } //**************************************************************** // %0?d で書式化 //**************************************************************** function FixData(numb, nc) { ttmp = "00000000" + numb; tk = ttmp.length; ttmp = ttmp.substring(tk-nc,tk); return ttmp; } //**************************************************************** // %0?x で書式化 //**************************************************************** function Fix16Data(numb, nc) { ttmp = "00000000"+numb.toString(16); tk = ttmp.length; ttmp = ttmp.substring(tk-nc, tk); return ttmp; }