[@main]
#IF
#ACT
OPENMERCHANTBIGDLG 11 1450 1 4 0 -50 0 0 0 1
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1451:1451:1451:-5:87>\
<ImgEx:11:92:93:94:148:400/@确定强化><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-165:35:0>\
<ImgEx:11:1460:1460:1460:35:20><ImgEx:11:1471:1472:1473:45:20/@幸运转移>
<ITEMBOX:3:-1:110:196:155:50:50:19:254#放入项链>
[@ItemIntoBox3]
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 0
#ACT
SetUpgradeItem 3
GOTO @幸运0
break
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 1
#ACT
SetUpgradeItem 3
GOTO @幸运1
break
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 2
#ACT
SetUpgradeItem 3
GOTO @幸运2
break
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 3
#ACT
SetUpgradeItem 3
GOTO @幸运3
break
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 4
#ACT
SetUpgradeItem 3
GOTO @幸运4
break
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 > 4
#ACT
SetUpgradeItem 3
GOTO @幸运5
break
;==============================================================
[@幸运0]
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 0
#ACT
SetUpgradeItem 3
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1451:1451:1451:-5:87>\
<ImgEx:11:92:93:94:148:400/@强化幸运1><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-165:35:0>\
<ImgEx:11:1460:1460:1460:35:20><ImgEx:11:1471:1472:1473:45:20/@幸运转移>
<ITEMBOX:3:-1:110:196:155:50:50:19:254#放入项链>
<text:20000元宝:-45:328{FCOLOR=56}>
<text:70%:-100:353{FCOLOR=56}>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 没有项链装备!!!!
break
[@强化幸运1]
#IF
random 2
CHECKGAMEGOLD > 19999
#ACT
GAMEGOLD - 20000
CHANGEITEMADDVALUE boxitem3 1 + 1
SendMsg 6 项链升级幸运成功!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 1
CHECKGAMEGOLD > 19999
#ACT
GAMEGOLD - 20000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#ELSEACT
ReturnBoxItem 3
MESSAGEBOX \\你的元宝不足20000!
break
;==============================================================
[@幸运1]
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 1
#ACT
SetUpgradeItem 3
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1451:1451:1451:-5:87>\
<ImgEx:11:92:93:94:148:400/@强化幸运2><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-165:35:0>\
<ImgEx:11:1460:1460:1460:35:20><ImgEx:11:1471:1472:1473:45:20/@幸运转移>
<ITEMBOX:3:-1:110:196:155:50:50:19:254#放入项链>
<text:30000元宝:-45:328{FCOLOR=56}>
<text:60%:-100:353{FCOLOR=56}>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 没有项链装备!!!!
break
[@强化幸运2]
#IF
random 10
CHECKGAMEGOLD > 29999
#ACT
GAMEGOLD - 30000
CHANGEITEMADDVALUE boxitem3 1 + 1
SendMsg 6 项链升级幸运成功!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 5
CHECKGAMEGOLD > 29999
#ACT
GAMEGOLD - 30000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 4
CHECKGAMEGOLD > 29999
#ACT
GAMEGOLD - 30000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 3
CHECKGAMEGOLD > 29999
#ACT
GAMEGOLD - 30000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 2
CHECKGAMEGOLD > 29999
#ACT
GAMEGOLD - 30000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 1
CHECKGAMEGOLD > 29999
#ACT
GAMEGOLD - 30000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#ELSEACT
ReturnBoxItem 3
MESSAGEBOX \\你的元宝不足30000!
break
;==============================================================
[@幸运2]
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 2
#ACT
SetUpgradeItem 3
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1451:1451:1451:-5:87>\
<ImgEx:11:92:93:94:148:400/@强化幸运3><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-165:35:0>\
<ImgEx:11:1460:1460:1460:35:20><ImgEx:11:1471:1472:1473:45:20/@幸运转移>
<ITEMBOX:3:-1:110:196:155:50:50:19:254#放入项链>
<text:40000元宝:-45:328{FCOLOR=56}>
<text:50%:-100:353{FCOLOR=56}>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 没有项链装备!!!!
break
[@强化幸运3]
#IF
random 15
CHECKGAMEGOLD > 39999
#ACT
GAMEGOLD - 40000
CHANGEITEMADDVALUE boxitem3 1 + 1
SendMsg 6 项链升级幸运成功!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 10
CHECKGAMEGOLD > 39999
#ACT
GAMEGOLD - 40000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 8
CHECKGAMEGOLD > 39999
#ACT
GAMEGOLD - 40000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 3
CHECKGAMEGOLD > 39999
#ACT
GAMEGOLD - 40000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 1
CHECKGAMEGOLD > 39999
#ACT
GAMEGOLD - 40000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#ELSEACT
ReturnBoxItem 3
MESSAGEBOX \\你的元宝不足40000!
break
;==============================================================
[@幸运3]
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 3
#ACT
SetUpgradeItem 3
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1451:1451:1451:-5:87>\
<ImgEx:11:92:93:94:148:400/@强化幸运4><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-165:35:0>\
<ImgEx:11:1460:1460:1460:35:20><ImgEx:11:1471:1472:1473:45:20/@幸运转移>
<ITEMBOX:3:-1:110:196:155:50:50:19:254#放入项链>
<text:50000元宝:-45:328{FCOLOR=56}>
<text:40%:-100:353{FCOLOR=56}>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 没有项链装备!!!!
break
[@强化幸运4]
#IF
random 20
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
CHANGEITEMADDVALUE boxitem3 1 + 1
SendMsg 6 项链升级幸运成功!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 18
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 15
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 10
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 5
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 3
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 1
CHECKGAMEGOLD > 49999
#ACT
GAMEGOLD - 50000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#ELSEACT
ReturnBoxItem 3
MESSAGEBOX \\你的元宝不足50000!
break
;==============================================================
[@幸运4]
#IF
CHECKITEMTYPE boxitem3 <$BOXITEM[3].STDMODE>
CHECKITEMADDVALUE boxitem3 1 = 4
#ACT
SetUpgradeItem 3
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1451:1451:1451:-5:87>\
<ImgEx:11:92:93:94:148:400/@强化幸运5><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-165:35:0>\
<ImgEx:11:1460:1460:1460:35:20><ImgEx:11:1471:1472:1473:45:20/@幸运转移>
<ITEMBOX:3:-1:110:196:155:50:50:19:254#放入项链>
<text:80000元宝:-45:328{FCOLOR=56}>
<text:30%:-100:353{FCOLOR=56}>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 没有项链装备!!!!
break
[@强化幸运5]
#IF
random 70
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
movr P50 2 8
SetNewItemValue boxitem3 0 + <$Str(P50)>
SetNewItemValue boxitem3 1 + <$Str(P50)>
CHANGEITEMADDVALUE boxitem3 1 + 1
SendMsg 6 项链升级幸运成功!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
MOV P50
goto @main
break
#IF
random 22
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 25
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 22
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 23
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 22
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 18
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 17
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 16
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 15
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 13
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 12
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 8
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 5
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 3
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#IF
random 1
CHECKGAMEGOLD > 79999
#ACT
GAMEGOLD - 80000
SendMsg 6 项链升级幸运失败!
AddNumberButton 2 0 <$GAMEGOLD> 1 110 316 3
AddNumberButton 3 0 <$GAMEGIRD> 1 110 340 3
ReturnBoxItem 3
goto @main
break
#ELSEACT
ReturnBoxItem 3
MESSAGEBOX \\你的元宝不足20000!
break
;==============================================================
[@幸运5]
#IF
CHECKITEMADDVALUE boxitem3 1 > 4
#ACT
SetUpgradeItem 3
UNALLOWITEMINTOBOX
MESSAGEBOX \?\?您的项链已经幸运5了!!!!
goto @main
break
[@幸运转移]
#IF
#ACT
OPENMERCHANTBIGDLG 11 1450 1 4 0 -50 0 0 0 1
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1452:1452:1452:-5:87>\
<ImgEx:11:22:23:24:148:400/@转移><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-235:40:0><PlayImg:13:110:8:120:-320:40:0>\
<ImgEx:11:1461:1462:1463:35:20/@main><ImgEx:11:1470:1470:1470:45:20>
<ITEMBOX:0:-1:110:118:165:50:50:19:254#放入要转移物品>
<ITEMBOX:1:-1:110:270:165:50:50:19:254#放入附加的物品>\ \ \
[@ItemIntoBox0]
#IF
CHECKITEMTYPE boxitem0 <$BOXITEM[0].STDMODE>
CheckItemAddValueEx boxitem0 > 4 0
#ACT
SetUpgradeItem 0
SetUpgradeItem 1
GETITEMADDVALUE boxitem0 1 <$STR(P11)>
GETNEWITEMVALUE boxitem0 0 <$STR(P17)>
GETNEWITEMVALUE boxitem0 1 <$STR(P18)>
#SAY
<ImgEx:1:27:28:29:360:25/@Exit><ImgEx:11:1452:1452:1452:-5:87>\
<ImgEx:11:22:23:24:148:400/@转移><PlayImg:13:0:12:120:2:363:0><PlayImg:13:110:8:120:-235:40:0><PlayImg:13:110:8:120:-320:40:0>\
<ImgEx:11:1461:1462:1463:35:20/@main><ImgEx:11:1470:1470:1470:45:20>
<ITEMBOX:0:-1:110:118:165:50:50:19:254#放入要转移物品>
<ITEMBOX:1:-1:110:270:165:50:50:19:254#放入附加的物品>\ \ \
<text:炼器精魄X1:160:280{FCOLOR=56}>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 没有附加属性的装备!!!!
break
[@ItemIntoBox1]
#IF
CHECKITEMTYPE boxitem1 <$BOXITEM[0].STDMODE>
#ELSEACT
UNALLOWITEMINTOBOX
MESSAGEBOX 转换必须是同类型的装备的装备!!!!
break
#IF
CheckItemAddValueEx boxitem1 > 0 0
#ACT
MESSAGEBOX 装备有附加属性继续转移会覆盖原属性\是否转换? @确认 @取消
[@取消]
#ACT
ReturnBoxItem 1
BREAK
[@转移]
#IF
CheckBoxItemCount 0
CheckBoxItemCount 1
CheckItem 炼器精魄 1
#ACT
Take 炼器精魄 1
SetUpgradeItem 0
SetUpgradeItem 1
SetNewItemValue boxitem0 0 = 0
SetNewItemValue boxitem1 0 + <$STR(P17)>
SetNewItemValue boxitem0 1 = 0
SetNewItemValue boxitem1 1 + <$STR(P18)>
CHANGEITEMADDVALUE boxitem0 1 = 0
CHANGEITEMADDVALUE boxitem1 1 = <$STR(P11)>
ReturnBoxItem 0
ReturnBoxItem 1
SENDMSG 6 转移成功!
CloseBigDialogBox
CLOSEMERCHANTBIGDLG
goto @main
break
#ELSEACT
MESSAGEBOX 你没放入要转移的装备!或您没有炼器精魄X1!!!
|