°深冬蝶魂ミ 发表于 2016-1-3 23:39:05

d;︷`低调ノ 发表于 2016-1-3 23:27
.太麻烦了

我是一个15门队长,我不是5开。如果我把队长给了别人,别人却飞不了,包袱还满了买不了香,那会更麻烦的。
我不知道你们15门都杀多少,我们队PT PT DF DT MW,每次15门65-73个。

°深冬蝶魂ミ 发表于 2016-1-3 23:41:01

牛牛响当当 发表于 2016-1-3 23:30
五开用这么麻烦吗

。。并不是所有人都是5开。

麦子哥哥 发表于 2016-1-3 23:41:26

6666666666666666666666)

铁蚕豆 发表于 2016-1-3 23:42:13

狮驼小生 发表于 2016-1-3 23:42:28

小手一抖,积分到手,二话不说,转身就走

°深冬蝶魂ミ 发表于 2016-1-3 23:47:29

彩小果° 发表于 2016-1-4 00:21:28

<!DOCTYPE html>
<html>
<meta name="content-type" content="text/html" charset="UTF-8">
<head>
<title>梦幻西游门派闯关月光时间计算器</title>
<!--计算门派闯关每个队友的月光使用情况-->
<script type="text/javascript">
var dy1;
var dy2;
var dy3;
var dy4;
var dy5;

var dd1;
var dd2;
var dd3;
var dd4;
var dd5;

var yg1;
var yg2;
var yg3;
var yg4;
var yg5;

var last1;
var last2;
var last3;
var last4;
var last5;

var next1;
var next2;
var next3;
var next4;
var next5;

var syls;

function sz(){
dy1 = document.getElementById("dy1").value;
dd1 = document.getElementById("dd1").value;
yg1 = document.getElementById("yg1").value;

dy2 = document.getElementById("dy2").value;
dd2 = document.getElementById("dd2").value;
yg2 = document.getElementById("yg2").value;

dy3 = document.getElementById("dy3").value;
dd3 = document.getElementById("dd3").value;
yg3 = document.getElementById("yg3").value;

dy4 = document.getElementById("dy4").value;
dd4 = document.getElementById("dd4").value;
yg4 = document.getElementById("yg4").value;

dy5 = document.getElementById("dy5").value;
dd5 = document.getElementById("dd5").value;
yg5 = document.getElementById("yg5").value;
}

function cz(){
document.getElementById("dy1").value = "";
document.getElementById("dd1").value = "";
document.getElementById("yg1").value = "";
document.getElementById("last1").value = "";
document.getElementById("next1").value = "";
document.getElementById("dy2").value = "";
document.getElementById("dd2").value = "";
document.getElementById("yg2").value = "";
document.getElementById("last2").value = "";
document.getElementById("next2").value = "";
document.getElementById("dy3").value = "";
document.getElementById("dd3").value = "";
document.getElementById("yg3").value = "";
document.getElementById("last3").value = "";
document.getElementById("next3").value = "";
document.getElementById("dy4").value = "";
document.getElementById("dd4").value = "";
document.getElementById("yg4").value = "";
document.getElementById("last4").value = "";
document.getElementById("next4").value = "";
document.getElementById("dy5").value = "";
document.getElementById("dd5").value = "";
document.getElementById("yg5").value = "";
document.getElementById("last5").value = "";
document.getElementById("next5").value = "";
document.getElementById("syls").value = "";
dy1 = 0;
dd1 = 0;
yg1 = 0;

dy2 = 0;
dd2 = 0;
yg2 = 0;

dy3 = 0;
dd3 = 0;
yg3 = 0;

dy4 = 0;
dd4 = 0;
yg4 = 0;

dy5 = 0;
dd5 = 0;
yg5 = 0;
}

function syyg1(){
      var today = new Date();
      var time = today.toLocaleTimeString();
      document.getElementById("syls").value +="[" + time +"]" + "["+dy1+"]" + "使用了月光\r\n";      

      last1 = document.getElementById("last1").value;
      document.getElementById("last1").value = time;
      
      today.setMinutes(today.getMinutes() + (60-2*yg1));
      document.getElementById("next1").value = today.toLocaleTimeString();
      document.getElementById("syls").scrollTop=document.getElementById("syls").scrollHeight;
}

function syyg2(){
      var today = new Date();
      var time = today.toLocaleTimeString();
      document.getElementById("syls").value +="[" + time +"]" + "["+dy2+"]" + "使用了月光\r\n";      

      last1 = document.getElementById("last2").value;
      document.getElementById("last2").value = time;
      
      today.setMinutes(today.getMinutes() + (60-2*yg2));
      document.getElementById("next2").value = today.toLocaleTimeString();
      document.getElementById("syls").scrollTop=document.getElementById("syls").scrollHeight;
}

function syyg3(){
      var today = new Date();
      var time = today.toLocaleTimeString();
      document.getElementById("syls").value +="[" + time +"]" + "["+dy3+"]" + "使用了月光\r\n";      

      last1 = document.getElementById("last3").value;
      document.getElementById("last3").value = time;
      
      today.setMinutes(today.getMinutes() + (60-2*yg3));
      document.getElementById("next3").value = today.toLocaleTimeString();
      document.getElementById("syls").scrollTop=document.getElementById("syls").scrollHeight;
}

function syyg4(){
      var today = new Date();
      var time = today.toLocaleTimeString();
      document.getElementById("syls").value +="[" + time +"]" + "["+dy4+"]" + "使用了月光\r\n";      

      last1 = document.getElementById("last4").value;
      document.getElementById("last4").value = time;
      
      today.setMinutes(today.getMinutes() + (60-2*yg4));
      document.getElementById("next4").value = today.toLocaleTimeString();
      document.getElementById("syls").scrollTop=document.getElementById("syls").scrollHeight;
}
function syyg5(){
      var today = new Date();
      var time = today.toLocaleTimeString();
      document.getElementById("syls").value +="[" + time +"]" + "["+dy5+"]" + "使用了月光\r\n";      

      last1 = document.getElementById("last5").value;
      document.getElementById("last5").value = time;
      
      today.setMinutes(today.getMinutes() + (60-2*yg5));
      document.getElementById("next5").value = today.toLocaleTimeString();
      document.getElementById("syls").scrollTop=document.getElementById("syls").scrollHeight;
}
</script>
</head>
<body>
<table align="center">
<tr>
      <td>参数点击设置后生效</td>
<tr>
<td><input type="submit" value="设置" onclick="sz()"/></td>
<td><input type="submit" value="重置" onclick="cz()"/></td>
</tr>
<tr>
<td>队友</td>
<td>月光地点</td>
<td>月光层数</td>
<td></td>
<td>上次使用时间</td>
<td>下次可使用时间</td>
</tr>
<tr>
<td><input type="text" id="dy1" /></td>
<td><input type="text" id="dd1" /></td>
<td><input type="text" id="yg1" /></td>
<td><input type="submit" value="使用月光" onclick="syyg1()"/></td>
<td><input type="text" disabled="disabled" id="last1" /></td>
<td><input type="text" disabled="disabled" id="next1" /></td>
</tr>
<tr>
<td><input type="text" id="dy2" /></td>
<td><input type="text" id="dd2" /></td>
<td><input type="text" id="yg2" /></td>
<td><input type="submit" value="使用月光" onclick="syyg2()"/></td>
<td><input type="text" disabled="disabled" id="last2" /></td>
<td><input type="text" disabled="disabled" id="next2" /></td>
</tr>
<tr>
<td><input type="text" id="dy3" /></td>
<td><input type="text" id="dd3" /></td>
<td><input type="text" id="yg3" /></td>
<td><input type="submit" value="使用月光" onclick="syyg3()"/></td>
<td><input type="text" disabled="disabled" id="last3" /></td>
<td><input type="text" disabled="disabled" id="next3" /></td>
</tr>
<tr>
<td><input type="text" id="dy4" /></td>
<td><input type="text" id="dd4" /></td>
<td><input type="text" id="yg4" /></td>
<td><input type="submit" value="使用月光" onclick="syyg4()"/></td>
<td><input type="text" disabled="disabled" id="last4" /></td>
<td><input type="text" disabled="disabled" id="next4" /></td>
</tr>
<tr>
<td><input type="text" id="dy5" /></td>
<td><input type="text" id="dd5" /></td>
<td><input type="text" id="yg5" /></td>
<td><input type="submit" value="使用月光" onclick="syyg5()"/></td>
<td><input type="text" disabled="disabled" id="last5" /></td>
<td><input type="text" disabled="disabled" id="next5" /></td>
</tr>

<tr>
<td>使用历史:</td>
</tr>

<tr>
<td colspan="6">
<textareastyle="overflow:scroll; overflow-x:hidden; height:100px; width:860px"id="syls" ></textarea>
</td>

</tr>

</table>
</body>
</html>

彩小果° 发表于 2016-1-4 00:24:10

超级实用!#47

°深冬蝶魂ミ 发表于 2016-1-4 00:29:13

彩小果° 发表于 2016-1-4 00:24
超级实用!

#47终于有觉得有用的啦

小编orz 发表于 2016-1-4 00:38:03

同意!.........444444444

苏歆悦 发表于 2016-1-4 09:09:45

好帖!收藏了!

起落叶脉 发表于 2016-1-4 09:13:56

小手一抖,积分到手,二话不说,转身就走

虫虫° 发表于 2016-1-4 12:23:19

精彩文章要顶#18对追求效率的队长来说很方便呀。#81

U红豆U 发表于 2016-1-4 12:44:53

哈哈,虽然代码实现不难。但是创意很不错呢

go小虎子 发表于 2016-1-4 12:53:15

看看。。。。。
页: 1 [2] 3 4 5 6 7 8 9 10
查看完整版本: 【小工具】月光时间计算器-门派闯关队长看这里(工具在2L)