var ListElemnt = ["", "炎", "水", "風", "光", "闇"]; var ListWeapon = ["", "斬撃", "突撃", "打撃", "弓矢","魔法", "銃弾", "回復"]; var ListCountry = ["", "王国", "妖精の国", "機械の国", "和の国", "空の国", "西部の国", "エレキの国", "魔法の国", "恐竜の国", "砂漠の国", "死者の国", "少数民族の国", "動物の国", "常夏の国", "植物の国", "科学の国", "お菓子の国", "雨の国", "雪の国", "マジョマジョの国", "にゃんこの国", "あんガルの国", "千メモの国", "聖剣伝説の国", "サモンズの国", "ドラポの国", "アスタリアの世界", "消滅都市の国", "あんスタの国", "血界戦線の国","不明"]; var ListGender = ["", "男", "女", "不明", "", "両性"]; var ListHardness = ["0", "柔らかい", "通常", "硬い", "特柔", "超柔", "6", "7", "特硬", "超硬", "10", "11", "12", "13", "14", "15", "16"]; var ListSkillJp = ["-","炎ソウル","水ソウル","風ソウル","光ソウル","闇ソウル","ヒールドーテ","テラーロアー","パライズアサルト","ビクトリーロアー","スピリッツライズ","炎ブレイク","水ブレイク","風ブレイク","光ブレイク","闇ブレイク","炎フィブル","水フィブル","風フィブル","光フィブル","闇フィブル","スラッシュソウル","スタブソウル","ストライクソウル","炎水ソウル","炎風ソウル","炎光ソウル","炎闇ソウル","水風ソウル","水光ソウル","水闇ソウル","風光ソウル","風闇ソウル","光闇ソウル","炎水ブレイク","炎風ブレイク","炎光ブレイク","炎闇ブレイク","水風ブレイク","水光ブレイク","水闇ブレイク","風光ブレイク","風闇ブレイク","光闇ブレイク","炎イクリーズ","水イクリーズ","風イクリーズ","光イクリーズ","闇イクリーズ","カントリーソウル","パライズアサルツ","エクステンドタイム","炎ウォール","水ウォール","風ウォール","光ウォール","闇ウォール","リザレクトブレス"]; var ListSkill = ["-","火魂","水魂","风魂","光魂","暗魂","治愈","威压","麻痹","SP","士气","火破","水破","风破","光破","暗破","火领域","水领域","风领域","光领域","暗领域","弓斩魂","法突魂","铳打魂","火水魂","火风魂","火光魂","火暗魂","水风魂","水光魂","水暗魂","风光魂","风暗魂","光暗魂","火水破","火风破","火光破","火暗破","水风破","水光破","水暗破","风光破","风暗破","光暗破","火反领域","水反领域","风反领域","光反领域","暗反领域","国家魂","双麻痹","延时","火墙","水墙","风墙","光墙","暗墙","复苏吐息"]; var special = ["フェニシャルル","スノンスノン","スウォランス","パラディシア","ミストロール","ポッソ","ブラン","オスロメルス"]; function getSkill(type,size,atk){ switch(type+""){ case "0": return "-"; case "1": case "2": case "3": case "4": case "5": return Math.pow(Math.pow(size,2.36)*atk,1/3).toFixed(2)+"%"; case "6": return (Math.pow(Math.pow(size,2.36)*atk,2/3)*15).toFixed(0)+"/"+(Math.pow(Math.pow(size,2.36)*atk,1/3)*0.75).toFixed(2)+"%"; case "7": return Math.pow(Math.pow(size,2.36)*atk,1/3).toFixed(2)+"%"; case "8": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*0.5).toFixed(2)+"s"; case "9": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*1.5).toFixed(2)+"%"; case "10": var tmpstr = Math.round(Math.pow((Math.pow(size,2.36)*atk),(1/3))/9)+Math.max((Math.floor(Math.pow(size,2.36)*atk/5000)-6),0) + "Guts
("+((Math.pow((Math.pow(size,2.36)*atk),(1/3))/9)+Math.max((Math.floor(Math.pow(size,2.36)*atk/5000)-6),0)/1).toFixed(2) +")"; return tmpstr; case "11": case "12": case "13": case "14": case "15": return Math.pow(Math.pow(size,2.36)*atk,1/3).toFixed(2)+"%"; case "16": case "17": case "18": case "19": case "20": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*0.65).toFixed(2)+"%"; case "21": case "22": case "23": return Math.pow(Math.pow(size,2.36)*atk,1/3).toFixed(2)+"%"; case "24": case "25": case "26": case "27": case "28": case "29": case "30": case "31": case "32": case "33": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*0.825).toFixed(2)+"%"; case "34": case "35": case "36": case "37": case "38": case "39": case "40": case "41": case "42": case "43": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*0.6).toFixed(2)+"%"; case "44": case "45": case "46": case "47": case "48": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*0.65).toFixed(2)+"%"; case "49": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*0.9).toFixed(2)+"%"; case "50": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*5/21).toFixed(2)+"s"; case "51": return (Math.pow(Math.pow(size,2.36)*atk,1/3)*5/7).toFixed(2)+"s"; case "52": case "53": case "54": case "55": case "56": case "57": return (Math.pow(Math.pow(size,2.36)*atk,1/3)/2.5).toFixed(2) + "%"; default: return "-"; } }