[@main]
#if
#act
newreadcsv ..\QuestDiary\Boss查询\cfg_切割属性.csv
mov s$切割等级 <$str(u100)>
mov s$所在行 <$formulation[<$str(u100)>+1]>
mov s$所需金币数量 <$cfg_切割属性(<$str(s$所在行)>_1)>
mov s$所需元宝数量 <$cfg_切割属性(<$str(s$所在行)>_2)>
mov s$切割伤害 <$formulation[<$str(u100)>*10]>
mov s$对怪减伤 <$str(u100)>
mov s$下一级切割伤害 <$formulation[(<$str(u100)>+1)*10]>
mov s$下一级对怪减伤 <$formulation[<$str(u100)>+1]>
#if
#say
<Img|x=239.0|y=99.0|width=450|height=400|move=0|loadDelay=1|show=0|bg=1|esc=1|reset=1|img=public_win32/1900000610.png>
<Layout|x=677.0|y=88.0|width=80|height=80|link=@exit>
<Button|x=688.0|y=100.0|pimg=public/1900000511.png|nimg=public/1900000510.png|link=@exit>
<Text|x=266.0|y=139.0|size=18|color=255|text=当前等级:<$str(s$切割等级)>>
<Text|x=266.0|y=179.0|color=251|size=18|text=当前切割伤害:<$str(s$切割伤害)>>
<Text|x=266.0|y=219.0|color=251|size=18|text=当前对怪减伤:<$str(s$对怪减伤)>>
<Text|x=266.0|y=289.0|color=249|size=18|text=下一级切割伤害:<$str(s$下一级切割伤害)>>
<Text|x=266.0|y=329.0|color=249|size=18|text=下一级对怪减伤:<$str(s$下一级对怪减伤)>>
<ItemShow|x=299.0|y=368.0|width=70|height=70|itemname=金币|itemcount=<$str(s$所需金币数量)>|showtips=1|bgtype=1>
<Button|x=292.0|y=435.0|nimg=public/1900000652.png|color=250|size=18|text=金币升级|link=@升级切割#货币=金币>
<ItemShow|x=523.0|y=367.0|width=70|height=70|itemname=元宝|itemcount=<$str(s$所需元宝数量)>|showtips=1|bgtype=1>
<Button|x=512.0|y=435.0|size=18|nimg=public/1900000652.png|color=250|text=元宝升级|link=@升级切割#货币=元宝>
<Text|x=508.0|y=203.0|color=255|size=18|text=金币数量:$STM(MONEY_1,3)>
<Text|x=508.0|y=224.0|color=255|size=18|text=元宝数量:$STM(MONEY_2,4)>
[@升级切割]
#if
large <$str(u100)> 105
#act
sendmsg 9 您已满级!!!
break
#IF
checkbindmoney <$str(S$货币)> ? <$str(s$所需<$str(S$货币)>数量)>
#ACT
changebindmoney <$str(S$货币)> <$str(s$所需<$str(S$货币)>数量)>
inc u100 1
goto @main
#ELSEACT
sendmsg 9 您的<$str(S$货币)>不足!!无法升级!!