|
@@ -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 无法卸下,只能更换
|