[@懒人加星]
\ \ \ \
\<ITEMBOX:0:0:117:210:-45:76:76:15,20,30,26,24,64,62,51,5,10,11,48,16,65,28,22,:250#请放入需要加星的装备>\ \ \
\ <加星费用:/AUTOCOLOR=250>5000 <确定加星/@确定加星>\
\<功能与商铺里装备加星石一样/AUTOCOLOR=254>\
\<懒人必备/AUTOCOLOR=253> <成功率:70%/AUTOCOLOR=251>\
\<成功随机增加2点攻魔道/AUTOCOLOR=250><失败星星数量与攻魔道清零>\
[@确定加星]
#IF
#ACT
SetUpgradeItem 0
#IF
CheckBoxItemCount 0 1
#ACT
#ELSEACT
MESSAGEBOX 操作失败!你还没有放入任何装备!无法加星
BREAK
#IF
Equal <$BOXITEM[0].STDMODE> 5
#act
goto @武器加星
#ELSEACT
goto @其他加星
[@武器加星]
#IF
CHECKGAMEGOLD > 4999
RANDOM 3
#ACT
GAMEGOLD - 5000
CHANGEITEMUPGRADECOUNT -1 + 1
MOVR N$随机 0 3
CHANGEITEMADDVALUE -1 <$STR(N$随机)> + 2
UpDateBoxItem 0
SENDMSG 7 255 253 [成功] 装备升级成功!!!
BREAK
#ELSEACT
GAMEGOLD - 5000
CHANGEITEMUPGRADECOUNT -1 = 0
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
UpDateBoxItem 0
SENDMSG 7 251 249 [失败] 装备升级失败!或元宝不足!
BREAK
[@其他加星]
#IF
CHECKGAMEGOLD > 4999
RANDOM 3
#ACT
GAMEGOLD - 5000
CHANGEITEMUPGRADECOUNT -1 + 1
MOVR N$随机 2 5
CHANGEITEMADDVALUE -1 <$STR(N$随机)> + 2
UpDateBoxItem 0
SENDMSG 7 255 253 [成功] 装备升级成功!!!
BREAK
#ELSEACT
GAMEGOLD - 5000
CHANGEITEMUPGRADECOUNT -1 = 0
CHANGEITEMADDVALUE -1 2 = 0
CHANGEITEMADDVALUE -1 3 = 0
CHANGEITEMADDVALUE -1 4 = 0
UpDateBoxItem 0
SENDMSG 7 251 249 [失败] 装备升级失败!!!
BREAK
|