浏览代码

宝石合成bug修复

cyzhao 1 年之前
父节点
当前提交
5f414cfb42
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Gameserver/App/process/StoreProc.php

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

@@ -268,11 +268,12 @@ class StoreProc {
         //做校验
         $composeArr = array();
         
-        $gemIds = substr($gemIds, 0, -1);
+        //$gemIds = substr($gemIds, 0, -1);
         $list = explode(';', $gemIds);
         krsort($list);             
         
         foreach ($list as $str) {
+            $str = substr($str, 0, -1);           
             $gemUidList = explode(',', $str);                      
             $firstGemUId = $gemUidList[0];
             $qual = 0;