找回密码
 立即注册
查看: 88|回复: 0

[脚本资源] 传奇GOM引擎七星武器锻造脚本

[复制链接]

0

威望

2660

元宝

1万

金币

VIP会员

积分
6864
逍遥MIR 发表于 2024-7-16 21:03:30 | 显示全部楼层 |阅读模式
[@main]

#ACT
OPENMERCHANTBIGDLG 14 742 0 0 10 0 0 0 0 \
#say
<Img:233:0:360:0/@EXIT>\
\  \
               <我这里可以给武器锻造洗练/SCOLOR=253>\
\   < 〓〓〓〓〓〓〓〓〓/SCOLOR=70>  <独家BUFF系统/SCOLOR=251>  <〓〓〓〓〓〓〓〓〓/SCOLOR=70>\
\    <锻造师:我这里可以给武器锻造,[锻造属性]星星越高越好/SCOLOR=249>\
\    <满10点升一个星星,例如锻造属性为一星,那只能锻造至一星/SCOLOR=249>\
\    <4个星星以上的武器会额外附加元素属性/SCOLOR=249>\
\                  <武器可分1-7星锻造品质/AUTOCOLOR=254,251,168,191,250,70,245,249,253>
\    <初始的武器星星低了可以去洗练武器,洗练会清除一切锻造属性/SCOLOR=251>\ \
\       <开始锻造武器/@衣服buff附魔>                        <洗练武器|250#每次洗练固定收费50W金币/@武器星级>\
<PlayImg:0:3150:1:300:168:-14:0>\


[@武器星级]
#SAY
\ \ \ \ \
\ \
\  放入武器→<ITEMBOX:2:22:3234:6:-12:41:38:53,5:放入需要洗练的武器> ←放入武器\
\<PlayImg:14:2650:8:100:-10:-50:1>\
\ \
\ \
\<PlayImg:0:2848:4:800:-25:-55:1>\
\ \ \ \
\ \
\ \
\ \
\           <开始洗练/@开始洗星星>\
\ \
\ \
\           <返回首页/@main>\
<Img:233:0:190:-335/@EXIT>\
<PlayImg:0:560:10:300:87:-257:1>\
#ACT
OPENMERCHANTBIGDLG 14 760 1 4 0 0 1 370 15
break

[@ItemIntoBox2]
#ACT
SetUpgradeItem 2
mov S22 <$BOXITEM[2].NAME>
GOTO @重生类型判断2
break

[@重生类型判断2]
#if
CheckTextList ..\QuestDiary\列表文件\可锻造装备列表.txt <$STR(S22)>
#ACT
SetUpgradeItem 2
#elseact
ReturnBoxItem 2
MESSAGEBOX  指定的武器才可以洗练

[@开始洗星星]
#IF
Equal <$BOXITEM[2].NAME_G>
#ACT
MessageBox 洗练失败,你还没有把武器放进去。
break

#IF
NOT Equal <$BOXITEM[2].NAME_G>
#ACT
goto @几率锻造1212

[@几率锻造1212]
#IF
checkgold 500000
#ACT
take 金币 500000
ChangeItemUpgradeCount -1 = 0
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 = 0
CHANGECUSTOMITEMVALUE -1 0 = 0
CHANGECUSTOMITEMVALUE -1 1 = 0
CHANGECUSTOMITEMVALUE -1 2 = 0
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMVALUE -1 4 = 0
CHANGECUSTOMITEMVALUE -1 5 = 0
CHANGECUSTOMITEMVALUE -1 6 = 0
CHANGECUSTOMITEMVALUE -1 7 = 0
CHANGECUSTOMITEMVALUE -1 8 = 0
CHANGECUSTOMITEMVALUE -1 9 = 0
SetNewItemValue -1 0 = 0
SetNewItemValue -1 1 = 0
SetNewItemValue -1 2 = 0
SetNewItemValue -1 3 = 0
SetNewItemValue -1 4 = 0
SetNewItemValue -1 5 = 0
SetNewItemValue -1 6 = 0
SetNewItemValue -1 7 = 0
SetNewItemValue -1 8 = 0
SetNewItemValue -1 9 = 0
SetNewItemValue -1 10 = 0
goto @开始了锻造1231
#elseact
SENDMSG 5 洗练锻造属性需要50W金币



[@开始了锻造1231]
#if
RANDOM 50
#ACT
CHANGECUSTOMITEMTEXT -1 [锻造属性]:七星
;修改备注名称颜色
CHANGECUSTOMITEMTEXTCOLOR -1 243
ChangeItemNameColor -1 241
CHANGECUSTOMITEMPROGRESSBAR -1 0 0 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 1 = 10
CHANGECUSTOMITEMPROGRESSBAR -1 0 2 22
CHANGECUSTOMITEMPROGRESSBAR -1 0 4 2
CHANGECUSTOMITEMPROGRESSBAR -1 0 1 锻造Lv:
SENDMSG 6 洗练成功
SENDMOVEMSG 0 241 255 100 1 【<$USERNAME>】在武器锻造师把【<$BOXITEM[2].NAME>】洗练出了七星的锻造属性
UpDateBoxItem 2
ReturnBoxItem 2
break

#if
RANDOM 40
#ACT
CHANGECUSTOMITEMTEXT -1 [锻造属性]:六星
;修改备注名称颜色
CHANGECUSTOMITEMTEXTCOLOR -1 243
ChangeItemNameColor -1 249
CHANGECUSTOMITEMPROGRESSBAR -1 0 0 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 1 = 10
CHANGECUSTOMITEMPROGRESSBAR -1 0 2 22
CHANGECUSTOMITEMPROGRESSBAR -1 0 4 2
CHANGECUSTOMITEMPROGRESSBAR -1 0 1 锻造Lv:
SENDMSG 6 洗练成功
SENDMOVEMSG 0 241 255 100 1 【<$USERNAME>】在武器锻造师把【<$BOXITEM[2].NAME>】洗练出了六星的锻造属性
UpDateBoxItem 2
ReturnBoxItem 2
break

#if
RANDOM 30
#ACT
CHANGECUSTOMITEMTEXT -1 [锻造属性]:五星
;修改备注名称颜色
CHANGECUSTOMITEMTEXTCOLOR -1 243
ChangeItemNameColor -1 253
CHANGECUSTOMITEMPROGRESSBAR -1 0 0 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 1 = 10
CHANGECUSTOMITEMPROGRESSBAR -1 0 2 22
CHANGECUSTOMITEMPROGRESSBAR -1 0 4 2
CHANGECUSTOMITEMPROGRESSBAR -1 0 1 锻造Lv:
SENDMSG 6 洗练成功
SendCenterMsg 249 0 【<$USERNAME>】在武器锻造师把【<$BOXITEM[2].NAME>】洗练出了五星的锻造属性 1 10
UpDateBoxItem 2
ReturnBoxItem 2
break

#if
RANDOM 20
#ACT
CHANGECUSTOMITEMTEXT -1 [锻造属性]:四星
;修改备注名称颜色
CHANGECUSTOMITEMTEXTCOLOR -1 243
ChangeItemNameColor -1 229
CHANGECUSTOMITEMPROGRESSBAR -1 0 0 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 1 = 10
CHANGECUSTOMITEMPROGRESSBAR -1 0 2 22
CHANGECUSTOMITEMPROGRESSBAR -1 0 4 2
CHANGECUSTOMITEMPROGRESSBAR -1 0 1 锻造Lv:
SENDMSG 6 洗练成功
SendCenterMsg 249 0 【<$USERNAME>】在武器锻造师把【<$BOXITEM[2].NAME>】洗练出了四星的锻造属性 1 10
UpDateBoxItem 2
ReturnBoxItem 2
break

#if
RANDOM 5
#ACT
CHANGECUSTOMITEMTEXT -1 [锻造属性]:三星
;修改备注名称颜色
CHANGECUSTOMITEMTEXTCOLOR -1 243
ChangeItemNameColor -1 254
CHANGECUSTOMITEMPROGRESSBAR -1 0 0 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 1 = 10
CHANGECUSTOMITEMPROGRESSBAR -1 0 2 22
CHANGECUSTOMITEMPROGRESSBAR -1 0 4 2
CHANGECUSTOMITEMPROGRESSBAR -1 0 1 锻造Lv:
SENDMSG 6 洗练成功
UpDateBoxItem 2
ReturnBoxItem 2
break

#if
#ACT
CHANGECUSTOMITEMTEXT -1 [锻造属性]:二星
;修改备注名称颜色
CHANGECUSTOMITEMTEXTCOLOR -1 254
ChangeItemNameColor -1 250
CHANGECUSTOMITEMPROGRESSBAR -1 0 0 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 1 = 10
CHANGECUSTOMITEMPROGRESSBAR -1 0 2 22
CHANGECUSTOMITEMPROGRESSBAR -1 0 4 2
CHANGECUSTOMITEMPROGRESSBAR -1 0 1 锻造Lv:
SENDMSG 6 洗练成功
UpDateBoxItem 2
ReturnBoxItem 2
break


[@衣服buff附魔]
#SAY
\ \ \ \ \
\ \
\  放入武器→<ITEMBOX:1:22:3234:6:-12:41:38:53,5:放入需要锻造的武器> ←放入武器\
\<PlayImg:14:2650:8:100:-10:-50:1>\
\ \
\ \
\<PlayImg:0:2848:4:800:-25:-55:1>\
\ \ \ \
\ \
\ \
\ \
\           <确定锻造/@开始衣服附魔>\
\ \
\ \
\           <返回首页/@main>\
<Img:233:0:190:-335/@EXIT>\
<PlayImg:0:3151:1:800:79:-269:1>\
#ACT
OPENMERCHANTBIGDLG 14 760 1 4 0 0 1 370 15
break

[@ItemIntoBox1]
#ACT
SetUpgradeItem 1
mov S22 <$BOXITEM[1].NAME>
GOTO @重生类型21
break

[@重生类型21]
#if
CheckTextList ..\QuestDiary\列表文件\可锻造装备列表.txt <$STR(S22)>
#ACT
SetUpgradeItem 1
GOTO @判断23
#elseact
ReturnBoxItem 1
MESSAGEBOX  指定的武器才可以锻造

[@判断23]
#IF
CheckItemupgradeCount -1 1 = 6
#ACT
SENDMSG 7 您当前放入的是【六星属性武器】请确定包袱内有【金币70万】
break
#IF
CheckItemupgradeCount -1 1 = 5
#ACT
SENDMSG 7 您当前放入的是【五星属性武器】请确定包袱内有【金币60万】
break
#IF
CheckItemupgradeCount -1 1 = 4
#ACT
SENDMSG 7 您当前放入的是【四星属性武器】请确定包袱内有【金币50万】
break
#IF
CheckItemupgradeCount -1 1 = 3
#ACT
SENDMSG 7 您当前放入的是【三星属性武器】请确定包袱内有【金币40万】
break
#IF
CheckItemupgradeCount -1 1 = 2
#ACT
SENDMSG 7 您当前放入的是【二星属性武器】请确定包袱内有【金币30万】
break
#IF
CheckItemupgradeCount -1 1 = 1
#ACT
SENDMSG 7 您当前放入的是【一星属性武器】请确定包袱内有【金币20万】
break
#IF
CheckItemupgradeCount -1 1 = 0
#ACT
SENDMSG 7 您当前放入的【武器没有星级】请确定包袱内有【金币10万】
break
#elseact
ReturnBoxItem 1
MESSAGEBOX  您当前放入的装备无法锻造


[@开始衣服附魔]
#IF
Equal <$BOXITEM[1].NAME_G>
#ACT
MessageBox 锻造失败,你还没有把武器放进去。
break

#IF
NOT Equal <$BOXITEM[1].NAME_G>
#ACT
goto @几率锻造

[@几率锻造]
#if
CheckItemNameColor -1 255
#act
goto @传说武器11
break

#if
CheckItemNameColor -1 250
#act
goto @传说武器22
break

#if
CheckItemNameColor -1 254
#act
goto @传说武器33
break

#if
CheckItemNameColor -1 229
#act
goto @传说武器44
break

#if
CheckItemNameColor -1 253
#act
goto @传说武器55
break

#if
CheckItemNameColor -1 249
#act
goto @传说武器66
break

#if
CheckItemNameColor -1 241
#act
goto @传说武器77
break
#elseact
ReturnBoxItem 1
MESSAGEBOX  武器要经过佩戴出锻造经验条才可以锻造


[@传说武器11]
#if
CheckItemupgradeCount -1 1 = 1
#ACT
SENDMSG 5 此武器只能锻造到一星等级
#elseact
goto @开始锻造01




[@开始锻造01]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造1
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造1
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造1
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造1
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造1
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造1
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造1
#elseact
SENDMSG 5 金币不足
break


[@开始了锻造1]
#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器111
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器111
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造1


[@几率锻造1]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器111]
#IF
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
goto @元素检测

;--------------------------------------------------

[@传说武器22]
#if
CheckItemupgradeCount -1 1 = 2
#ACT
SENDMSG 5 此武器只能锻造到二星等级
#elseact
goto @开始锻造02



[@开始锻造02]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造2
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造2
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造2
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造2
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造2
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造2
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造2
#elseact
SENDMSG 5 金币不足
break


[@开始了锻造2]
#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器222
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器222
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造2


[@几率锻造2]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器222]
#IF
CheckItemupgradeCount -1 1 = 1
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
goto @元素检测
break

#IF
CheckItemupgradeCount -1 1 < 1
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 10
goto @元素检测
break

;--------------------------------------------------

[@传说武器33]
#if
CheckItemupgradeCount -1 1 = 3
#ACT
SENDMSG 5 此武器只能锻造到三星等级
#elseact
goto @开始锻造03



[@开始锻造03]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造3
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造3
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造3
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造3
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造3
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造3
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造3
#elseact
SENDMSG 5 金币不足
break


[@开始了锻造3]
#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器333
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器333
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造3


[@几率锻造3]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器333]
#IF
CheckItemupgradeCount -1 1 = 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 4 + 1
CHANGECUSTOMITEMVALUE -1 5 + 1
CHANGECUSTOMITEMVALUE -1 6 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 4 3 0
CHANGECUSTOMITEMABIL -1 5 3 0
CHANGECUSTOMITEMABIL -1 6 3 0
goto @元素检测
break

#IF
CheckItemupgradeCount -1 1 < 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 10
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 4 + 1
CHANGECUSTOMITEMVALUE -1 5 + 1
CHANGECUSTOMITEMVALUE -1 6 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 4 3 0
CHANGECUSTOMITEMABIL -1 5 3 0
CHANGECUSTOMITEMABIL -1 6 3 0
goto @元素检测
break

;--------------------------------------------------

[@传说武器44]
#if
CheckItemupgradeCount -1 1 = 4
#ACT
SENDMSG 5 此武器只能锻造到四星等级
#elseact
goto @开始锻造04



[@开始锻造04]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造4
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造4
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造4
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造4
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造4
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造4
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造4
#elseact
SENDMSG 5 金币不足
break


[@开始了锻造4]
#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器444
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器444
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造4


[@几率锻造4]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器444]
#IF
CheckItemupgradeCount -1 1 = 3
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 4 + 2
CHANGECUSTOMITEMVALUE -1 5 + 2
CHANGECUSTOMITEMVALUE -1 6 + 2
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 4 3 0
CHANGECUSTOMITEMABIL -1 5 3 0
CHANGECUSTOMITEMABIL -1 6 3 0
goto @元素检测
break

#IF
CheckItemupgradeCount -1 1 < 3
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 10
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 4 + 2
CHANGECUSTOMITEMVALUE -1 5 + 2
CHANGECUSTOMITEMVALUE -1 6 + 2
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 4 3 0
CHANGECUSTOMITEMABIL -1 5 3 0
CHANGECUSTOMITEMABIL -1 6 3 0
goto @元素检测
break

;--------------------------------------------------

[@传说武器55]
#if
CheckItemupgradeCount -1 1 = 5
#ACT
SENDMSG 5 此武器只能锻造到五星等级
#elseact
goto @开始锻造05



[@开始锻造05]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造5
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造5
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造5
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造5
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造5
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造5
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造5
#elseact
SENDMSG 5 金币不足
break


[@开始了锻造5]
#IF
RANDOM 8
CheckItemupgradeCount -1 1 > 4
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器555
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器555
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
CheckItemupgradeCount -1 1 < 5
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器555
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造5


[@几率锻造5]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器555]
#IF
CheckItemupgradeCount -1 1 = 4
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 3 + 1
CHANGECUSTOMITEMVALUE -1 4 + 1
CHANGECUSTOMITEMVALUE -1 5 + 1
CHANGECUSTOMITEMVALUE -1 6 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 3 0 249
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 3 2 5
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1
goto @元素检测
break

#IF
CheckItemupgradeCount -1 1 < 4
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 10
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 3 + 1
CHANGECUSTOMITEMVALUE -1 4 + 1
CHANGECUSTOMITEMVALUE -1 5 + 1
CHANGECUSTOMITEMVALUE -1 6 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 3 0 249
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 3 2 5
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1
goto @元素检测
break

;--------------------------------------------------

[@传说武器66]
#if
CheckItemupgradeCount -1 1 = 6
#ACT
SENDMSG 5 此武器只能锻造到六星等级
#elseact
goto @开始锻造06



[@开始锻造06]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造6
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造6
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造6
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造6
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造6
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造6
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造6
#elseact
SENDMSG 5 金币不足
break


[@开始了锻造6]
#IF
RANDOM 8
CheckItemupgradeCount -1 1 > 4
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器666
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器666
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
CheckItemupgradeCount -1 1 < 5
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器666
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造6


[@几率锻造6]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器666]
#IF
CheckItemupgradeCount -1 1 = 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 3 + 1
CHANGECUSTOMITEMVALUE -1 4 + 2
CHANGECUSTOMITEMVALUE -1 5 + 2
CHANGECUSTOMITEMVALUE -1 6 + 2
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 3 0 249
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 3 2 5
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1
goto @元素检测
break

#IF
CheckItemupgradeCount -1 1 < 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 10
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 3 + 1
CHANGECUSTOMITEMVALUE -1 4 + 2
CHANGECUSTOMITEMVALUE -1 5 + 2
CHANGECUSTOMITEMVALUE -1 6 + 2
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 3 0 249
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 3 2 5
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1
goto @元素检测
break

;--------------------------------------------------

[@传说武器77]
#if
CheckItemupgradeCount -1 1 = 7
#ACT
SENDMSG 5 此武器只能锻造到七星等级
#elseact
goto @开始锻造07



[@开始锻造07]
#IF
checkgold 700000
CheckItemupgradeCount -1 1 = 6
#ACT
take 金币 700000
goto @开始了锻造7
break
#IF
checkgold 600000
CheckItemupgradeCount -1 1 = 5
#ACT
take 金币 600000
goto @开始了锻造7
break
#IF
checkgold 500000
CheckItemupgradeCount -1 1 = 4
#ACT
take 金币 500000
goto @开始了锻造7
break
#IF
checkgold 400000
CheckItemupgradeCount -1 1 = 3
#ACT
take 金币 400000
goto @开始了锻造7
break
#IF
checkgold 300000
CheckItemupgradeCount -1 1 = 2
#ACT
take 金币 300000
goto @开始了锻造7
break
#IF
checkgold 200000
CheckItemupgradeCount -1 1 = 1
#ACT
take 金币 200000
goto @开始了锻造7
break
#IF
checkgold 100000
CheckItemupgradeCount -1 1 = 0
#ACT
take 金币 100000
goto @开始了锻造7
#elseact
SENDMSG 5 金币不足
break

[@开始了锻造7]
#IF
RANDOM 8
CheckItemupgradeCount -1 1 > 4
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器777
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 2
CheckItemupgradeCount -1 1 < 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器777
SENDMSG 6 您的武器锻造成功
break

#IF
RANDOM 4
CheckItemupgradeCount -1 1 > 1
CheckItemupgradeCount -1 1 < 5
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 + 2
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 0 + 1
CHANGECUSTOMITEMVALUE -1 1 + 1
CHANGECUSTOMITEMVALUE -1 2 + 1
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 0 0 251
CHANGECUSTOMITEMABIL -1 1 0 251
CHANGECUSTOMITEMABIL -1 2 0 251
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 0 1 3
CHANGECUSTOMITEMABIL -1 1 1 4
CHANGECUSTOMITEMABIL -1 2 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 0 2 2
CHANGECUSTOMITEMABIL -1 1 2 3
CHANGECUSTOMITEMABIL -1 2 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 0 3 0
CHANGECUSTOMITEMABIL -1 1 3 0
CHANGECUSTOMITEMABIL -1 2 3 0
UpDateBoxItem 1
SetUpgradeItem 1
goto @传说武器777
SENDMSG 6 您的武器锻造成功
break
#elseact
goto @几率锻造7


[@几率锻造7]
#IF
RANDOM 2
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 > 2
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#IF
RANDOM 5
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 > 1
CheckItemupgradeCount -1 1 < 3
#ACT
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 2
SetUpgradeItem 1
CHANGECUSTOMITEMVALUE -1 0 - 1
CHANGECUSTOMITEMVALUE -1 1 - 1
CHANGECUSTOMITEMVALUE -1 2 - 1
UpDateBoxItem 1
SENDMSG 5 您的武器锻造失败,锻造经验下掉2点
break
#elseact
UpDateBoxItem 1
SENDMSG 7 很可惜,您的装备锻造失败了,等级不变

[@传说武器777]
#IF
CheckItemupgradeCount -1 1 = 6
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 3 + 3
CHANGECUSTOMITEMVALUE -1 4 + 2
CHANGECUSTOMITEMVALUE -1 5 + 2
CHANGECUSTOMITEMVALUE -1 6 + 2
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 3 0 249
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 3 2 5
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1
goto @元素检测
break

#IF
CheckItemupgradeCount -1 1 < 6
CHECKCUSTOMITEMPROGRESSBARVALUE -1 0 0 = 10
#ACT
ChangeItemUpgradeCount -1 + 1
CHANGECUSTOMITEMPROGRESSBARVALUE -1 0 0 - 10
;自定义对应属性位置的数值
CHANGECUSTOMITEMVALUE -1 3 + 3
CHANGECUSTOMITEMVALUE -1 4 + 2
CHANGECUSTOMITEMVALUE -1 5 + 2
CHANGECUSTOMITEMVALUE -1 6 + 2
;自定义属性说明的颜色
CHANGECUSTOMITEMABIL -1 3 0 249
CHANGECUSTOMITEMABIL -1 4 0 254
CHANGECUSTOMITEMABIL -1 5 0 254
CHANGECUSTOMITEMABIL -1 6 0 254
;自定义属性代表的位置
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 4 1 3
CHANGECUSTOMITEMABIL -1 5 1 4
CHANGECUSTOMITEMABIL -1 6 1 5
;自定义属性显示的格式
CHANGECUSTOMITEMABIL -1 3 2 5
CHANGECUSTOMITEMABIL -1 4 2 2
CHANGECUSTOMITEMABIL -1 5 2 3
CHANGECUSTOMITEMABIL -1 6 2 4
;自定义属性是否百分比
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1
goto @元素检测
break

;--------------------------------------------------


[@元素检测]
#IF
CheckItemupgradeCount -1 1 = 4
#ACT
movr S86 0 7
SetNewItemValue -1 <$STR(S86)> = 3
UpDateBoxItem 1
ReturnBoxItem 1
break
#IF
CheckItemupgradeCount -1 1 = 5
#ACT
movr S87 0 7
SetNewItemValue -1 <$STR(S87)> = 4
SetNewItemValue -1 <$STR(S87)> = 4
UpDateBoxItem 1
ReturnBoxItem 1
break
#IF
CheckItemupgradeCount -1 1 = 6
#ACT
movr S88 0 7
SetNewItemValue -1 <$STR(S88)> = 5
SetNewItemValue -1 <$STR(S88)> = 5
SetNewItemValue -1 <$STR(S88)> = 5
UpDateBoxItem 1
ReturnBoxItem 1
break
#IF
CheckItemupgradeCount -1 1 = 7
#ACT
movr S89 0 7
SetNewItemValue -1 <$STR(S89)> = 6
SetNewItemValue -1 <$STR(S89)> = 6
SetNewItemValue -1 <$STR(S89)> = 6
SetNewItemValue -1 <$STR(S89)> = 6
UpDateBoxItem 1
ReturnBoxItem 1
break
#IF
CheckItemupgradeCount -1 1 < 4
#ACT
UpDateBoxItem 1
ReturnBoxItem 1
break

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|小黑屋|逍遥版本库

GMT+8, 2024-11-22 10:08 , Processed in 0.114287 second(s), 28 queries .

Powered by XyBbk! X3.5

Copyright © 2001-2024, XyBbk Cloud.

快速回复 返回顶部 返回列表