[@main]
#if
#act
mov s$幻灯片二 <Img|id=26|x=530.0|y=144.0|img=public/1900000651.png|link=@切换2>
MOV M50 0
MOV M51 0
MOV M52 0
MOV M53 0
MOV M54 0
MOV M55 0
MOV M56 0
MOV M57 0
MOV M58 0
MOV M59 0
MOV M60 0
MOV M61 0
MOV M62 0
MOV M63 0
MOV M64 0
MOV M65 0
MOV M66 0
MOV M67 0
MOV M68 0
MOV M69 0
MOV M72 0
MOV M73 0
MOV M74 0
MOV M75 0
MOV M76 0
MOV M77 0
MOV M78 0
MOV M79 0
#say
<Img|x=0|y=0|width=770|height=520|scale9r=12|scale9t=12|show=4|bg=1|img=custom/bx/1900000610.png|scale9b=12|scale9l=12>
<Layout|children={1,2,3,4,5,6,7,8,9,10,11,14,15,16,18,19,20,21,22,23,26,29}|a=4|percentx=50.3|percenty=50.4|width=792|height=538>
<Img|id=1|esc=1|img=public/mianban00001.png>
<Img|id=2|x=37|y=70|img=custom/bingxue/kuangbaozhuangtai/kuangbaozhuangtai_bg.jpg>
<Layout|id=3|x=775|y=10|width=70|height=70|link=@exit>
<Button|id=4|x=778.6|y=15.0|pimg=public/1900000511.png|nimg=public/1900000510.png|link=@exit>
<Text|id=5|x=351.0|y=13.0|outline=2|color=103|size=18|outlinecolor=0|text=属性转移>
<Img|id=6|x=177|y=123|outlinecolor=0|esc=0|img=public/icon_target_01.png|outline=1>
<Img|id=7|x=177|y=154|outlinecolor=0|esc=0|img=public/icon_target_01.png|outline=1>
<Img|id=8|x=177|y=183|outlinecolor=0|esc=0|img=public/icon_target_01.png|outline=1>
<Img|id=9|x=177|y=219|outlinecolor=0|esc=0|img=public/icon_target_01.png|outline=1>
<Img|id=10|x=177|y=255|outlinecolor=0|esc=0|img=public/icon_target_01.png|outline=1>
<Img|id=11|x=177|y=291|outlinecolor=0|esc=0|img=public/icon_target_01.png|outline=1>
<Button|id=14|x=27.0|y=66.0|pimg=custom/bx/115_1.png|nimg=custom/bx/115_2.png|color=7|size=18|text=属性转移|link=@main>
<Button|id=16|x=373.0|y=453.0|height=37|pimg=custom/bx/115_1.png|color=103|nimg=custom/bx/115_2.png|size=18|text=开始转移|link=@开始极品属性转移>
<Img|id=18|x=138.0|y=441.0|width=615|rotate=0|esc=0|img=custom/bx/hl_bg_01.png>
<ITEMBOX|id=19|x=231.0|y=125.0|tips=武器、衣服、首饰、四格可转攻魔道 幸运 元素属性|boxindex=1|stdmode=5,10,11,15,19,20,24,26,22,23,52,54,65|tipsx=1|tipsy=95|img=custom/zdy/hecheng/bg_kaorouicon_01.png>
<ITEMBOX|id=20|x=511.0|y=125.0|tips=武器、衣服、首饰、四格可转攻魔道 幸运 元素属性|boxindex=2|stdmode=5,10,11,15,19,20,24,26,22,23,52,54,65|tipsx=1|tipsy=95|img=custom/zdy/hecheng/bg_kaorouicon_01.png>
<Img|id=21|x=270.0|y=206.0|width=300|height=230|rotate=0|img=custom/zdy/hecheng/bg_clhczy_03.png|esc=0>
<Img|id=22|x=170.0|y=397.0|img=custom/zdy/hecheng/word_shendun_02.png|esc=0>
<Img|id=23|x=361.0|y=206.0|img=custom/zdy/hecheng/btn_gjgw_03.png|esc=0>
<Img|id=17|x=133.0|y=60.0|height=442|img=custom/bx/hl_bg_02.png|esc=0>
<Text|x=261.0|y=390.0|color=249|size=18|text=100元宝>
[@ITEMINTOBOX1]
#IF
#ACT
SETUPGRADEITEM 1
CHANGEITEMADDVALUE -1 2 = 1
CHANGEITEMADDVALUE -1 3 = 2
CHANGEITEMADDVALUE -1 4 = 3
CHANGEITEMADDVALUE -1 5 = 4
SetNewItemValue -1 0 = 10
SetNewItemValue -1 1 = 11
SetNewItemValue -1 2 = 12
SetNewItemValue -1 3 = 13
SetNewItemValue -1 4 = 14
SetNewItemValue -1 5 = 15
SetNewItemValue -1 6 = 16
SetNewItemValue -1 7 = 17
SetNewItemValue -1 8 = 18
SetNewItemValue -1 11 = 19
updateboxitem 1
GETITEMADDVALUE -1 2 M72
GETITEMADDVALUE -1 3 M73
GETITEMADDVALUE -1 4 M74
GETITEMADDVALUE -1 5 M75
getnewitemAddvalue -1 0 M50
getnewitemAddvalue -1 1 M51
getnewitemAddvalue -1 2 M52
getnewitemAddvalue -1 3 M53
getnewitemAddvalue -1 4 M54
getnewitemAddvalue -1 5 M55
getnewitemAddvalue -1 6 M56
getnewitemAddvalue -1 7 M57
getnewitemAddvalue -1 8 M58
getnewitemAddvalue -1 11 M59
#OR
LARGE <$STR(M50)> 0
LARGE <$STR(M51)> 0
LARGE <$STR(M52)> 0
LARGE <$STR(M53)> 0
LARGE <$STR(M54)> 0
LARGE <$STR(M55)> 0
LARGE <$STR(M56)> 0
LARGE <$STR(M57)> 0
LARGE <$STR(M58)> 0
LARGE <$STR(M59)> 0
LARGE <$STR(M72)> 0
LARGE <$STR(M73)> 0
LARGE <$STR(M74)> 0
LARGE <$STR(M75)> 0
#ACT
BREAK
#IF
#ACT
UNALLOWITEMINTOBOX
MESSAGEBOX \请放入【带有极品属性的装备】\ \极品属性只统计【攻击】【魔法】【道术】【元素】【幸运】
BREAK
[@ITEMINTOBOX2]
#IF
#ACT
SETUPGRADEITEM 2
GETITEMADDVALUE -1 2 M76
GETITEMADDVALUE -1 3 M77
GETITEMADDVALUE -1 4 M78
GETITEMADDVALUE -1 5 M79
getnewitemAddvalue -1 0 M60
getnewitemAddvalue -1 1 M61
getnewitemAddvalue -1 2 M62
getnewitemAddvalue -1 3 M63
getnewitemAddvalue -1 4 M64
getnewitemAddvalue -1 5 M65
getnewitemAddvalue -1 6 M66
getnewitemAddvalue -1 7 M67
getnewitemAddvalue -1 8 M68
getnewitemAddvalue -1 11 M69
#OR
LARGE <$STR(M60)> 0
LARGE <$STR(M61)> 0
LARGE <$STR(M62)> 0
LARGE <$STR(M63)> 0
LARGE <$STR(M64)> 0
LARGE <$STR(M65)> 0
LARGE <$STR(M66)> 0
LARGE <$STR(M67)> 0
LARGE <$STR(M68)> 0
LARGE <$STR(M69)> 0
LARGE <$STR(M76)> 0
LARGE <$STR(M77)> 0
LARGE <$STR(M78)> 0
LARGE <$STR(M79)> 0
#ACT
UNALLOWITEMINTOBOX
MESSAGEBOX \请放入【没有极品属性的装备】\ \极品属性只统计【防御】【魔御】【攻击】【魔法】【道术】
BREAK
#OR
equal <$BOXITEM[1].stdmode> 19
equal <$BOXITEM[1].stdmode> 20
#ACT
goto @项链类型判断
BREAK
#OR
equal <$BOXITEM[1].stdmode> 24
equal <$BOXITEM[1].stdmode> 26
#ACT
goto @手镯类型判断
BREAK
#OR
equal <$BOXITEM[1].stdmode> 22
equal <$BOXITEM[1].stdmode> 23
#ACT
goto @戒指类型判断
BREAK
#if
not equal <$BOXITEM[1].stdmode> <$BOXITEM[2].stdmode>
#ACT
UNALLOWITEMINTOBOX
returnboxitem 2
MESSAGEBOX 【提示】:请放入和左边框同类型装备进行转移!!!
BREAK
[@开始极品属性转移]
#OR
equal <$BOXITEM[1].NAME>
equal <$BOXITEM[2].NAME>
#ACT
MESSAGEBOX 【提示】:请放入转移装备和接收装备!!!
BREAK
#IF
checkgamegold < 100
#ACT
MESSAGEBOX 【提示】:你当前不足100元宝!无法转移!
BREAK
#IF
#ACT
SETUPGRADEITEM 1
GETITEMADDVALUE -1 2 M72
GETITEMADDVALUE -1 3 M73
GETITEMADDVALUE -1 4 M74
GETITEMADDVALUE -1 5 M75
getnewitemAddvalue -1 0 M50
getnewitemAddvalue -1 1 M51
getnewitemAddvalue -1 2 M52
getnewitemAddvalue -1 3 M53
getnewitemAddvalue -1 4 M54
getnewitemAddvalue -1 5 M55
getnewitemAddvalue -1 6 M56
getnewitemAddvalue -1 7 M57
getnewitemAddvalue -1 8 M58
getnewitemAddvalue -1 11 M59
#IF
checkgamegold ? 100
#ACT
SETUPGRADEITEM 2
gamegold - 100
CHANGEITEMADDVALUE -1 2 = <$STR(M72)>
CHANGEITEMADDVALUE -1 3 = <$STR(M73)>
CHANGEITEMADDVALUE -1 4 = <$STR(M74)>
CHANGEITEMADDVALUE -1 5 = <$STR(M75)>
SetNewItemValue -1 0 = <$str(M50)>
SetNewItemValue -1 1 = <$str(M51)>
SetNewItemValue -1 2 = <$str(M52)>
SetNewItemValue -1 3 = <$str(M53)>
SetNewItemValue -1 4 = <$str(M54)>
SetNewItemValue -1 5 = <$str(M55)>
SetNewItemValue -1 6 = <$str(M56)>
SetNewItemValue -1 7 = <$str(M57)>
SetNewItemValue -1 8 = <$str(M58)>
SetNewItemValue -1 11 = <$str(M59)>
SENDCENTERMSG 0 21 极品转移∶[<$USERNAME>]将[<$BOXITEM[1].NAME>]极品属性转移至[<$BOXITEM[2].NAME>]. 1 3
updateboxitem 2
;===========================还原=====================
SETUPGRADEITEM 1
CHANGEITEMADDVALUE -1 2 = 0
CHANGEITEMADDVALUE -1 3 = 0
CHANGEITEMADDVALUE -1 4 = 0
CHANGEITEMADDVALUE -1 5 = 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
SetNewItemValue -1 7 = 0
SetNewItemValue -1 8 = 0
SetNewItemValue -1 11 = 0
updateboxitem 1
GOTO @MAIN
BREAK
[@项链类型判断]
#if
not checkcontainstext <$BOXITEM[2].NAME> 项链
not checkcontainstext <$BOXITEM[2].NAME> 放大镜
not checkcontainstext <$BOXITEM[2].NAME> 竹笛
not checkcontainstext <$BOXITEM[2].NAME> 项链
#act
UNALLOWITEMINTOBOX
returnboxitem 2
MESSAGEBOX 【提示】:请放入项链进行转移!!!
BREAK
[@手镯类型判断]
#if
not checkcontainstext <$BOXITEM[2].NAME> 护腕
not checkcontainstext <$BOXITEM[2].NAME> 手镯
not checkcontainstext <$BOXITEM[2].NAME> 护腕
not checkcontainstext <$BOXITEM[2].NAME> 手套
#act
UNALLOWITEMINTOBOX
returnboxitem 2
MESSAGEBOX 【提示】:请放入手镯进行转移!!!
BREAK
[@戒指类型判断]
#if
not checkcontainstext <$BOXITEM[2].NAME> 戒
not checkcontainstext <$BOXITEM[2].NAME> 指
not checkcontainstext <$BOXITEM[2].NAME> 紫碧螺
#act
UNALLOWITEMINTOBOX
returnboxitem 2
MESSAGEBOX 【提示】:请放入戒指进行转移!!!
BREAK