[@装备回收转区点实现]
{
#if
#act
MOV N$循环变量 1
MOV N$循环结束 4
goto @按钮初始化
goto @回收转区点循环
mov S$火龙剑甲按钮 <Button|x=21|y=5|width=99|height=35|color=100|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=火龙剑甲|link=@装备回收转区点实现>
goto @转区NPC面板刷新
[@转区NPC面板刷新]
#OR
equal <$CLIENTFLAG> 1
equal <$CLIENTFLAG> 2
#say
<Img|show=4|x=1|y=-40|bg=1|move=1|img=custom/chaojihuishou/bg_01.png|reset=0>
<Layout|x=547|y=-57|width=80|height=80|link=@exit>
<Button|x=547|y=-39|nimg=public/1900000510.png|pimg=public/1900000511.png|link=@exit>
<Text|x=37|y=-30|color=100|size=18|outline=2|outlinecolor=0|text=超级回收>
<Img|height=341|x=122|y=4|img=custom/chaojihuishou/title1.png>
<Img|width=402|x=125|y=35|img=custom/chaojihuishou/title2.png>
<$STR(S$火龙剑甲按钮)>
<$STR(S$无双剑甲按钮)>
<$STR(S$圣龙首饰按钮)>
<$STR(S$圣龙四格按钮)>
<$STR(S$圣龙剑甲按钮)>
<$STR(S$龙语首饰按钮)>
<$STR(S$龙语四格按钮)>
<$STR(S$龙语剑甲按钮)>
<$STR(S$等级回收按钮)>
<Text|x=150|y=10|color=100|size=14|outline=2|outlinecolor=0|text=装备名称>
<Img|height=32|x=232|y=4|img=custom/chaojihuishou/title3.png>
<Text|x=290|y=10|color=100|size=14|outline=2|outlinecolor=0|text=回收转区点>
<Img|height=32|x=402|y=4|img=custom/chaojihuishou/title3.png>
<Text|x=440|y=10|color=100|size=14|outline=2|outlinecolor=0|text=回收操作>
<ListView|children={<$STR(S$超级回收子元素拼接)>回收空行}|x=126|y=40|width=400|height=205|margin=40|bounce=1|direction=1|reload=0>
<$STR(S$超级回收拼接字符串)>
<Layout|id=回收空行|children={回收空行1,回收空行2,回收空行3}>
<Text|id=回收空行1|x=10|y=10|color=254|size=16|text=>
<Text|id=回收空行2|x=210|y=10|color=250|size=16|text=>
<Text|x=239|y=260|color=158|size=14|text=上下滑动查看装备回收详情>
<Img|x=160|y=264|width=61|img=custom/chaojihuishou/title4_1.png>
<Img|x=430|y=264|width=61|img=custom/chaojihuishou/title4_2.png>
<Text|x=192|y=295|color=249|size=14|text=防止误操作,该系列装备暂不支持一键回收>
[@按钮初始化]
#if
#act
mov S$火龙剑甲按钮 <Button|x=21|y=5|width=99|height=35|color=100|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=火龙剑甲|link=@装备回收转区点实现>
mov S$无双剑甲按钮 <Button|x=21|y=41|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=无双剑甲|link=@点击无双剑甲按钮>
mov S$圣龙首饰按钮 <Button|x=21|y=77|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=圣龙首饰|link=@点击圣龙首饰按钮>
mov S$圣龙四格按钮 <Button|x=21|y=113|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=圣龙四格|link=@点击圣龙四格按钮>
mov S$圣龙剑甲按钮 <Button|x=21|y=149|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=圣龙剑甲|link=@点击圣龙剑甲按钮>
mov S$龙语首饰按钮 <Button|x=21|y=185|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=龙语首饰|link=@点击龙语首饰按钮>
mov S$龙语四格按钮 <Button|x=21|y=221|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=龙语四格|link=@点击龙语四格按钮>
mov S$龙语剑甲按钮 <Button|x=21|y=257|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=龙语剑甲|link=@点击龙语剑甲按钮>
mov S$等级回收按钮 <Button|x=21|y=293|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/ana.png|pimg=custom/chaojihuishou/ana.png|mimg=custom/chaojihuishou/ana.png|text=等级回收|link=@点击等级回收按钮>
[@回收转区点循环]
#if
#act
MOV S$超级回收拼接字符串
MOV S$超级回收子元素拼接
WHILE N$循环变量 < <$STR(N$循环结束)>
MOV
INC S$超级回收拼接字符串 <Layout|id=<$cfg_recycle_zqd(N$循环变量_1)>|children={<$cfg_recycle_zqd(N$循环变量_1)>1,<$cfg_recycle_zqd(N$循环变量_1)>2,<$cfg_recycle_zqd(N$循环变量_1)>3}>
INC S$超级回收拼接字符串 <Text|id=<$cfg_recycle_zqd(N$循环变量_1)>1|x=20|y=10|color=254|size=16|outline=1|outlinecolor=0|text=<$cfg_recycle_zqd(N$循环变量_1)>>
INC S$超级回收拼接字符串 <Text|id=<$cfg_recycle_zqd(N$循环变量_1)>2|x=150|y=10|color=116|size=16|outline=1|outlinecolor=0|text=<$cfg_recycle_zqd(N$循环变量_2)>转区点>
INC S$超级回收子元素拼接 <$cfg_recycle_zqd(N$循环变量_1)>,
MOV S$超级回收跳转字符 回收ID<$cfg_recycle_zqd(N$循环变量_0)>_确认
INC S$超级回收拼接字符串 <Button|id=<$cfg_recycle_zqd(N$循环变量_1)>3|x=298|y=5|color=251|width=90|height=28|color=100|size=15|nimg=custom/chaojihuishou/button_01_1.png|pimg=custom/chaojihuishou/button_01_2.png|mimg=custom/chaojihuishou/button_01_1.png|text=点击回收|link=@回收转区点模板#回收转区点装备名字=<$cfg_recycle_zqd(N$循环变量_1)>#回收转区点数=<$cfg_recycle_zqd(N$循环变量_2)>>
INC N$循环变量 1
ENDWHILE
[@点击无双剑甲按钮]
#if
#act
MOV N$循环变量 11
MOV N$循环结束 14
goto @按钮初始化
goto @回收转区点循环
mov S$无双剑甲按钮 <Button|x=21|y=41|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=无双剑甲|link=@无双剑甲按钮>
goto @转区NPC面板刷新
[@点击圣龙首饰按钮]
#if
#act
MOV N$循环变量 21
MOV N$循环结束 26
goto @按钮初始化
goto @回收转区点循环
mov S$圣龙首饰按钮 <Button|x=21|y=77|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=圣龙首饰|link=@点击圣龙首饰按钮>
goto @转区NPC面板刷新
[@点击圣龙四格按钮]
#if
#act
MOV N$循环变量 31
MOV N$循环结束 35
goto @按钮初始化
goto @回收转区点循环
mov S$圣龙四格按钮 <Button|x=21|y=113|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=圣龙四格|link=@圣龙四格按钮>
goto @转区NPC面板刷新
[@点击圣龙剑甲按钮]
#if
#act
MOV N$循环变量 41
MOV N$循环结束 44
goto @按钮初始化
goto @回收转区点循环
mov S$圣龙剑甲按钮 <Button|x=21|y=149|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=圣龙剑甲|link=@点击圣龙剑甲按钮>
goto @转区NPC面板刷新
[@点击龙语首饰按钮]
#if
#act
MOV N$循环变量 51
MOV N$循环结束 56
goto @按钮初始化
goto @回收转区点循环
mov S$龙语首饰按钮 <Button|x=21|y=185|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=龙语首饰|link=@点击龙语首饰按钮>
goto @转区NPC面板刷新
[@点击龙语四格按钮]
#if
#act
MOV N$循环变量 61
MOV N$循环结束 66
goto @按钮初始化
goto @回收转区点循环
mov S$龙语四格按钮 <Button|x=21|y=221|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=龙语四格|link=@点击龙语四格按钮>
goto @转区NPC面板刷新
[@点击龙语剑甲按钮]
#if
#act
MOV N$循环变量 71
MOV N$循环结束 73
goto @按钮初始化
goto @回收转区点循环
mov S$龙语剑甲按钮 <Button|x=21|y=257|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=龙语剑甲|link=@点击龙语剑甲按钮>
goto @转区NPC面板刷新
[@点击等级回收按钮]
#if
#act
MOV N$循环变量 81
MOV N$循环结束 82
goto @按钮初始化
goto @回收转区点循环
mov S$等级回收按钮 <Button|x=21|y=293|width=99|height=35|color=10|size=14|outline=2|nimg=custom/chaojihuishou/anl.png|pimg=custom/chaojihuishou/anl.png|mimg=custom/chaojihuishou/anl.png|text=等级回收|link=@点击等级回收按钮>
goto @转区NPC面板刷新
[@回收转区点模板]
#if
equal S$回收转区点装备名字
#act
SENDMSG 9 <font color='#ff0000'>回收装备为空,联系技术检查处理!</font>
BREAK
break
#if
equal S$回收转区点装备名字 70级等级
#act
goto @回收人物等级
break
#IF
checkitem <$STR(S$回收转区点装备名字)> 1
#ACT
take <$STR(S$回收转区点装备名字)> 1
money 转区点 + <$STR(S$回收转区点数)>
SETNPCMSG 转区点回收:<$USRENAME>成功回收【<$STR(S$回收转区点装备名字)>】获得了:(<$STR(S$回收转区点数)>)转区点
sendmsg 6 〖提示〗:成功回收【<$STR(S$回收转区点装备名字)>】获得了:(<$STR(S$回收转区点数)>)转区点!
BREAK
#ELSEACT
SENDMSG 9 <font color='#ff0000'>你没有可以回收的<$STR(S$回收转区点装备名字)>.请仔细查看背包!</font>
BREAK
[@回收人物等级]
#IF
checklevelex > 69
#ACT
changelevel = 1
money 转区点 + <$STR(S$回收转区点数)>
SETNPCMSG 转区点回收:<$USRENAME>成功回收【<$STR(S$回收转区点装备名字)>】获得了:(<$STR(S$回收转区点数)>)转区点
sendmsg 6 〖提示〗:成功回收【<$STR(S$回收转区点装备名字)>】获得了:(<$STR(S$回收转区点数)>)转区点!
BREAK
#ELSEACT
SENDMSG 9 <font color='#ff0000'>你没有到达70级!无法回收</font>
BREAK
}