Commit fd2b5e51dcbd7ff7cdd734d0506d4915ac63a7b5
1 parent
37bb4611
拾荒引导拾取探险点后服务器设置当前引导步骤,而不是客户端指定
Showing
1 changed file
with
4 additions
and
0 deletions
 
Show diff stats
src/adv/Adv.lua
| @@ -899,6 +899,10 @@ function Adv:award(gift, params) | @@ -899,6 +899,10 @@ function Adv:award(gift, params) | ||
| 899 | items = items:setv(itemId, nums) | 899 | items = items:setv(itemId, nums) | 
| 900 | end | 900 | end | 
| 901 | 901 | ||
| 902 | + if itemId == 16 and not self.owner:checkOverGuide(51,4) then | ||
| 903 | + self.owner:saveGuide(51,4) | ||
| 904 | + end | ||
| 905 | + | ||
| 902 | -- if params.log then | 906 | -- if params.log then | 
| 903 | -- local log = clone(params.log) | 907 | -- local log = clone(params.log) | 
| 904 | -- if log["cint1"] or log["cint2"] or log["cint3"] or log["long1"] then | 908 | -- if log["cint1"] or log["cint2"] or log["cint3"] or log["long1"] then |