This commit is contained in:
aozhiwei 2022-05-09 14:55:49 +08:00
parent 3a774c7c13
commit 0155ce2910

View File

@ -313,6 +313,7 @@ class BattleDataService extends BaseService {
private function decCost($heroDb)
{
return true;
$costTili = mt\Parameter::getVal('cost_fatigue', 0);
if ($heroDb['hero_tili'] < $costTili) {
return false;