|
@@ -701,10 +701,12 @@ class PetProc {
|
|
my_Assert(ctx()->store(true)->petUid_fight_position != $pUid, ErrCode::user_store_NotSelectPet_fight);
|
|
my_Assert(ctx()->store(true)->petUid_fight_position != $pUid, ErrCode::user_store_NotSelectPet_fight);
|
|
$supportDic = ctx()->store(true)->petUids_supportFight_position;
|
|
$supportDic = ctx()->store(true)->petUids_supportFight_position;
|
|
if(StlUtil::dictHasProperty($supportDic, 1)){
|
|
if(StlUtil::dictHasProperty($supportDic, 1)){
|
|
- my_Assert($pUid != $supportDic[1], ErrCode::user_store_NotSelectPet_supportfight);
|
|
|
|
|
|
+ $k1 = 1;
|
|
|
|
+ my_Assert($pUid != $supportDic->$k1, ErrCode::user_store_NotSelectPet_supportfight);
|
|
}
|
|
}
|
|
if(StlUtil::dictHasProperty($supportDic, 2)){
|
|
if(StlUtil::dictHasProperty($supportDic, 2)){
|
|
- my_Assert($pUid != $supportDic[2], ErrCode::user_store_NotSelectPet_supportfight);
|
|
|
|
|
|
+ $k2 = 2;
|
|
|
|
+ my_Assert($pUid != $supportDic->$k2, ErrCode::user_store_NotSelectPet_supportfight);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|