◆少前百科是非盈利性、非官方的少女前线维基百科。 ◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科。 ◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科 ◆To foreigners,You can use twitter to contact us. |
“Widget:EnemyInfo/js”的版本间的差异
(测试) |
|||
(未显示3个用户的18个中间版本) | |||
第27行: | 第27行: | ||
xmlhttp_Spot.onreadystatechange = function() { | xmlhttp_Spot.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Spot = JSON.parse(this.responseText | + | Spot = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Spot.open("GET", " | + | xmlhttp_Spot.open("GET", "/images/0/06/StcSpot.txt", true); |
xmlhttp_Spot.send(); | xmlhttp_Spot.send(); | ||
第36行: | 第36行: | ||
xmlhttp_in_team.onreadystatechange = function() { | xmlhttp_in_team.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Enemy_in_team = JSON.parse(this.responseText | + | Enemy_in_team = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_in_team.open("GET", " | + | xmlhttp_in_team.open("GET", "/images/4/48/StcEnemy_in_team.txt", true); |
xmlhttp_in_team.send(); | xmlhttp_in_team.send(); | ||
第45行: | 第45行: | ||
xmlhttp_standard_attribute.onreadystatechange = function() { | xmlhttp_standard_attribute.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Enemy_standard_attribute = JSON.parse(this.responseText | + | Enemy_standard_attribute = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_standard_attribute.open("GET", " | + | xmlhttp_standard_attribute.open("GET", "/images/1/13/StcEnemy_standard_attribute.txt", true); |
xmlhttp_standard_attribute.send(); | xmlhttp_standard_attribute.send(); | ||
第54行: | 第54行: | ||
xmlhttp_team.onreadystatechange = function() { | xmlhttp_team.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Enemy_team = JSON.parse(this.responseText | + | Enemy_team = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_team.open("GET", " | + | xmlhttp_team.open("GET", "/images/c/c8/StcEnemy_team.txt", true); |
xmlhttp_team.send(); | xmlhttp_team.send(); | ||
第63行: | 第63行: | ||
xmlhttp_Theater_area.onreadystatechange = function() { | xmlhttp_Theater_area.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Theater_area = JSON.parse(this.responseText | + | Theater_area = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Theater_area.open("GET", " | + | xmlhttp_Theater_area.open("GET", "/images/8/81/StcTheater_area.txt", true); |
xmlhttp_Theater_area.send(); | xmlhttp_Theater_area.send(); | ||
第72行: | 第72行: | ||
xmlhttp_Building.onreadystatechange = function() { | xmlhttp_Building.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Building = JSON.parse(this.responseText | + | Building = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Building.open("GET", " | + | xmlhttp_Building.open("GET", "/images/6/69/StcBuilding.txt", true); |
xmlhttp_Building.send(); | xmlhttp_Building.send(); | ||
第81行: | 第81行: | ||
xmlhttp_Mission.onreadystatechange = function() { | xmlhttp_Mission.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Mission = JSON.parse(this.responseText | + | Mission = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Mission.open("GET", " | + | xmlhttp_Mission.open("GET", "/images/4/40/StcMission.txt", true); |
xmlhttp_Mission.send(); | xmlhttp_Mission.send(); | ||
第90行: | 第90行: | ||
xmlhttp_charater_type.onreadystatechange = function() { | xmlhttp_charater_type.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Enemy_charater_type = JSON.parse(this.responseText | + | Enemy_charater_type = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_charater_type.open("GET", " | + | xmlhttp_charater_type.open("GET", "/images/6/66/StcEnemy_character_type.txt", true); |
xmlhttp_charater_type.send(); | xmlhttp_charater_type.send(); | ||
第99行: | 第99行: | ||
xmlhttp_Ally_team.onreadystatechange = function() { | xmlhttp_Ally_team.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Ally_team = JSON.parse(this.responseText | + | Ally_team = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Ally_team.open("GET", " | + | xmlhttp_Ally_team.open("GET", "/images/e/e4/StcAlly_team.txt", true); |
xmlhttp_Ally_team.send(); | xmlhttp_Ally_team.send(); | ||
第108行: | 第108行: | ||
xmlhttp_Team_ai.onreadystatechange = function() { | xmlhttp_Team_ai.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Team_ai = JSON.parse(this.responseText | + | Team_ai = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Team_ai.open("GET", " | + | xmlhttp_Team_ai.open("GET", "/images/b/b7/StcTeam_ai.txt", true); |
xmlhttp_Team_ai.send(); | xmlhttp_Team_ai.send(); | ||
第117行: | 第117行: | ||
xmlhttp_Mission_targettrain_enemy.onreadystatechange = function() { | xmlhttp_Mission_targettrain_enemy.onreadystatechange = function() { | ||
if (this.readyState == 4 && this.status == 200) { | if (this.readyState == 4 && this.status == 200) { | ||
− | Mission_targettrain_enemy = JSON.parse(this.responseText | + | Mission_targettrain_enemy = JSON.parse(this.responseText); |
loadstate ++; } | loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Mission_targettrain_enemy.open("GET", " | + | xmlhttp_Mission_targettrain_enemy.open("GET", "/images/c/c6/StcMission_targettrain_enemy.txt", true); |
xmlhttp_Mission_targettrain_enemy.send(); | xmlhttp_Mission_targettrain_enemy.send(); | ||
第129行: | 第129行: | ||
if (this.readyState == 4 && this.status == 200) { Building_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Building_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Building_txt.open("GET", " | + | xmlhttp_Building_txt.open("GET", "/images/8/8f/Building.txt", true); |
xmlhttp_Building_txt.send(); | xmlhttp_Building_txt.send(); | ||
第136行: | 第136行: | ||
if (this.readyState == 4 && this.status == 200) { Mission_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Mission_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Mission_txt.open("GET", " | + | xmlhttp_Mission_txt.open("GET", "/images/c/c7/Mission.txt", true); |
xmlhttp_Mission_txt.send(); | xmlhttp_Mission_txt.send(); | ||
第143行: | 第143行: | ||
if (this.readyState == 4 && this.status == 200) { Enemy_charater_type_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Enemy_charater_type_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Enemy_charater_type_txt.open("GET", " | + | xmlhttp_Enemy_charater_type_txt.open("GET", "/images/4/49/Enemy_character_type.txt", true); |
xmlhttp_Enemy_charater_type_txt.send(); | xmlhttp_Enemy_charater_type_txt.send(); | ||
第150行: | 第150行: | ||
if (this.readyState == 4 && this.status == 200) { Ally_team_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Ally_team_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Ally_team_txt.open("GET", " | + | xmlhttp_Ally_team_txt.open("GET", "/images/0/00/Ally_team.txt", true); |
xmlhttp_Ally_team_txt.send(); | xmlhttp_Ally_team_txt.send(); | ||
第157行: | 第157行: | ||
if (this.readyState == 4 && this.status == 200) { Team_ai_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Team_ai_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Team_ai_txt.open("GET", " | + | xmlhttp_Team_ai_txt.open("GET", "/images/f/f5/Team_ai.txt", true); |
xmlhttp_Team_ai_txt.send(); | xmlhttp_Team_ai_txt.send(); | ||
第164行: | 第164行: | ||
if (this.readyState == 4 && this.status == 200) { Mission_targettrain_enemy_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Mission_targettrain_enemy_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Mission_targettrain_enemy_txt.open("GET", " | + | xmlhttp_Mission_targettrain_enemy_txt.open("GET", "/images/5/59/Mission_targettrain_enemy.txt", true); |
xmlhttp_Mission_targettrain_enemy_txt.send(); | xmlhttp_Mission_targettrain_enemy_txt.send(); | ||
第171行: | 第171行: | ||
if (this.readyState == 4 && this.status == 200) { Special_spot_config_txt = this.responseText; loadstate ++; } | if (this.readyState == 4 && this.status == 200) { Special_spot_config_txt = this.responseText; loadstate ++; } | ||
}; | }; | ||
− | xmlhttp_Special_spot_config_txt.open("GET", " | + | xmlhttp_Special_spot_config_txt.open("GET", "/images/e/ec/Special_spot_config.txt", true); |
xmlhttp_Special_spot_config_txt.send(); | xmlhttp_Special_spot_config_txt.send(); | ||
第184行: | 第184行: | ||
var namepos = Mission_txt.indexOf(Mission[i].name); | var namepos = Mission_txt.indexOf(Mission[i].name); | ||
var namestr = Mission_txt.slice(namepos + Mission[i].name.length + 1, Mission_txt.indexOf("\n", namepos)); | var namestr = Mission_txt.slice(namepos + Mission[i].name.length + 1, Mission_txt.indexOf("\n", namepos)); | ||
− | Mission[i].name = namestr; | + | Mission[i].name = namestr.replace("//n", " "); |
} | } | ||
第257行: | 第257行: | ||
var eteamspot = []; | var eteamspot = []; | ||
+ | var enemyteaminfo = []; | ||
/*-- 下载 sdownload 重置 sredraw 隐藏 smaphide 图例 sexample | /*-- 下载 sdownload 重置 sredraw 隐藏 smaphide 图例 sexample | ||
敌人 smapenemy 建筑 smapbuild 类型 smaptype 颜色 smapcolor 标号 smapspotn 逻辑 smapenemyai | 敌人 smapenemy 建筑 smapbuild 类型 smaptype 颜色 smapcolor 标号 smapspotn 逻辑 smapenemyai | ||
建筑表格 sbuildtable 传送表格 sporttable 点位标记 sspotsign 同组堆叠 senemypile --*/ | 建筑表格 sbuildtable 传送表格 sporttable 点位标记 sspotsign 同组堆叠 senemypile --*/ | ||
− | var setmessage = {sdownload:0, sredraw:0, smaphide:0, sexample:0, smapenemy:1, smapbuild:1, smaptype:1, smapcolor:1, smapspotn:1, smapenemyai:1, sbuildtable:1, sporttable:1, sspotsign:0, senemypile:0}; | + | var setmessage = {sdownload:0, sredraw:0, smaphide:0, sexample:0, smapenemy:1, smapbuild:1, smaptype:1, smapcolor:1, smapspotn:1, smapenemyai:1, sbuildtable:1, sporttable:1, sspotsign:0, senemypile:0, steamconsult:0, sexistspot:0}; |
function missioncreat(){ | function missioncreat(){ | ||
/*-- 战役的选择创建 --*/ | /*-- 战役的选择创建 --*/ | ||
− | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:default;">战役选择 ▷</div> | + | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:default;">战役选择 ▷<\/div> |
<div class="eselect"><select id="campaignselect" name="campaignselect"> | <div class="eselect"><select id="campaignselect" name="campaignselect"> | ||
− | <option value="1000">[主线] 第零战役</option> | + | <option value="1000">[主线] 第零战役<\/option> |
− | <option value="1001">[主线] 第一战役</option> | + | <option value="1001">[主线] 第一战役<\/option> |
− | <option value="1002">[主线] 第二战役</option> | + | <option value="1002">[主线] 第二战役<\/option> |
− | <option value="1003">[主线] 第三战役</option> | + | <option value="1003">[主线] 第三战役<\/option> |
− | <option value="1004">[主线] 第四战役</option> | + | <option value="1004">[主线] 第四战役<\/option> |
− | <option value="1005">[主线] 第五战役</option> | + | <option value="1005">[主线] 第五战役<\/option> |
− | <option value="1006">[主线] 第六战役</option> | + | <option value="1006">[主线] 第六战役<\/option> |
− | <option value="1007">[主线] 第七战役</option> | + | <option value="1007">[主线] 第七战役<\/option> |
− | <option value="1008">[主线] 第八战役</option> | + | <option value="1008">[主线] 第八战役<\/option> |
− | <option value="1009">[主线] 第九战役</option> | + | <option value="1009">[主线] 第九战役<\/option> |
− | <option value="1010">[主线] 第十战役</option> | + | <option value="1010">[主线] 第十战役<\/option> |
− | <option value="1011">[主线] 第十一战役</option> | + | <option value="1011">[主线] 第十一战役<\/option> |
− | <option value="1012">[主线] 第十二战役</option> | + | <option value="1012">[主线] 第十二战役<\/option> |
− | <option value="1013">[主线] 第十三战役</option> | + | <option value="1013">[主线] 第十三战役<\/option> |
− | <option value="2001">[模拟] 经验特训</option> | + | <option value="2001">[模拟] 经验特训<\/option> |
− | <option value="2002">[模拟] 强化练习</option> | + | <option value="2002">[模拟] 强化练习<\/option> |
− | <option value="2003">[模拟] 资料采样</option> | + | <option value="2003">[模拟] 资料采样<\/option> |
− | <option value="2005">[模拟] 云图回廊</option> | + | <option value="2005">[模拟] 云图回廊<\/option> |
− | <option value="2007">[模拟] 融合演习</option> | + | <option value="2007">[模拟] 融合演习<\/option> |
− | <option value="2008">[模拟] 靶机专训</option> | + | <option value="2008">[模拟] 靶机专训<\/option> |
− | <option value="3001">[主线] 魔方行动</option> | + | <option value="3001">[主线] 魔方行动<\/option> |
− | <option value="3002">[主线] 失温症</option> | + | <option value="3002">[主线] 失温症<\/option> |
− | <option value="3006">[主线] 魔方行动+</option> | + | <option value="3006">[主线] 魔方行动+<\/option> |
− | <option value="3010">[主线] 深层映射</option> | + | <option value="3010">[主线] 深层映射<\/option> |
− | <option value="3016">[主线] 塌缩点</option>◊ | + | <option value="3016">[主线] 塌缩点<\/option>◊ |
− | <option value="3024">[主线] 有序紊流</option> | + | <option value="3024">[主线] 有序紊流<\/option> |
− | <option value="3031">[主线] 异构体</option> | + | <option value="3031">[主线] 异构体<\/option> |
− | <option value="3033">[主线] 裂变链接</option> | + | <option value="3033">[主线] 裂变链接<\/option> |
− | <option value="3036">[主线] 偏振光</option> | + | <option value="3036">[主线] 偏振光<\/option> |
− | <option value="3041">[主线] 双联乱数</option> | + | <option value="3041">[主线] 双联乱数<\/option> |
+ | <option value="3044">[主线] 镜像论<\/option> | ||
+ | <option value="3048">[主线] 熵减焓增<\/option> | ||
+ | <option value="3051">[主线] 静风点<\/option> | ||
− | <option value="4008">[联动] 猎兔行动</option> | + | <option value="4008">[联动] 猎兔行动<\/option> |
− | <option value="4014">[联动] 独法师</option> | + | <option value="4014">[联动] 独法师<\/option> |
− | <option value="4019">[联动] 荣耀日</option> | + | <option value="4019">[联动] 荣耀日<\/option> |
− | <option value="4032">[联动] 瓦尔哈拉</option> | + | <option value="4032">[联动] 瓦尔哈拉<\/option> |
− | <option value="4038">[联动] 梦间剧</option> | + | <option value="4038">[联动] 梦间剧<\/option> |
− | <option value="4043">[联动] 暗金潮</option> | + | <option value="4043">[联动] 暗金潮<\/option> |
+ | <option value="4046">[联动] 小邪神前线<\/option> | ||
− | <option value="5034">[支线] 诡异狂潮</option> | + | <option value="5034">[支线] 诡异狂潮<\/option> |
− | <option value="5035">[支线] 雪夜杀礼异想曲</option> | + | <option value="5035">[支线] 雪夜杀礼异想曲<\/option> |
− | <option value="5037">[支线] 照相馆谜题</option> | + | <option value="5037">[支线] 照相馆谜题<\/option> |
− | <option value="5040">[支线] 碧海秘闻</option> | + | <option value="5040">[支线] 碧海秘闻<\/option> |
− | <option value="5042">[支线] 茧中蝶影</option> | + | <option value="5042">[支线] 茧中蝶影<\/option> |
+ | <option value="5047">[支线] 捩浪人<\/option> | ||
+ | <option value="5049">[支线] 一币之遥<\/option> | ||
− | <option value="6004">[战区] 第一版</option> | + | <option value="6004">[战区] 第一版<\/option> |
− | <option value="6005">[战区] 第二版</option> | + | <option value="6005">[战区] 第二版<\/option> |
− | <option value="6006">[战区] 第三版</option> | + | <option value="6006">[战区] 第三版<\/option> |
− | </select></div> | + | <\/select><\/div> |
<div class="eselect"><select id="missionselect" name="missionselect"> | <div class="eselect"><select id="missionselect" name="missionselect"> | ||
− | <option value="1">0-1 热身运动</option> | + | <option value="1">0-1 热身运动<\/option> |
− | <option value="2">0-2 黑色情报</option> | + | <option value="2">0-2 黑色情报<\/option> |
− | <option value="3">0-3 守护据点</option> | + | <option value="3">0-3 守护据点<\/option> |
− | <option value="4">0-4 最终挑战</option> | + | <option value="4">0-4 最终挑战<\/option> |
− | </select></div> | + | <\/select><\/div> |
− | <div class="eselect" style="width:85px;"><select id="layerselect" name="layerselect" style="display:block;"></select></div> | + | <div class="eselect" style="width:85px;"><select id="layerselect" name="layerselect" style="display:block;"><\/select><\/div> |
− | <div id="packselect" style="inline-block; user-select:none; cursor:default; margin:"></div>`; | + | <div id="packselect" style="inline-block; user-select:none; cursor:default; margin:"><\/div>`; |
$("#campaignchose").html(output); | $("#campaignchose").html(output); | ||
第394行: | 第401行: | ||
} | } | ||
− | + | /*-- 有多个章节的活动 --*/ | |
else if(Number(thevalue) > 3000 && Number(thevalue) < 5000){ | else if(Number(thevalue) > 3000 && Number(thevalue) < 5000){ | ||
for (i in Mission) { | for (i in Mission) { | ||
第406行: | 第413行: | ||
else if(thevalue == 3010 && camp != -10 && camp != -11 && camp != -12 && camp != -13 && camp != -29) continue; | else if(thevalue == 3010 && camp != -10 && camp != -11 && camp != -12 && camp != -13 && camp != -29) continue; | ||
else if(thevalue == 3016 && camp != -16 && camp != -17 && camp != -18 && camp != -39) continue; | else if(thevalue == 3016 && camp != -16 && camp != -17 && camp != -18 && camp != -39) continue; | ||
− | else if(thevalue == 3024 && camp != -24 && camp != -25 && camp != -26 && camp != -27 && camp != -28) continue; | + | else if(thevalue == 3024 && camp != -24 && camp != -25 && camp != -26 && camp != -27 && camp != -28 && camp != -45) continue; |
else if(thevalue == 3031 && camp != -31) continue; | else if(thevalue == 3031 && camp != -31) continue; | ||
else if(thevalue == 3033 && camp != -33) continue; | else if(thevalue == 3033 && camp != -33) continue; | ||
else if(thevalue == 3036 && camp != -36) continue; | else if(thevalue == 3036 && camp != -36) continue; | ||
else if(thevalue == 3041 && camp != -41) continue; | else if(thevalue == 3041 && camp != -41) continue; | ||
+ | else if(thevalue == 3044 && camp != -44) continue; | ||
+ | else if(thevalue == 3048 && camp != -48) continue; | ||
/*-- 联动活动 --*/ | /*-- 联动活动 --*/ | ||
else if(thevalue == 4008 && camp != -8 && camp != -30) continue; | else if(thevalue == 4008 && camp != -8 && camp != -30) continue; | ||
第418行: | 第427行: | ||
else if(thevalue == 4038 && camp != -38) continue; | else if(thevalue == 4038 && camp != -38) continue; | ||
else if(thevalue == 4043 && camp != -43) continue; | else if(thevalue == 4043 && camp != -43) continue; | ||
+ | else if(thevalue == 4046 && camp != -46) continue; | ||
var op = document.createElement("OPTION"); | var op = document.createElement("OPTION"); | ||
第475行: | 第485行: | ||
/*-- 绘制地图画布 --*/ | /*-- 绘制地图画布 --*/ | ||
− | var drawingoutput = `<canvas id="missiondrawing" width="1200px" height="675px" style="cursor:crosshair;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var drawingoutput = `<canvas id="missiondrawing" width="1200px" height="675px" style="cursor:crosshair;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#missionmap").html(drawingoutput); | $("#missionmap").html(drawingoutput); | ||
第499行: | 第509行: | ||
/*-- canvas内鼠标缩放功能 --*/ | /*-- canvas内鼠标缩放功能 --*/ | ||
− | missiondraw.onmousewheel = $("#missionmap").onwheel = function (event) { | + | missiondraw.onmousewheel = $("#missionmap")[0].onwheel = function (event) { |
+ | event.preventDefault(); | ||
var pos = windowToCanvas(event.clientX, event.clientY); | var pos = windowToCanvas(event.clientX, event.clientY); | ||
var newPos = {x:((pos.x - xmove)/scale).toFixed(2) , y:((pos.y - ymove)/scale).toFixed(2)}; | var newPos = {x:((pos.x - xmove)/scale).toFixed(2) , y:((pos.y - ymove)/scale).toFixed(2)}; | ||
第561行: | 第572行: | ||
/*-- 区域选择的创建 --*/ | /*-- 区域选择的创建 --*/ | ||
− | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:auto;">区域选择 ▷</div> | + | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px; cursor:auto;">区域选择 ▷<\/div> |
− | <div id="packall" class="packcheck" style="display:inline-block; padding:5.5px; background:black; color:#E0E0E0; position:relative; top:1px; cursor:pointer; border:1px #e0e0e0 solid;">全选</div> | + | <div id="packall" class="packcheck" style="display:inline-block; padding:5.5px; background:black; color:#E0E0E0; position:relative; top:1px; cursor:pointer; border:1px #e0e0e0 solid;">全选<\/div> |
− | <div id="packclear" class="packcheck" style="display:inline-block; padding:5.5px; background:black; color:#E0E0E0; position:relative; top:1px; cursor:pointer; border:1px #e0e0e0 solid;">清空</div>`; | + | <div id="packclear" class="packcheck" style="display:inline-block; padding:5.5px; background:black; color:#E0E0E0; position:relative; top:1px; cursor:pointer; border:1px #e0e0e0 solid;">清空<\/div>`; |
for(var i = 0; i < packagenum.length; i++){ | for(var i = 0; i < packagenum.length; i++){ | ||
− | output += `<input class="packcheck" type="checkbox" id="package_` + packagenum[i] + `" value="` + packagenum[i] + `" checked="checked" /><label for="package_` + packagenum[i] + `">` + packagenum[i] + `</label>`; | + | output += `<input class="packcheck" type="checkbox" id="package_` + packagenum[i] + `" value="` + packagenum[i] + `" checked="checked" /><label for="package_` + packagenum[i] + `">` + packagenum[i] + `<\/label>`; |
} | } | ||
$("#packselect").html(output); | $("#packselect").html(output); | ||
第646行: | 第657行: | ||
thisline += Building[buildnum].defender + `<\/td><td width="140px">`; | thisline += Building[buildnum].defender + `<\/td><td width="140px">`; | ||
thisline += Building[buildnum].is_destroy.replace("0", "不可破坏").replace("1", "重装打击").replace("2", "踩点破坏") + `<\/td><td width="60px">`; | thisline += Building[buildnum].is_destroy.replace("0", "不可破坏").replace("1", "重装打击").replace("2", "踩点破坏") + `<\/td><td width="60px">`; | ||
− | thisline += Building[buildnum].initial_state.replace("0", "开启").replace("-1", "关闭") + `<\/td><td width="80px">`; | + | thisline += String(Building[buildnum].initial_state).replace("0", "开启").replace("-1", "关闭") + `<\/td><td width="80px">`; |
thisline += Building[buildnum].battle_assist_range + `<\/td><td width="544px">`; | thisline += Building[buildnum].battle_assist_range + `<\/td><td width="544px">`; | ||
thisline += ((buildsigndes) ? buildsigndes : "其他") + "<\/td><\/tr>"; | thisline += ((buildsigndes) ? buildsigndes : "其他") + "<\/td><\/tr>"; | ||
第770行: | 第781行: | ||
var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | ||
<thead style="display:block; background-color:#f4c430; color:black;"><tr> | <thead style="display:block; background-color:#f4c430; color:black;"><tr> | ||
− | <th style="width:100px;">编号</th> | + | <th style="width:100px;">编号<\/th> |
− | <th style="width:160px;">队长</th> | + | <th style="width:160px;">队长<\/th> |
− | <th style="width:100px;">敌人/中立</th> | + | <th style="width:100px;">敌人/中立<\/th> |
− | <th style="width:80px;">AI</th> | + | <th style="width:80px;">AI<\/th> |
− | <th style="width:100px;">效能</th> | + | <th style="width:100px;">效能<\/th> |
− | <th style="width:490px;">组成</th> | + | <th style="width:490px;">组成<\/th> |
− | <th class="cellacap" style="width:120px; display:table-cell;">站位</th> | + | <th class="cellacap" style="width:120px; display:table-cell;">站位<\/th> |
− | <th class="cellbcap" style="width:120px; display:none;">数量</th> | + | <th class="cellbcap" style="width:120px; display:none;">数量<\/th> |
− | <th style="width:50px;">其它</th> | + | <th style="width:50px;">其它<\/th> |
− | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | + | <\/tr><\/thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; |
/*-- 路径点的敌人站位 --*/ | /*-- 路径点的敌人站位 --*/ | ||
第1,173行: | 第1,184行: | ||
var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | ||
<thead style="display:block; background-color:#f4c430; color:black;"><tr> | <thead style="display:block; background-color:#f4c430; color:black;"><tr> | ||
− | <th style="width:100px;">编号</th> | + | <th style="width:100px;">编号<\/th> |
− | <th style="width:160px;">名称</th> | + | <th style="width:160px;">名称<\/th> |
− | <th style="width:450px;">组成</th> | + | <th style="width:450px;">组成<\/th> |
− | <th style="width:490px;">描述</th> | + | <th style="width:490px;">描述<\/th> |
− | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | + | <\/tr><\/thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; |
for(i in Mission_targettrain_enemy){ | for(i in Mission_targettrain_enemy){ | ||
第1,217行: | 第1,228行: | ||
var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | var output = `<table id="Missiontable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> | ||
<thead style="display:block; background-color:#f4c430; color:black;"><tr> | <thead style="display:block; background-color:#f4c430; color:black;"><tr> | ||
− | <th style="width:100px;">编号</th> | + | <th style="width:100px;">编号<\/th> |
− | <th style="width:160px;">队长</th> | + | <th style="width:160px;">队长<\/th> |
− | <th style="width:100px;">效能</th> | + | <th style="width:100px;">效能<\/th> |
− | <th style="width:490px;">组成</th> | + | <th style="width:490px;">组成<\/th> |
− | <th style="width:60px;">环境</th> | + | <th style="width:60px;">环境<\/th> |
− | <th style="width:100px;">波数</th> | + | <th style="width:100px;">波数<\/th> |
− | <th style="width:200px;">其它</th> | + | <th style="width:200px;">其它<\/th> |
− | </tr></thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; | + | <\/tr><\/thead><tbody id="Missionbody" style="height:300px; overflow-y:scroll; display:block;">`; |
/*-- 路径点的敌人站位 --*/ | /*-- 路径点的敌人站位 --*/ | ||
第1,326行: | 第1,337行: | ||
function enemyselectcreat(){ | function enemyselectcreat(){ | ||
− | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px;">敌人编号</div> | + | var output = `<div style="display:inline-block; padding:6.5px; background:#E0E0E0; color:black; position:relative; top:1px;">敌人编号<\/div> |
<div class="eselect"><select id="enemyselect" name="enemyselect">`; | <div class="eselect"><select id="enemyselect" name="enemyselect">`; | ||
− | for(var i = 0; i < Enemy_team.length; i++) output += "<option value=\"" + Enemy_team[i].id + "\">" + Enemy_team[i].id + "</option>"; | + | for(var i = 0; i < Enemy_team.length; i++) output += "<option value=\"" + Enemy_team[i].id + "\">" + Enemy_team[i].id + "<\/option>"; |
− | + | output += `<\/select><\/div> <input type="text" id="enemytext" name="enemytext" style="border:none; padding:10px; background-color:#e0e0e0; top:1px;"/>`; | |
+ | |||
+ | output += `<div class="eteambtn" id="sexistspot" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5.5px 10px; cursor:pointer; vertical-align:middle; margin-left:50px;">存在地点<\/div> | ||
+ | <div class="eteambtn" id="steamconsult" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5.5px 10px; cursor:pointer; vertical-align:middle;">组成查询<\/div>`; | ||
+ | |||
+ | $("#enemychose").html(output); | ||
/*-- 绘制画布 --*/ | /*-- 绘制画布 --*/ | ||
− | var drawingoutput = `<canvas id="enemydrawing" width="4800px" height="300px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var drawingoutput = `<canvas id="enemydrawing" width="4800px" height="300px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#enemyposition").html(drawingoutput); | $("#enemyposition").html(drawingoutput); | ||
− | $("# | + | $(".eteambtn").mouseover(function(){ |
+ | $(this).css({"border":"1px #f4c430 solid","padding":"5px 10px"}); | ||
+ | }); | ||
+ | $(".eteambtn").mouseout(function(){ | ||
+ | $(this).css({"border":"1px #eaeaea solid","padding":"5px 10px"}); | ||
+ | }); | ||
+ | |||
+ | $("#teammadediv").hide(); | ||
+ | $("#teamexistdiv").hide(); | ||
+ | $("#steamconsult").click(function(){ | ||
+ | if(setmessage["steamconsult"] == 0){ | ||
+ | setmessage["steamconsult"] = 1; | ||
+ | $(this).css({"background-color":"#f4c430","color":"black"}); | ||
+ | $("#teammadediv").show(); | ||
+ | }else{ | ||
+ | setmessage["steamconsult"] = 0; | ||
+ | $(this).css({"background-color":"#111111","color":"#eaeaea"}); | ||
+ | $("#teammadediv").hide(); | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | $("#sexistspot").click(function(){ | ||
+ | if(enemyteaminfo.length == 0)enemymadecal(); | ||
+ | if(setmessage["sexistspot"] == 0){ | ||
+ | setmessage["sexistspot"] = 1; | ||
+ | $(this).css({"background-color":"#f4c430","color":"black"}); | ||
+ | $("#teamexistdiv").show(); | ||
+ | }else{ | ||
+ | setmessage["sexistspot"] = 0; | ||
+ | $(this).css({"background-color":"#111111","color":"#eaeaea"}); | ||
+ | $("#teamexistdiv").hide(); | ||
+ | } | ||
+ | }); | ||
+ | |||
$("#enemyselect").change(function(){ | $("#enemyselect").change(function(){ | ||
enemydisplay(Number(this.value)); | enemydisplay(Number(this.value)); | ||
+ | if(setmessage.sexistspot == 1) existdisplay(Number(this.value)); | ||
}); | }); | ||
$("#enemytext").change(function(){ | $("#enemytext").change(function(){ | ||
第1,344行: | 第1,394行: | ||
if(Enemy_team[i].id == Number(this.value)){ | if(Enemy_team[i].id == Number(this.value)){ | ||
enemydisplay(Number(this.value)); | enemydisplay(Number(this.value)); | ||
+ | if(setmessage.sexistspot == 1) existdisplay(Number(this.value)); | ||
return; | return; | ||
} | } | ||
第1,349行: | 第1,400行: | ||
alert("该敌人不存在"); | alert("该敌人不存在"); | ||
}); | }); | ||
− | |||
− | + | let teamoutput = `<div class="enemyname" id="enemyname1">NONE<\/div><input type="number" name="enemynumber1" id="enemynumber1" class="enemynumber" value="0" min="0"/> | |
− | / | + | <div class="enemyname" id="enemyname2">NONE<\/div><input type="number" name="enemynumber2" id="enemynumber2" class="enemynumber" value="0" min="0"/> |
− | + | <div class="enemyname" id="enemyname3">NONE<\/div><input type="number" name="enemynumber3" id="enemynumber3" class="enemynumber" value="0" min="0"/> | |
+ | <div id="teamconfirm" style="border:1px solid #e0e0e0; padding:6px; margin-left:10px; cursor:pointer; display:inline-block;">查询<\/div><br/><br/>`; | ||
− | / | + | for(i in Enemy_charater_type){ |
− | var | + | let sign = 1; |
− | + | for(let j = 0; j < i; j++) if(Enemy_charater_type[j].name == Enemy_charater_type[i].name){ sign = 0; break;} | |
− | + | if(sign && Enemy_charater_type[i].name && (Enemy_charater_type[i].name != ",")) teamoutput += `<div class="enemytypename" state="off">` + Enemy_charater_type[i].name + `<\/div>`; | |
− | + | } | |
− | + | $("#teammadediv").html(teamoutput); | |
− | + | $("div.enemyname").css({"width":"160px", "display":"inline-block", "padding":"5px", "background-color":"#e0e0e0", "color":"black", "margin-left":"6px", "cursor":"pointer", "border":"double"}); | |
− | + | $("input.enemynumber").css({"width":"50px", "padding":"9.5px", "background-color":"#e0e0e0", "border":"none", "margin-left":"2px"}); | |
− | + | $("div.enemytypename").css({"background-color":"#e0e0e0", "color":"black", "display":"inline-block", "margin":"4px 4px", "padding":"4px", "cursor":"pointer", "border-style":"double"}); | |
− | + | $("div#teamconfirm").mouseover(function(){$(this).css({"border-color":"#f4c430", "color":"#f4c430"})}); | |
+ | $("div#teamconfirm").mouseout(function(){$(this).css({"border-color":"#e0e0e0", "color":"#eaeaea"})}); | ||
+ | |||
+ | $("div.enemyname").click(function(){ | ||
+ | if($(this).html() == "NONE") return; | ||
+ | var namedivs = document.querySelectorAll("div.enemytypename"); | ||
+ | for(i in namedivs) if($(namedivs[i]).html() == $(this).html()){ $(namedivs[i]).css({"background-color":"#e0e0e0"}); break;} | ||
+ | $(this).html("NONE"); | ||
+ | $(this).css("background-color", "#e0e0e0"); | ||
+ | $(this).next().val(0); | ||
+ | }); | ||
+ | $("div.enemytypename").click(function(){ | ||
+ | if($(this).attr("state") == "off"){ | ||
+ | if($("#enemyname1").html() == "NONE"){ | ||
+ | $("#enemyname1").html($(this).html()); | ||
+ | $("#enemyname1").css("background-color", "#f4c430"); | ||
+ | } | ||
+ | else if($("#enemyname2").html() == "NONE"){ | ||
+ | $("#enemyname2").html($(this).html()); | ||
+ | $("#enemyname2").css("background-color", "#f4c430"); | ||
+ | } | ||
+ | else if($("#enemyname3").html() == "NONE"){ | ||
+ | $("#enemyname3").html($(this).html()); | ||
+ | $("#enemyname3").css("background-color", "#f4c430"); | ||
+ | } | ||
+ | else return; | ||
+ | $(this).attr("state", "on"); | ||
+ | $(this).css({"background-color":"#f4c430"}); | ||
+ | } else { | ||
+ | if($("#enemyname1").html() == $(this).html()) $("#enemyname1").click(); | ||
+ | else if($("#enemyname2").html() == $(this).html()) $("#enemyname2").click(); | ||
+ | else if($("#enemyname3").html() == $(this).html()) $("#enemyname3").click(); | ||
+ | $(this).attr("state", "off"); | ||
+ | } | ||
+ | }); | ||
+ | $("div#teamconfirm").click(function(){ | ||
+ | if(setmessage.sexistspot == 1) existdisplay(); | ||
+ | }); | ||
+ | |||
+ | } | ||
+ | |||
+ | function enemymadecal(){ | ||
+ | /*-- 敌方存在的关卡以及点位,计算 --*/ | ||
+ | for(i in Enemy_team){ | ||
+ | enemyteaminfo.push({id:Enemy_team[i].id, enemy:[]}); | ||
+ | let thisteam = enemyteaminfo.length - 1; | ||
− | /*-- 参考线横向/纵向线条 --*/ | + | for(j in Enemy_in_team){ |
− | for(var i = 0; i <= 300 / 25; i++){ dcoordinator(3, "#444444", 0, i);} | + | if(Enemy_in_team[j]["enemy_team_id"] != Enemy_team[i].id) continue; |
− | for(var i = 0; i <= 3600/100; i++){ | + | let enemyname; |
− | dcoordinator(2, "#444444", i*4, 0); | + | |
− | dcoordinator(6, "#444444", i*4, -1, i*4-3);} | + | for(k in Enemy_charater_type) if(Enemy_charater_type[k]["id"] == Enemy_in_team[j]["enemy_character_type_id"]){ enemyname = Enemy_charater_type[k]["name"]; break;} |
− | /*-- 我方位置 --*/ | + | |
− | dcoordinator(1, "#f4c430", -1.7, -0.09); | + | let sign = 1; |
− | dcoordinator(1, "#f4c430", -1.7, 8.31); | + | for(k in enemyteaminfo[thisteam].enemy){ |
− | dcoordinator(1, "#f4c430", -1.7, 4.11); | + | if(enemyteaminfo[thisteam].enemy[k].name == enemyname){ enemyteaminfo[thisteam].enemy[k].number += Number(Enemy_in_team[j]["number"]); sign = 0;} |
− | dcoordinator(1, "#f4c430", 0.7, -0.09); | + | } |
− | dcoordinator(1, "#f4c430", 0.7, 8.31); | + | if(enemyteaminfo[thisteam].enemy.length == 0) enemyteaminfo[thisteam].enemy.push({name:enemyname, number:Number(Enemy_in_team[j]["number"])}); |
− | dcoordinator(1, "#f4c430", 0.7, 4.11); | + | else if(sign) enemyteaminfo[thisteam].enemy.push({name:enemyname, number:Number(Enemy_in_team[j]["number"])}); |
− | dcoordinator(1, "#f4c430", 3.1, -0.09); | + | } |
− | dcoordinator(1, "#f4c430", 3.1, 8.31); | + | } |
− | dcoordinator(1, "#f4c430", 3.1, 4.11); | + | } |
− | /*-- 嘲讽 --*/ | + | |
− | dcoordinator(1, "#3366cc", 4, 3.91); | + | function existdisplay(define_team){ |
− | dcoordinator(5, "#3366cc", 4, 3.91, "嘲讽"); | + | var output = `<table id="existancetable" class="enemydata" style="text-align:center; border:1px #f4c430cc solid; background-color:#111111; margin:4px 0px 14px 0px;" cellspacing="1"> |
− | /*-- 双生 --*/ | + | <thead style="display:block; background-color:#f4c430; color:black;"><tr> |
− | dcoordinator(1, "#3366cc", 4, 6.91); | + | <th style="width:100px;">编号<\/th> |
− | dcoordinator(1, "#3366cc", 4, 1.91); | + | <th style="width:540px;">组成<\/th> |
− | con.textAlign = "center"; | + | <th style="width:140px;">战役<\/th> |
− | dcoordinator(5, "#3366cc", 4, 6.91, "双生"); | + | <th style="width:140px;">关卡<\/th> |
− | dcoordinator(5, "#3366cc", 4, 1.91, "双生"); | + | <th style="width:100px;">效能<\/th> |
− | /*-- 柯萝伊 --*/ | + | <th style="width:100px;">点位<\/th> |
− | dcoordinator(1, "#3366cc", 4.3, 6.91); | + | <th style="width:80px;">其它<\/th> |
− | dcoordinator(1, "#3366cc", 4.3, 2.21); | + | <\/tr><\/thead><tbody id="Buildingbody" style="height:300px; overflow-y:scroll; display:block;">`; |
− | con.textAlign = "left"; | + | |
− | dcoordinator(5, "#3366cc", 4.3, 6.91, "柯萝伊"); | + | if(define_team) output += existcalculation(define_team) + `<\/tbody><\/table>`; |
− | dcoordinator(5, "#3366cc", 4.3, 2.21, "柯萝伊"); | + | else{ |
− | /*-- 射程线 --*/ | + | for(list in enemyteaminfo){ |
− | dcoordinator(4, "#4caf50", 8.76, 0); | + | let sign = 0; |
− | dcoordinator(4, "#4caf50", 9.76, 0); | + | if($("#enemyname1").html() != "NONE"){ |
− | dcoordinator(4, "#4caf50", 10.76, 0); | + | for(i in enemyteaminfo[list].enemy){ |
− | dcoordinator(4, "#4caf50", 11.76, 0); | + | if(enemyteaminfo[list].enemy[i].name == $("#enemyname1").html() && enemyteaminfo[list].enemy[i].number >= Number($("#enemynumber1").val())) {sign = 1; break;} |
− | con.textBaseline = "top"; | + | } |
− | dcoordinator(5, "#4caf50", 8.76, 10.5, "2排阵-移动"); | + | if(sign == 0) continue; |
− | dcoordinator(5, "#4caf50", 9.76, 10, "2排阵-站定"); | + | else sign = 1; |
− | dcoordinator(5, "#4caf50", 10.76, 10.5, "3排阵-移动"); | + | } |
− | dcoordinator(5, "#4caf50", 11.76, 10, "3排阵-站定"); | + | if($("#enemyname2").html() != "NONE"){ |
+ | for(i in enemyteaminfo[list].enemy){ | ||
+ | if(enemyteaminfo[list].enemy[i].name == $("#enemyname2").html() && enemyteaminfo[list].enemy[i].number >= Number($("#enemynumber2").val())) {sign = 1; break;} | ||
+ | } | ||
+ | if(sign == 0) continue; | ||
+ | else sign = 1; | ||
+ | } | ||
+ | if($("#enemyname3").html() != "NONE"){ | ||
+ | for(i in enemyteaminfo[list].enemy){ | ||
+ | if(enemyteaminfo[list].enemy[i].name == $("#enemyname3").html() && enemyteaminfo[list].enemy[i].number >= Number($("#enemynumber3").val())) {sign = 1; break;} | ||
+ | } | ||
+ | if(sign == 0) continue; | ||
+ | } | ||
+ | |||
+ | output += existcalculation(enemyteaminfo[list].id) ; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | $("#teamexistdiv").html(output + `<\/tbody><\/table>`); | ||
+ | |||
+ | $(".existanceline").mouseover(function(){ | ||
+ | $(this).children("td").css("background-color", "#f4c43033"); | ||
+ | }); | ||
+ | $(".existanceline").mouseout(function(){ | ||
+ | $(this).children("td").css("background-color", ""); | ||
+ | }); | ||
+ | $(".existanceline").click(function(){ | ||
+ | if(setmessage.sspotsign == 0) return; | ||
+ | $("#spotsign1").val(Number($($(this).children("td")[0]).html())); | ||
+ | drawmap(); | ||
+ | }); | ||
+ | } | ||
+ | |||
+ | function existcalculation(enemy_team_id){ | ||
+ | var thisput = ``; | ||
+ | for(i in Spot){ | ||
+ | if(Spot[i]["enemy_team_id"] != enemy_team_id && !(Spot[i]["ally_team_id"])) continue; | ||
+ | else if(Spot[i]["enemy_team_id"] != enemy_team_id && Spot[i]["ally_team_id"]){ | ||
+ | var ally_tar; | ||
+ | for(j in Ally_team) if(Ally_team[j].id == Number(Spot[i]["ally_team_id"])){ ally_tar = j; break;} | ||
+ | if(!(Ally_team[ally_tar]) || Ally_team[ally_tar]["enemy_team_id"] != enemy_team_id) continue; | ||
+ | } | ||
+ | |||
+ | var enemymadestr = ""; | ||
+ | for(j in enemyteaminfo) if(enemyteaminfo[j].id == enemy_team_id) for(k in enemyteaminfo[j].enemy) enemymadestr += enemyteaminfo[j].enemy[k].name + "×" + enemyteaminfo[j].enemy[k].number + " "; | ||
+ | |||
+ | var mapname = "", campaignname = ""; | ||
+ | for(j in Mission) if(Mission[j].id == Spot[i].mission_id){ | ||
+ | mapname = Mission[j].name; | ||
+ | campaignname = Mission[j].campaign; | ||
+ | } | ||
+ | |||
+ | let thisline = `<tr class="existanceline" style="border-bottom:2px #f4c43033 solid; display:block; cursor:pointer;"><td width="100px">`; | ||
+ | thisline += enemy_team_id + `<\/td><td width="540px">`; | ||
+ | thisline += enemymadestr.slice(0, enemymadestr.length - 1) + `<\/td><td width="140px">`; | ||
+ | thisline += campaignname + `<\/td><td width="140px">`; | ||
+ | thisline += mapname + `<\/td><td width="100px">`; | ||
+ | thisline += efectcal(enemy_team_id) + `<\/td><td width="100px">`; | ||
+ | thisline += Spot[i].id + `<\/td><td width="60px">`; | ||
+ | thisline += "其他" + "<\/td><\/tr>"; | ||
+ | |||
+ | thisput += thisline; | ||
+ | } | ||
+ | return thisput; | ||
+ | } | ||
+ | |||
+ | function enemydisplay(enemy_team_id){ | ||
+ | /*-- enemyselect选择被选择的option --*/ | ||
+ | $("#enemyselect").val(enemy_team_id); | ||
+ | |||
+ | /*-- canvas作图区域清空/画背景以及参考线 --*/ | ||
+ | var con = $("#enemydrawing")[0].getContext("2d"); | ||
+ | con.clearRect(0, 0, 4800, 300); | ||
+ | con.lineWidth="1"; | ||
+ | con.strokeStyle="#444444"; | ||
+ | con.fillStyle = "#111111"; | ||
+ | con.font="10px bolder Arial"; | ||
+ | con.beginPath(); | ||
+ | con.fillRect(0, 0, 4800, 300); | ||
+ | con.stroke(); | ||
+ | |||
+ | /*-- 参考线横向/纵向线条 --*/ | ||
+ | for(var i = 0; i <= 300 / 25; i++){ dcoordinator(3, "#444444", 0, i);} | ||
+ | for(var i = 0; i <= 3600/100; i++){ | ||
+ | dcoordinator(2, "#444444", i*4, 0); | ||
+ | dcoordinator(6, "#444444", i*4, -1, i*4-3);} | ||
+ | /*-- 我方位置 --*/ | ||
+ | dcoordinator(1, "#f4c430", -1.7, -0.09); | ||
+ | dcoordinator(1, "#f4c430", -1.7, 8.31); | ||
+ | dcoordinator(1, "#f4c430", -1.7, 4.11); | ||
+ | dcoordinator(1, "#f4c430", 0.7, -0.09); | ||
+ | dcoordinator(1, "#f4c430", 0.7, 8.31); | ||
+ | dcoordinator(1, "#f4c430", 0.7, 4.11); | ||
+ | dcoordinator(1, "#f4c430", 3.1, -0.09); | ||
+ | dcoordinator(1, "#f4c430", 3.1, 8.31); | ||
+ | dcoordinator(1, "#f4c430", 3.1, 4.11); | ||
+ | /*-- 嘲讽 --*/ | ||
+ | dcoordinator(1, "#3366cc", 4, 3.91); | ||
+ | dcoordinator(5, "#3366cc", 4, 3.91, "嘲讽"); | ||
+ | /*-- 双生 --*/ | ||
+ | dcoordinator(1, "#3366cc", 4, 6.91); | ||
+ | dcoordinator(1, "#3366cc", 4, 1.91); | ||
+ | con.textAlign = "center"; | ||
+ | dcoordinator(5, "#3366cc", 4, 6.91, "双生"); | ||
+ | dcoordinator(5, "#3366cc", 4, 1.91, "双生"); | ||
+ | /*-- 柯萝伊 --*/ | ||
+ | dcoordinator(1, "#3366cc", 4.3, 6.91); | ||
+ | dcoordinator(1, "#3366cc", 4.3, 2.21); | ||
+ | con.textAlign = "left"; | ||
+ | dcoordinator(5, "#3366cc", 4.3, 6.91, "柯萝伊"); | ||
+ | dcoordinator(5, "#3366cc", 4.3, 2.21, "柯萝伊"); | ||
+ | /*-- 射程线 --*/ | ||
+ | dcoordinator(4, "#4caf50", 8.76, 0); | ||
+ | dcoordinator(4, "#4caf50", 9.76, 0); | ||
+ | dcoordinator(4, "#4caf50", 10.76, 0); | ||
+ | dcoordinator(4, "#4caf50", 11.76, 0); | ||
+ | con.textBaseline = "top"; | ||
+ | dcoordinator(5, "#4caf50", 8.76, 10.5, "2排阵-移动"); | ||
+ | dcoordinator(5, "#4caf50", 9.76, 10, "2排阵-站定"); | ||
+ | dcoordinator(5, "#4caf50", 10.76, 10.5, "3排阵-移动"); | ||
+ | dcoordinator(5, "#4caf50", 11.76, 10, "3排阵-站定"); | ||
con.textBaseline = "middle"; | con.textBaseline = "middle"; | ||
con.font = "16px bolder Arial"; | con.font = "16px bolder Arial"; | ||
第1,714行: | 第1,930行: | ||
敌人 smapenemy 建筑 smapbuild 类型 smaptype 颜色 smapcolor 标号 smapspotn 逻辑 smapenemyai | 敌人 smapenemy 建筑 smapbuild 类型 smaptype 颜色 smapcolor 标号 smapspotn 逻辑 smapenemyai | ||
建筑表格 sbuildtable 传送表格 sporttable 点位标记 sspotsign 同组堆叠 senemypile --*/ | 建筑表格 sbuildtable 传送表格 sporttable 点位标记 sspotsign 同组堆叠 senemypile --*/ | ||
− | var mapsetoutput = `<div class="mapsetbtn" id="sdownload" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px;"><a style="color:#eaeaea; text-decoration:auto;">下载大图</a></div> | + | var mapsetoutput = `<div class="mapsetbtn" id="sdownload" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px;"><a style="color:#eaeaea; text-decoration:auto;">下载大图<\/a><\/div> |
− | <div class="mapsetbtn" id="sredraw" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">还原地图</div> | + | <div class="mapsetbtn" id="sredraw" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">还原地图<\/div> |
− | <div class="mapsetbtn" id="smaphide" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">隐藏地图</div> | + | <div class="mapsetbtn" id="smaphide" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">隐藏地图<\/div> |
− | <div class="mapsetbtn" id="sexample" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">显示图例</div> | + | <div class="mapsetbtn" id="sexample" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">显示图例<\/div> |
− | <span style="padding:0px 5px;"></span> | + | <span style="padding:0px 5px;"><\/span> |
− | <div class="mapsetbtn" id="smapenemy" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">敌人</div> | + | <div class="mapsetbtn" id="smapenemy" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">敌人<\/div> |
− | <div class="mapsetbtn" id="smapbuild" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑</div> | + | <div class="mapsetbtn" id="smapbuild" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑<\/div> |
− | <div class="mapsetbtn" id="smaptype" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">类型</div> | + | <div class="mapsetbtn" id="smaptype" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">类型<\/div> |
− | <div class="mapsetbtn" id="smapcolor" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">颜色</div> | + | <div class="mapsetbtn" id="smapcolor" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">颜色<\/div> |
− | <div class="mapsetbtn" id="smapspotn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">标号</div> | + | <div class="mapsetbtn" id="smapspotn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">标号<\/div> |
− | <div class="mapsetbtn" id="smapenemyai" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">逻辑</div> | + | <div class="mapsetbtn" id="smapenemyai" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">逻辑<\/div> |
− | <span style="padding:0px 5px;"></span> | + | <span style="padding:0px 5px;"><\/span> |
− | <div class="mapsetbtn" id="sbuildtable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑表格</div> | + | <div class="mapsetbtn" id="sbuildtable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">建筑表格<\/div> |
− | <div class="mapsetbtn" id="sporttable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">传送表格</div> | + | <div class="mapsetbtn" id="sporttable" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; background-color:#f4c430; color:black; cursor:pointer;">传送表格<\/div> |
− | <div class="mapsetbtn" id="sspotsign" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">点位标记</div> | + | <div class="mapsetbtn" id="sspotsign" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">点位标记<\/div> |
− | <div class="mapsetbtn" id="senemypile" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">同组堆叠</div>`; | + | <div class="mapsetbtn" id="senemypile" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">同组堆叠<\/div>`; |
$("#mapsetdiv").css({"user-select":"none", "margin":"5px 0px"}); | $("#mapsetdiv").css({"user-select":"none", "margin":"5px 0px"}); | ||
第1,755行: | 第1,971行: | ||
mapwidth = 4800; mapheight = 2700; | mapwidth = 4800; mapheight = 2700; | ||
/*-- 创建更大的新画布 --*/ | /*-- 创建更大的新画布 --*/ | ||
− | var drawingoutput = `<canvas id="downloaddrawing" width="4800px" height="2700px" style="display:none;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var drawingoutput = `<canvas id="downloaddrawing" width="4800px" height="2700px" style="display:none;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#downloaddraw").html(drawingoutput); | $("#downloaddraw").html(drawingoutput); | ||
/*-- 对新画布进行绘画 --*/ | /*-- 对新画布进行绘画 --*/ | ||
第1,850行: | 第2,066行: | ||
/*-- 绘制地图的图例 --*/ | /*-- 绘制地图的图例 --*/ | ||
function examplecreate(){ | function examplecreate(){ | ||
− | var exampleoutput = `<canvas id="exampledrawing" width="1220px" height="120px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.</canvas>`; | + | var exampleoutput = `<canvas id="exampledrawing" width="1220px" height="120px" style="border:1px #ffffff99 solid;">Your browser does not support the HTML5 canvas tag.<\/canvas>`; |
$("#mapexample").html(exampleoutput); | $("#mapexample").html(exampleoutput); | ||
$("#mapexample").css({"display":"none"}); | $("#mapexample").css({"display":"none"}); | ||
第1,976行: | 第2,192行: | ||
function spotsigncreat(){ | function spotsigncreat(){ | ||
/*-- 特殊标点 12ff00 d800ff 00ffea ccff00 --*/ | /*-- 特殊标点 12ff00 d800ff 00ffea ccff00 --*/ | ||
− | var output = `<div id="mapredraw" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">重绘</div> | + | var output = `<div id="mapredraw" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">重绘<\/div> |
− | <div id="mapclear" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">清空</div> | + | <div id="mapclear" class="mapsignbtn" style="display:inline-block; user-select:none; border:1px #eaeaea solid; padding:5px 10px; cursor:pointer;">清空<\/div> |
<input type="text" id="spotsign1" name="spotsign1" style="border:none; padding:10px; margin:3px 3px; background-color:#12ff00; color:#111111;"/> | <input type="text" id="spotsign1" name="spotsign1" style="border:none; padding:10px; margin:3px 3px; background-color:#12ff00; color:#111111;"/> | ||
<input type="text" id="spotsign2" name="spotsign2" style="border:none; padding:10px; margin:3px 3px; background-color:#d800ff; color:#111111;"/> | <input type="text" id="spotsign2" name="spotsign2" style="border:none; padding:10px; margin:3px 3px; background-color:#d800ff; color:#111111;"/> | ||
第2,010行: | 第2,226行: | ||
function firstcreat(){ | function firstcreat(){ | ||
− | var output = `<div id="loadtips" style="padding:20px; font-size:130%; display:block; border:1px solid #eaeaea; width:1180px; margin:20px 0px;">文件加载进度:0/12</div> | + | var output = `<div id="loadtips" style="padding:20px; font-size:130%; display:block; border:1px solid #eaeaea; width:1180px; margin:20px 0px;">文件加载进度:0/12<\/div> |
− | <div id="campaignchose" style="height:37px;"></div> | + | <div id="campaignchose" style="height:37px;"><\/div> |
− | <div id="mapsetdiv"></div> | + | <div id="mapsetdiv"><\/div> |
− | <div id="mapexample"></div> | + | <div id="mapexample"><\/div> |
− | <div id="missionmap" style="max-width:1220px; overflow-y:scroll; overscroll-behavior-y:contain; border:1px #ffffff99 solid;"></div> | + | <div id="missionmap" style="max-width:1220px; overflow-y:scroll; overscroll-behavior-y:contain; border:1px #ffffff99 solid;"><\/div> |
− | <div id="spotsign"></div> | + | <div id="spotsign"><\/div> |
− | <div id="teleportshow" style="max-width:1222px;"></div> | + | <div id="teleportshow" style="max-width:1222px;"><\/div> |
− | <div id="buildingshow" style="max-width:1222px;"></div> | + | <div id="buildingshow" style="max-width:1222px;"><\/div> |
− | <div id="missionshow" style="max-width:1222px;"></div> | + | <div id="missionshow" style="max-width:1222px;"><\/div> |
− | <div id="enemychose"></div> | + | <div id="enemychose"><\/div> |
− | <div id="enemyshow" style="max-width:1222px;"></div> | + | <div id="teammadediv" style="max-width:1220px; border:1px #e0e0e0 solid; padding:5px; margin:5px 0px;"><\/div> |
− | <div id="enemyposition" style="overflow-x:scroll; width:1222px;"></div> | + | <div id="teamexistdiv" style="max-width:1222px;"><\/div> |
− | <div id="otherthing"></div> | + | <div id="enemyshow" style="max-width:1222px;"><\/div> |
− | <div id="downloaddraw"></div>`; | + | <div id="enemyposition" style="overflow-x:scroll; width:1222px;"><\/div> |
+ | <div id="otherthing"><\/div> | ||
+ | <div id="downloaddraw"><\/div>`; | ||
$("#thisdiv").html(output); | $("#thisdiv").html(output); | ||
var text = `<br><br><br><div style="padding:8px 10px; width:1212px; background-color:#222; font-weight:300;"> | var text = `<br><br><br><div style="padding:8px 10px; width:1212px; background-color:#222; font-weight:300;"> | ||
− | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">使用说明:</div> | + | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">使用说明:<\/div> |
【战役选择】:战役(活动)、章节(关卡)、地图(分层)、区域(分块),当该地图存在多层时会出现“地图”和“区域”的选择框<br><br> | 【战役选择】:战役(活动)、章节(关卡)、地图(分层)、区域(分块),当该地图存在多层时会出现“地图”和“区域”的选择框<br><br> | ||
第2,035行: | 第2,253行: | ||
【隐藏地图】:将绘制地图隐藏<br> | 【隐藏地图】:将绘制地图隐藏<br> | ||
【显示图例】:展示不同种类的路径点ICON所代表的含义<br><br> | 【显示图例】:展示不同种类的路径点ICON所代表的含义<br><br> | ||
− | + | ||
【敌人】:打开时,在绘制地图内展示该路径点存在的敌人的队长名称和效能<br> | 【敌人】:打开时,在绘制地图内展示该路径点存在的敌人的队长名称和效能<br> | ||
【建筑】:打开时,在绘制地图内展示该路径点存在的建筑的名称<br> | 【建筑】:打开时,在绘制地图内展示该路径点存在的建筑的名称<br> | ||
第2,042行: | 第2,260行: | ||
【标号】:打开时,在绘制地图内展示该路径点的编号<br> | 【标号】:打开时,在绘制地图内展示该路径点的编号<br> | ||
【逻辑】:打开,且【点位标记】打开,并在敌方梯队表格点击其中一行敌人时,在绘制地图内展示敌人行动逻辑<br><br> | 【逻辑】:打开,且【点位标记】打开,并在敌方梯队表格点击其中一行敌人时,在绘制地图内展示敌人行动逻辑<br><br> | ||
− | + | ||
【建筑表格】:打开时,若地图内存在建筑,即以弹出表格的形式展示建筑的信息,点击其中一行会自动打开【点位标记】进行标记<br> | 【建筑表格】:打开时,若地图内存在建筑,即以弹出表格的形式展示建筑的信息,点击其中一行会自动打开【点位标记】进行标记<br> | ||
【传送表格】:打开时,若地图内存在自动传送点,即以弹出表格的形式展示传送点的信息,点击其中一行会自动打开【点位标记】进行标记<br> | 【传送表格】:打开时,若地图内存在自动传送点,即以弹出表格的形式展示传送点的信息,点击其中一行会自动打开【点位标记】进行标记<br> | ||
【点位标记】:打开时,常驻显示四个路径点编号的输入框。输入编号后点击【重绘】,所对应的绘制地图内路径点会变成相应的颜色,可关闭【颜色】便于寻找标记的路径点<br> | 【点位标记】:打开时,常驻显示四个路径点编号的输入框。输入编号后点击【重绘】,所对应的绘制地图内路径点会变成相应的颜色,可关闭【颜色】便于寻找标记的路径点<br> | ||
【同组堆叠】:打开时,取消显示敌方梯队的站位信息,将同组的敌方梯队进行合并,同时显示所存在的数量<br><br> | 【同组堆叠】:打开时,取消显示敌方梯队的站位信息,将同组的敌方梯队进行合并,同时显示所存在的数量<br><br> | ||
− | + | ||
【敌方梯队】:当【点位标记】打开时,可在敌方梯队表格点击一行进行标记;当敌人的行动逻辑为“巡逻”或“警戒”且【逻辑】打开时,在绘制地图内展示敌人行动逻辑<br> | 【敌方梯队】:当【点位标记】打开时,可在敌方梯队表格点击一行进行标记;当敌人的行动逻辑为“巡逻”或“警戒”且【逻辑】打开时,在绘制地图内展示敌人行动逻辑<br> | ||
− | 【敌人选择】:除在敌方梯队表格选中梯队外,也可在此处选择想要查看的梯队,或者在输入框输入对应的编号<br></div> | + | 【敌人选择】:除在敌方梯队表格选中梯队外,也可在此处选择想要查看的梯队,或者在输入框输入对应的编号<br><br> |
+ | |||
+ | 【存在地点】:首次使用需要加载一分钟左右,打开时,在【敌人选择】中更改敌人梯队编号会在下方的表格内展示存在该编号敌人的关卡<br> | ||
+ | 【组成查询】:打开时,且【存在地点】打开,选择敌人组成并点击【查询】,加载一段时间后,将在下方的表格内展示存在该组成的敌人及其所属关卡<br><\/div> | ||
<div style="padding:8px 10px; margin:10px 0px; width:1212px; background-color:#222; font-weight:300;"> | <div style="padding:8px 10px; margin:10px 0px; width:1212px; background-color:#222; font-weight:300;"> | ||
− | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">制作参考:</div> | + | <div style="margin:5px; font-size:120%; font-weight:800; position:relative; left:-8px;">制作参考:<\/div> |
− | 1 . 杯具终产物,<a class="external text" style="color:#eaeaea;" href="https://bbs.nga.cn/read.php?tid=14769876">铁血生态观察手记 V1.0</a>,2018年08月16日更新。<br> | + | 1 . 杯具终产物,<a class="external text" style="color:#eaeaea;" href="https://bbs.nga.cn/read.php?tid=14769876">铁血生态观察手记 V1.0<\/a>,2018年08月16日更新。<br> |
− | 2 . CCX_CX_D,<a class="external text" style="color:#eaeaea;" href="https://gf.hometehomete.com/zh/maps/">少女前线数据网站</a>,2020年02月27日更新。<br> | + | 2 . CCX_CX_D,<a class="external text" style="color:#eaeaea;" href="https://gf.hometehomete.com/zh/maps/">少女前线数据网站<\/a>,2020年02月27日更新。<br> |
− | 3 . pohcy,<a class="external text" style="color:#eaeaea;" href="https://ngabbs.com/read.php?tid=19587014">改良版战场模型</a>,2019年12月10日更新。<br></div>`; | + | 3 . pohcy,<a class="external text" style="color:#eaeaea;" href="https://ngabbs.com/read.php?tid=19587014">改良版战场模型<\/a>,2019年12月10日更新。<br><\/div>`; |
$("#otherthing").html(text); | $("#otherthing").html(text); | ||
} | } | ||
})</script></includeonly> | })</script></includeonly> |