[@main]
#if
#act
mov S$消耗说明 {每次项链幸运提升需要:羽币2万/FCOLOR=249}^
inc S$消耗说明 {项链幸运绑定人物自身/FCOLOR=253}^
inc S$消耗说明 {请将需要提升的项链穿戴在身上/FCOLOR=254}^
inc S$消耗说明 {一键运五需要:灵元*10000/FCOLOR=250}^
inc S$消耗说明 {可以直接将项链幸运提升至五/FCOLOR=243}^
#say
<Img|x=0.0|y=0.0|bg=1|show=4|move=1|img=private/jiemiansucai/xyxl_1.png|loadDelay=1|reset=1>
<Layout|x=545|y=0|width=80|height=80|link=@exit>
<Button|x=520.0|y=47.0|nimg=public/1900000510.png|pimg=public/1900000511.png|link=@exit>
<EquipShow|x=138.0|y=112.0|scale=0.7|showtips=1|index=3|reload=1>
<Button|x=270.0|y=55.0|tips=<$str(S$消耗说明)>|size=14|pimg=private/jiemiansucai/wh_2.png|nimg=private/jiemiansucai/wh_1.png>
<Button|x=40.0|y=300.0|nimg=private/jiemiansucai/190000001.png|size=14|pimg=private/jiemiansucai/190000003.png|text=提升项链幸运|link=@提示项链幸运>
<Button|x=192.0|y=300.0|nimg=private/jiemiansucai/190000001.png|size=14|pimg=private/jiemiansucai/190000003.png|text=一键幸运五|link=@一键幸运>
[@一键幸运]
#if
equal <$NECKLACE>
#act
messagebox 对不起,请佩戴项链!
break
#if
equal U82 5
#act
messagebox 对不起,你的项链一键幸运5了!
break
#if
CheckBindMoney 灵元 < 10000
#act
messagebox 对不起,灵元不足10000!
break
#if
CheckBindMoney 灵元 > 9999
#act
ChangeBindMoney 灵元 10000
wuyilingyuanxiaohao 10000
mov U82 5
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
qitianbianqianghongdian
break
[@提示项链幸运]
#if
equal <$NECKLACE>
#act
messagebox 对不起,请佩戴项链!
break
#if
CheckBindMoney 羽币 < 20000
#act
messagebox 对不起,你的羽币不足两万!
break
#if
large U82 4
#act
messagebox 对不起,你的项链幸运已经升满了!
break
#if
equal U82 4
CheckBindMoney 羽币 > 19999
randomex 15 100
#act
inc U82 1
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
qitianbianqianghongdian
break
#if
equal U82 3
CheckBindMoney 羽币 > 19999
randomex 30 100
#act
inc U82 1
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
equal U82 2
CheckBindMoney 羽币 > 19999
randomex 50 100
#act
inc U82 1
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
equal U82 1
CheckBindMoney 羽币 > 19999
randomex 80 100
#act
inc U82 1
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
equal U82 0
CheckBindMoney 羽币 > 19999
#act
inc U82 1
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
#act
dec U82 1
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = <$STR(U82)>
GOTO @main
messagebox 恭喜你,你的项链幸运升级失败!
break
[@XXXXX提示项链幸运]
#if
equal <$NECKLACE>
#act
messagebox 对不起,请佩戴项链!
break
#if
CheckBindMoney 羽币 < 20000
#act
messagebox 对不起,你的羽币不足两万!
break
#if
checkitemaddvalue 3 5 > 4
#act
GOTO @main
messagebox 对不起,你的项链幸运已经升满了!
break
#if
checkitemaddvalue 3 5 = 4
CheckBindMoney 羽币 > 19999
randomex 15 100
#act
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = 5
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
checkitemaddvalue 3 5 = 3
CheckBindMoney 羽币 > 19999
randomex 30 100
#act
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = 4
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
checkitemaddvalue 3 5 = 2
CheckBindMoney 羽币 > 19999
randomex 50 100
#act
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = 3
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
checkitemaddvalue 3 5 = 1
CheckBindMoney 羽币 > 19999
randomex 80 100
#act
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = 2
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
checkitemaddvalue 3 5 = 0
CheckBindMoney 羽币 > 19999
#act
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 = 1
GOTO @main
messagebox 恭喜你,你的项链幸运升级成功!
break
#if
CheckBindMoney 羽币 > 19999
#act
ChangeBindMoney 羽币 20000
changeitemaddvalue 3 5 - 1
GOTO @main
messagebox 恭喜你,你的项链幸运升级失败!
break