◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

“Widget:EnemyInfo/js”的版本间的差异

来自少前百科GFwiki
跳转至: 导航搜索
(测试)
第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.slice(`{"enemy_standard_attribute_info":`.length, this.responseText.length - 1));  
+
     Enemy_standard_attribute = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第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.slice(`{"theater_area_info":`.length, this.responseText.length - 1));  
+
     Theater_area = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第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.slice(`{"enemy_character_type_info":`.length, this.responseText.length - 1));  
+
     Enemy_charater_type = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第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.slice(`{"team_ai_info":`.length, this.responseText.length - 1));  
+
     Team_ai = JSON.parse(this.responseText);  
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};
第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.slice(`{"mission_targettrain_enemy_info":`.length, this.responseText.length - 1));  
+
     Mission_targettrain_enemy = JSON.parse(this.responseText);
 
     loadstate ++; }
 
     loadstate ++; }
 
};
 
};

2021年7月1日 (四) 09:18的版本