[@main]
#if
#act
mov s$幻灯片二 <Img|id=26|x=530.0|y=144.0|img=public/1900000651.png|link=@切换2>
#say
<Img|x=0|y=0|width=770|height=520|scale9r=12|scale9l=12|show=4|bg=1|img=public/1900000610.png|scale9b=12|scale9t=12>
<Layout|children={1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,22,23,24,25,26,28}|a=4|percentx=49.9|percenty=49.8|width=792|height=538>
<Img|id=1|children={2000}|img=public/mianban00001.png|esc=1>
<Effect|id=2000|x=32.0|y=20.0|effecttype=0|speed=1|scale=1|effectid=5037>
<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=363.0|y=15.0|outlinecolor=0|color=103|size=18|outline=2|text=幸运项链>
<Img|id=6|x=177.0|y=123.0|img=public/icon_target_01.png|esc=0>
<Img|id=7|x=177.0|y=154.0|img=public/icon_target_01.png|esc=0>
<Img|id=8|x=177.0|y=182|img=public/icon_target_01.png|esc=0>
<Img|id=9|x=177.0|y=212|img=public/icon_target_01.png|esc=0>
<Text|id=10|a=0|x=291.0|y=120.0|color=151|outlinecolor=0|outline=1|size=18|text=提升项链品质,激发项链潜能。>
<Text|id=11|ax=0|x=241|y=194.0|outlinecolor=0|color=103|size=18|outline=1|text=详细说明:每次收 100000元宝,成功几率:100%>
<Text|id=12|x=176|y=193.0|outline=1|color=58|size=18|outlinecolor=0|text=幸运+1>
<Text|id=13|ax=0|x=241|y=260.0|outlinecolor=0|color=103|size=18|outline=1|text=详细说明:每次收 300000元宝,成功几率: 50%>
<Text|id=15|x=176|y=262.0|outline=1|color=58|size=18|outlinecolor=0|text=幸运+2>
<Text|id=16|ax=0|x=241|y=334.0|outlinecolor=0|color=103|size=18|outline=1|text=详细说明:每次收 500000元宝,成功几率: 20%>
<Text|id=17|x=176|y=330.0|outline=1|color=58|size=18|outlinecolor=0|text=幸运+3>
<Button|id=24|ax=0|x=31|y=74.0|pimg=custom/bx/bx_ui/115_1.png|color=103|size=18|nimg=custom/bx/bx_ui/115_2.png|text=幸运项链>
<Button|id=25|ax=0|x=31|y=113.0|color=7|pimg=custom/bx/bx_ui/115_1.png|nimg=custom/bx/bx_ui/115_2.png|size=18|text=幸运转移|link=@页面2>
<Button|id=26|children={100}|x=632.0|y=326.0|nimg=custom/bx/bx_ui/115_2.png|color=103|pimg=custom/bx/bx_ui/115_1.png|size=18|text=确定升级|link=@幸运3>
<Img|id=100|x=85|y=2|width=18|height=18|img=public/<$STR(S$C_狂暴红点)>.png>
<Img|id=28|x=177.0|y=241|img=public/icon_target_01.png|esc=0>
<Img|x=133.0|y=60.0|height=442|img=custom/bx/bx_ui/hl_bg_02.png|esc=0>
<Button|x=618.0|y=246.0|color=103|mimg=custom/bx/bx_ui/115_2.png|size=18|pimg=custom/bx/bx_ui/115_1.png|nimg=custom/bx/bx_ui/115_2.png|text=确定升级|link=@幸运2>
<Button|x=618.0|y=181.0|color=103|mimg=custom/bx/bx_ui/115_2.png|size=18|pimg=custom/bx/bx_ui/115_1.png|nimg=custom/bx/bx_ui/115_2.png|text=确定升级|link=@幸运1>
[@页面2]
#if
#act
#say
<Img|x=0|y=0|width=770|height=520|scale9r=12|scale9t=12|show=4|bg=1|img=public/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/bx_ui/115_1.png|nimg=custom/bx/bx_ui/115_2.png|color=7|size=18|text=幸运项链|link=@main>
<Button|id=15|x=27.0|y=107.0|pimg=custom/bx/bx_ui/115_1.png|color=103|size=18|nimg=custom/bx/bx_ui/115_2.png|text=幸运转移>
<Button|id=16|x=373.0|y=453.0|height=37|pimg=custom/bx/bx_ui/115_1.png|color=103|nimg=custom/bx/bx_ui/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/bx_ui/hl_bg_01.png>
<Img|id=19|x=231.0|y=119.0|img=custom/zdy/hecheng/bg_kaorouicon_01.png|esc=0>
<Img|id=20|x=511.0|y=125.0|img=custom/zdy/hecheng/bg_kaorouicon_01.png|esc=0>
<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>
<EquipShow|id=29|x=247.0|y=135.0|width=60|height=60|showtips=1|index=3|bgtype=1>
<Img|id=17|x=133.0|y=60.0|height=442|img=custom/bx/bx_ui/hl_bg_02.png|esc=0>
<Text|x=261.0|y=390.0|color=249|size=18|text=100000元宝>
<RText|x=25|y=20|text= >
<$str(s$幻灯片二)>
[@切换2]
#IF
#act
mov s$幻灯片二 <BAGITEMS|id=26|x=259|y=298|count=12|row=2|select=<$STR(S0)>|filter3=10290,10307,10314,10321,10338,10345,10352,10368,10375,10382,10398,10405,10412,10428,10435,10442,10458,10465,10472,10488,10495,10502,10509,10516,10523|link=@选择物品2>
goto @页面2
[@选择物品2]
#IF
#ACT
mov s$勾选物品二 <$STR(S0)>
mov s$幻灯片二 <ITEMBOX|id=26|x=530.0|y=144.0|width=60|height=60|boxindex=2|stdmode=19|tipsx=4|tipsy=100|img=public/1900000651.png>
BAGITEMMAKEINDEX <$STR(s$勾选物品二)> 2
GOTO @页面2
[@ItemIntoBox2]
#IF
#ACT
SetUpgradeItem 2
#IF
CHECKITEMADDVALUE -1 5 > 2
#ACT
MESSAGEBOX [升级失败]:\ \ 此“项链”已经升级过请更换项链!
mov s$幻灯片二 <Img|id=26|x=530.0|y=144.0|img=public/1900000651.png|link=@切换2>
RETURNBOXITEM 2
break
#IF
#ACT
SetUpgradeItem 2
GOTO @页面2
break
[@开始转移]
#IF
CheckItemAddValue 3 5 < 3
#ACT
MESSAGEBOX [升级失败]:\ \ 您佩戴的项链幸运值未满3点!
break
#IF
NOT CheckBoxItemCount 2
#ACT
MESSAGEBOX [升级失败]:\ \ 请放入“目标项链”!
break
#IF
not CheckBindMoney 绑定元宝 ? 100000
#ACT
MESSAGEBOX [升级失败]:\ \ 您的元宝不足“10万”!
break
#if
CheckItemAddValue 3 5 ? 3
#act
GETITEMADDVALUE 3 5 s26
#if
CheckItemAddValue 3 5 ? 3
CheckBindMoney 绑定元宝 ? 100000
#act
ChangeBindMoney 元宝 100000
TakeOffItem 3
DelItemByMakeIndex <$NECKLACEID>
CHANGEITEMADDVALUE -1 5 = <$STR(s26)>
RETURNBOXITEM 2
MESSAGEBOX [升级成功]:\ \ 项链转移成功!
[@幸运1]
#IF
NOT CHECKUSEITEM 3
#ACT
MESSAGEBOX [升级失败]:\ \ 您没有佩戴“项链”!
break
#IF
CHECKITEMADDVALUE 3 5 > 0
#ACT
MESSAGEBOX [升级失败]:\ \ 你的项链已经是幸运+1,无法再升级幸运!
break
#IF
not CheckBindMoney 绑定元宝 ? 100000
#ACT
MESSAGEBOX [升级失败]:\ \ 您的元宝不足“10万”!
break
#IF
CHECKITEMADDVALUE 3 5 < 1
CHECKGAMEGOLD > 999
#ACT
ChangeBindMoney 元宝 100000
CHANGEITEMADDVALUE 3 5 = 1
MESSAGEBOX [升级成功]:\ \ 项链“<$NECKLACE>”幸运获得+1!
break
[@幸运2]
#IF
NOT CHECKUSEITEM 3
#ACT
MESSAGEBOX [升级失败]:\ \ 您没有佩戴“项链”!
break
#IF
CHECKITEMADDVALUE 3 5 > 1
#ACT
MESSAGEBOX [升级失败]:\ \ 你的项链已经是幸运+2,无法再升级幸运!
break
#IF
CHECKITEMADDVALUE 3 5 < 1
#ACT
MESSAGEBOX [升级失败]:\ \ 您的项链还未提升到幸运+1!
break
#IF
not CheckBindMoney 绑定元宝 ? 300000
#ACT
MESSAGEBOX [升级失败]:\ \ 您的元宝不足“30万”!
break
#IF
#ACT
MOVR N$成功几率 1 100
#IF
LARGE N$成功几率 70
CHECKITEMADDVALUE 3 5 > 0
CHECKITEMADDVALUE 3 5 < 2
CheckBindMoney 绑定元宝 ? 300000
#ACT
ChangeBindMoney 元宝 300000
CHANGEITEMADDVALUE 3 5 = 2
MESSAGEBOX [升级成功]:\ \ 项链“<$NECKLACE>”幸运获得+2!
break
#if
CHECKITEMADDVALUE 3 5 > 0
CHECKITEMADDVALUE 3 5 < 2
CheckBindMoney 绑定元宝 ? 300000
#ACT
ChangeBindMoney 元宝 300000
MESSAGEBOX [升级失败]:\ \ 很遗憾,本次提升失败,请再接再厉!
break
[@幸运3]
#IF
NOT CHECKUSEITEM 3
#ACT
MESSAGEBOX [升级失败]:\ \ 您没有佩戴“项链”!
break
#IF
CHECKITEMADDVALUE 3 5 > 2
#ACT
MESSAGEBOX [升级失败]:\ \ 你的项链已经是幸运+3,无法再升级幸运!
break
#IF
CHECKITEMADDVALUE 3 5 < 2
#ACT
MESSAGEBOX [升级失败]:\ \ 您的项链还未提升到幸运+2!
break
#IF
not CheckBindMoney 绑定元宝 ? 500000
#ACT
MESSAGEBOX [升级失败]:\ \ 您的元宝不足“50万”!
break
#IF
#ACT
MOVR N$成功几率 1 100
MOVR N$暴击点数 1 3
#IF
LARGE N$成功几率 80
CHECKITEMADDVALUE 3 5 > 1
CHECKITEMADDVALUE 3 5 < 3
CheckBindMoney 绑定元宝 ? 500000
#ACT
ChangeBindMoney 元宝 500000
CHANGEITEMADDVALUE 3 5 = 3
break
#if
CHECKITEMADDVALUE 3 5 > 1
CHECKITEMADDVALUE 3 5 < 3
CheckBindMoney 绑定元宝 ? 500000
#ACT
ChangeBindMoney 元宝 500000
MESSAGEBOX [升级失败]:\ \ 很遗憾,本次提升失败,请再接再厉!
break