1
This commit is contained in:
parent
4fbe972560
commit
6c61a74932
@ -54,6 +54,9 @@ class HangController{
|
|||||||
}
|
}
|
||||||
$item_id = 1;
|
$item_id = 1;
|
||||||
$num = time() - $row['hang_time'];
|
$num = time() - $row['hang_time'];
|
||||||
|
if ($num >= 4 * 3600) {
|
||||||
|
$num = 4 * 3600;
|
||||||
|
}
|
||||||
if ($weight != 0) {
|
if ($weight != 0) {
|
||||||
$num = $num * 3;
|
$num = $num * 3;
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ class RoleController{
|
|||||||
$alive_time_his = $alive_time;
|
$alive_time_his = $alive_time;
|
||||||
$add_HP_his = $add_HP;
|
$add_HP_his = $add_HP;
|
||||||
$coin_num = $_REQUEST['coin_num']; //金币
|
$coin_num = $_REQUEST['coin_num']; //金币
|
||||||
$integral = $_REQUEST['integral']; //积分
|
$integral = $_REQUEST['score']; //积分
|
||||||
if (!$conn) {
|
if (!$conn) {
|
||||||
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
phpcommon\sendError(ERR_USER_BASE + 1, '没有这个玩家');
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user