1
This commit is contained in:
parent
c233205333
commit
103a201ebe
@ -424,7 +424,7 @@ class Hero extends BaseModel {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
$locking = false;
|
$locking = false;
|
||||||
$heroUniId = $heroDto['idx'];
|
$heroUniId = empty($heroDto['hero_uniid']) ? $heroDto['hero_uniid'] : $heroDto['idx'];
|
||||||
{
|
{
|
||||||
$idx = 0;
|
$idx = 0;
|
||||||
for ($i = 0; $i < kMaxHeroUpQualityNum; ++$i) {
|
for ($i = 0; $i < kMaxHeroUpQualityNum; ++$i) {
|
||||||
|
@ -47,6 +47,9 @@ class BattleDataService extends BaseService {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$heroDb = Hero::toDto($row);
|
$heroDb = Hero::toDto($row);
|
||||||
|
if (Hero::heroIsLocking($heroDb)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
error_log(json_encode($_REQUEST));
|
error_log(json_encode($_REQUEST));
|
||||||
error_log('updateBattleData1');
|
error_log('updateBattleData1');
|
||||||
/*if (!$this->decCost($heroDb)) {
|
/*if (!$this->decCost($heroDb)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user