浏览代码

fixed: 装备言灵的检查条件.

gwang 4 年之前
父节点
当前提交
55b58a6a16
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      Gameserver/Amfphp/process/StoreProc.php

+ 4 - 3
Gameserver/Amfphp/process/StoreProc.php

@@ -501,7 +501,7 @@ class StoreProc {
     }
 
     /**
-     * [6417] 给英雄装上言灵
+     * [6416] 给英雄装上言灵
      * @param req $req
      * @return type
      */
@@ -535,7 +535,8 @@ class StoreProc {
             $user->store->yanling->$oldYLid->herouid = 0;                       # 清理旧言灵的
         }
         $collectHeros->$herouid->yanling->$itemtype->itemuid = $yanling_uid;    # 英雄身上添加言灵记录
-        TaskProc::OnHeroWearWeapon($collectHeros->$herouid->typeId, $user->store->yanling->$yanling_uid->typeId);
+//        var_dump("装备言灵.");
+        TaskProc::OnHeroWearYanling($collectHeros->$herouid->typeId, $user->store->yanling->$yanling_uid->typeId);
         UserProc::updateUserInfo();                                             # 5.回写数据
         $ret = array('resp' => "succeed!");
         $resp = Resp::ok($ret);                                                 // 返回 
@@ -544,7 +545,7 @@ class StoreProc {
     }
 
     /**
-     * [6416] 给英雄卸下言灵
+     * [6417] 给英雄卸下言灵
      * @param req $req
      * @return type
      * @deprecated since version 无法卸下,只能更换