Commit 08bfcb885d5c631bf49fe5a5ccf2d2bda60fa33c

Authored by zhouhaihai
1 parent a4e66eda

策划要求删掉

Showing 1 changed file with 4 additions and 4 deletions   Show diff stats
src/actions/DinerAction.lua
@@ -376,10 +376,10 @@ function _M.talentUpRpc( agent, data ) @@ -376,10 +376,10 @@ function _M.talentUpRpc( agent, data )
376 376
377 role:costItems(cost) 377 role:costItems(cost)
378 role.dinerData:updateProperty({field = "dishTree", value = dishTree:setv(dish, dishLevel + 1)}) 378 role.dinerData:updateProperty({field = "dishTree", value = dishTree:setv(dish, dishLevel + 1)})
379 - local treePoint = talentData.tree_point:toNumMap()  
380 - if next(treePoint) then  
381 - role:award(treePoint)  
382 - end 379 + -- local treePoint = talentData.tree_point:toNumMap()
  380 + -- if next(treePoint) then
  381 + -- role:award(treePoint)
  382 + -- end
383 383
384 role:checkTaskEnter("DinerTalentUp", {type = talentData.effect:toArray(true,"=")[1]}) 384 role:checkTaskEnter("DinerTalentUp", {type = talentData.effect:toArray(true,"=")[1]})
385 385