配套脚本

[@开始转移]
#if
not checkboxitemcount 1
#act
messagebox 请在第一个框框中放入项链
break #if not checkboxitemcount 2
#act
messagebox 请在第二个框框中放入项链
break

#if
#act
setupgradeitem 2

#if
large <$boxitem[1].value1> 0 
;checknewitemvalue 3 0 < 11
#act
setnewitemvalue -1 0 = <$boxitem[1].value1>
changeitemaddvalue -1 1 = 3

#if
large <$boxitem[1].value2> 0 
#act
setnewitemvalue -1 1 = <$boxitem[1].value2>
changeitemaddvalue -1 1 = 3

#if
large <$boxitem[1].value3> 0 
#act
setnewitemvalue -1 2 = <$boxitem[1].value3>
changeitemaddvalue -1 1 = 3

#if
large <$boxitem[1].value4> 0 
#act
setnewitemvalue -1 3 = <$boxitem[1].value4>
changeitemaddvalue -1 1 = 3

#if
large <$boxitem[1].value5> 0 
#act
setnewitemvalue -1 4 = <$boxitem[1].value5>
changeitemaddvalue -1 1 = 3

#if
large <$boxitem[1].value6> 0 
#act
setnewitemvalue -1 5 = <$boxitem[1].value6>
changeitemaddvalue -1 1 = 3


#if
large <$boxitem[1].value7> 0 
#act
setnewitemvalue -1 6 = <$boxitem[1].value7>
changeitemaddvalue -1 1 = playmp3

;刷新到客户端
#or
large <$boxitem[1].value1> 0 
large <$boxitem[2].value1> 0 
large <$boxitem[3].value1> 0 
large <$boxitem[4].value1> 0 
large <$boxitem[5].value1> 0 
large <$boxitem[6].value1> 0 
large <$boxitem[7].value1> 0 
#act
updateboxitem 2
goto @清除原始项链属性
sendmsg 6 项链属性转移成功
break


[@清除原始项链属性]
#if
#act
setupgradeitem 1

#if
#act
changeitemaddvalue -1 1 = 0
setnewitemvalue -1 0 = 0
setnewitemvalue -1 1 = 0
setnewitemvalue -1 2 = 0
setnewitemvalue -1 3 = 0
setnewitemvalue -1 4 = 0
setnewitemvalue -1 5 = 0
setnewitemvalue -1 6 = 0

#if
#act
updateboxitem 1
sendmsg 6 原始项链属性清除成功
break

评论提问