1
This commit is contained in:
parent
46313d131d
commit
c233205333
@ -424,10 +424,11 @@ class Hero extends BaseModel {
|
||||
return true;
|
||||
}
|
||||
$locking = false;
|
||||
$heroUniId = $heroDto['idx'];
|
||||
{
|
||||
$idx = 0;
|
||||
for ($i = 0; $i < kMaxHeroUpQualityNum; ++$i) {
|
||||
$upHeroUniId = $this->_getV(TN_HERO_QUALITY_UP, $i);
|
||||
$upHeroUniId = myself()->_getV(TN_HERO_QUALITY_UP, $i);
|
||||
if ($upHeroUniId == $heroUniId) {
|
||||
$idx = $i;
|
||||
$locking = true;
|
||||
@ -438,7 +439,7 @@ class Hero extends BaseModel {
|
||||
if (!$locking) {
|
||||
$idx = 0;
|
||||
for ($i = 0; $i < kMaxHeroUpLevelNum; ++$i) {
|
||||
$upHeroUniId = $this->_getV(TN_HERO_LEVEL_UP, $i);
|
||||
$upHeroUniId = myself()->_getV(TN_HERO_LEVEL_UP, $i);
|
||||
if ($upHeroUniId == $heroUniId) {
|
||||
$idx = $i;
|
||||
$locking = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user