新增玩家方法setNext和setInvisible并应用
This commit is contained in:
@@ -1566,6 +1566,17 @@ function player.setHold(P,ifhold)
|
||||
P.hd=nil
|
||||
end
|
||||
end
|
||||
function player.setNext(P,next)
|
||||
P.gameEnv.next=next
|
||||
end
|
||||
function player.setInvisible(P,time)
|
||||
if time<0 then
|
||||
P.keepVisible=true
|
||||
else
|
||||
P.keepVisible=false
|
||||
P.showTime=time
|
||||
end
|
||||
end
|
||||
|
||||
function player.newTask(P,code,data)
|
||||
local L=P.tasks
|
||||
|
||||
Reference in New Issue
Block a user