1
This commit is contained in:
parent
565a1f390d
commit
5b019ce741
@ -1889,3 +1889,20 @@ CREATE TABLE `t_server_task_battle_count` (
|
|||||||
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||||
PRIMARY KEY (`idx`)
|
PRIMARY KEY (`idx`)
|
||||||
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS `t_server_task_battle_count`;
|
||||||
|
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||||
|
/*!40101 SET character_set_client = utf8 */;
|
||||||
|
CREATE TABLE `t_server_task_battle_count` (
|
||||||
|
`idx` bigint NOT NULL AUTO_INCREMENT COMMENT '自增id',
|
||||||
|
`account_id` varchar(60) CHARACTER SET utf8 NOT NULL COMMENT 'account_id',
|
||||||
|
`period` int(11) NOT NULL DEFAULT '0' COMMENT '周期',
|
||||||
|
`loot_index` int(11) NOT NULL DEFAULT '0' COMMENT '掉落包索引',
|
||||||
|
`state` int(11) NOT NULL DEFAULT '0' COMMENT '1:总计数 2:循环计数',
|
||||||
|
`val` bigint(20) NOT NULL DEFAULT '0' COMMENT 'val',
|
||||||
|
`createtime` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
|
||||||
|
`modifytime` int(11) NOT NULL DEFAULT '0' COMMENT '修改时间',
|
||||||
|
PRIMARY KEY (`idx`)
|
||||||
|
) ENGINE=InnoDB AUTO_INCREMENT=10000 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
|
||||||
|
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||||
|
@ -443,13 +443,10 @@ class OutAppNftController extends BaseController {
|
|||||||
private function getRealHeroQuality($heroDb)
|
private function getRealHeroQuality($heroDb)
|
||||||
{
|
{
|
||||||
$quality = $heroDb['quality'];;
|
$quality = $heroDb['quality'];;
|
||||||
if ($heroDb['createtime'] <= 1719985966) {
|
|
||||||
} else {
|
|
||||||
$quality = $quality - 1;
|
$quality = $quality - 1;
|
||||||
if ($quality <= 0) {
|
if ($quality <= 0) {
|
||||||
$quality = 1;
|
$quality = 1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return $quality;
|
return $quality;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user