Commit 32e0ab69 authored by Nemo Ma's avatar Nemo Ma

Add 鱼眼凸

Note to myself, the original fish item is a reference from HXH...
parent 6e807b57
......@@ -16,6 +16,7 @@ $jokeonothers = <<<EOT
[D3],🎲,1,1,,
[D6],🎲,1,1,,
✦【自律AI呼唤器】,Y,1,1,,
鱼眼凸,Y,1,1,,
EOT;
$superjoke = <<<EOT
......
......@@ -49,6 +49,7 @@ $tps_name = Array
# 特殊道具
'武器师安雅的奖赏' => Array('title'=>"强化手中武器的效果值、耐久值,或者将类型转变为你更擅长的系别"),
'凸眼鱼' => Array('title'=>"使用后可以销毁整个战场现有的尸体"),
'鱼眼凸' => Array('title'=>"使用后可以将整个战场的尸体吸到你的位置,但后果自负!"),
'杏仁豆腐的ID卡' => Array('title'=>"连斗后使用可以让全场NPC消失并进入『死斗阶段』"),
'水果刀' => Array('title'=>"可以切水果。如果不会用可能会切到自己"),
'探测器电池' => Array('title'=>"使用后可以为探测仪器供电"),
......
......@@ -2377,7 +2377,16 @@ function itemuse($itmn,&$data=NULL) {
addnews ( $now, 'corpseclear', $name, $cnum ,$nick);
$log .= "使用了<span class=\"yellow\">$itm</span>。<br>突然刮起了一阵怪风,吹走了地上的{$cnum}具尸体!<br>";
$itms --; $isk = $cnum;
} elseif ($itm == '鱼眼凸') {
//global $db, $tablepre, $name,$now,$corpseprotect;
$tm = $now - $corpseprotect;//尸体保护
$db->query ( "UPDATE {$tablepre}players SET pls='$pls' WHERE hp <= 0 AND endtime <= $tm" );
$cnum = $db->affected_rows ();
addnews ( $now, 'corpsegather', $name, $cnum ,$nick);
$log .= "使用了<span class=\"yellow\">$itm</span>。<br>突然刮起了一阵怪风,将遍布全场的{$cnum}具尸体吹到了你所在的地方!<br>";
$rp += diceroll(1024);
$log .= "<span class=\"lime\">这过于惨无人道了!</span><br>你觉得罪恶感爬上了你的脊梁!<br>";
$itms --; $isk = $cnum;
} elseif ($itm == '天候棒') {
//global $weather, $wthinfo, $name;
if($weather <= 13)
......
......@@ -257,6 +257,8 @@ function nparse_news($start = 0, $range = 0 ){//$type = '') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"yellow\">{$a}使用了{$b},启动了死斗程序!</span><br>\n";
} elseif($news == 'corpseclear') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"lime\">{$a}使用了凸眼鱼,{$b}具尸体被吸走了!</span><br>\n";
} elseif($news == 'corpsegather') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"lime\">{$a}使用了鱼眼凸,将{$b}具尸体吸到了自己的位置!</span><br>\n";
} elseif($news == 'wthchange') {
$newsinfo .= "<li>{$hour}{$min}{$sec}秒,<span class=\"lime\">{$a}使用了{$c},天气变成了{$wthinfo[$b]}!</span><br>\n";
} elseif($news == 'wthfail') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment