cyzhao hai 1 ano
pai
achega
ad1229605e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Gameserver/App/process/StoreProc.php

+ 1 - 1
Gameserver/App/process/StoreProc.php

@@ -394,7 +394,7 @@ class StoreProc {
                 //满不满都高替低品阶
                 my_Assert(StlUtil::dictHasProperty($dic, $replaceUId), ErrCode::user_store_NoExistGemReplace);
                 $replace_ins_Gem = new Ins_Gem($dic->$replaceUId); //这个uid是5个坑位的index id
-                my_Assert($replace_ins_Gem->mo()->qual > $ins_gem->mo()->qual, ErrCode::user_store_NoExistGemReplace);
+                my_Assert($replace_ins_Gem->mo()->qual < $ins_gem->mo()->qual, ErrCode::user_store_NoExistGemReplace);
                 $id = $replace_ins_Gem->uid;
                 $user->store->gemStore->$id = $replace_ins_Gem;
                 $dic->$replaceUId = $ins_gem;