修复自定义复制带hold信息会错误
This commit is contained in:
@@ -66,7 +66,7 @@ end
|
|||||||
function copyQuestArgs()
|
function copyQuestArgs()
|
||||||
local ENV=CUSTOMENV
|
local ENV=CUSTOMENV
|
||||||
local str=""..
|
local str=""..
|
||||||
(ENV.hold>0 and"H"or"Z")..
|
ENV.holdCount..
|
||||||
(ENV.ospin and"O"or"Z")..
|
(ENV.ospin and"O"or"Z")..
|
||||||
(ENV.missionKill and"M"or"Z")..
|
(ENV.missionKill and"M"or"Z")..
|
||||||
ENV.sequence
|
ENV.sequence
|
||||||
@@ -74,7 +74,7 @@ function copyQuestArgs()
|
|||||||
end
|
end
|
||||||
function pasteQuestArgs(str)
|
function pasteQuestArgs(str)
|
||||||
local ENV=CUSTOMENV
|
local ENV=CUSTOMENV
|
||||||
ENV.holdCount= byte(str,1)~=90 and 1 or 0
|
ENV.holdCount= byte(str,1)-48
|
||||||
ENV.ospin= byte(str,2)~=90
|
ENV.ospin= byte(str,2)~=90
|
||||||
ENV.missionKill= byte(str,3)~=90
|
ENV.missionKill= byte(str,3)~=90
|
||||||
ENV.sequence= sub(str,4)
|
ENV.sequence= sub(str,4)
|
||||||
|
|||||||
Reference in New Issue
Block a user