Gom引擎脚本-神器解封

[复制链接]
查看1353 | 回复0 | 2017-9-8 12:36:29 | 显示全部楼层 |阅读模式
()
%100
[@main]
#ACT
ReturnBoxItem 0
OPENMERCHANTBIGDLG 4 26 0 0 0 0 1 240 310
#say
  \
  \
  <如果你获得了被侵蚀过的神器/SCOLOR=223>\
  <那么可以在这里进行神器熔炼/SCOLOR=223>\
 <[人]/SCOLOR=231>-<[灵]/SCOLOR=103>-<[鬼]/SCOLOR=242>-<[魔]/SCOLOR=254>-<[仙]/SCOLOR=151>-<[神]/SCOLOR=253>-<[圣]/SCOLOR=249>\
  <分别对应1.2.3.5.8.12.17点元素属性/SCOLOR=103>\
      <放入可熔炼神器/AUTOCOLOR=254,251,168,191,250,70,245,249,253> \
       <↓↓↓↓↓/AUTOCOLOR=254,251,168,191,250,70,245,249,253> \
<ITEMBOX:0:4:36:90:5:50:50:*:254#请放入带有[神器]字样的装备>\
            <鼠标移动此处|149#熔炼介绍如下:^226#当包袱有1颗《暗黑晶石》,那么你的神器只能熔炼出【人级神器】^227#只有当包袱的《暗黑晶石》超过7颗时,才有一定几率熔炼出【圣级神器】^229#熔炼成功后,武器后会带有·人-圣,不同的字样^149#神器成功熔炼所需要《暗黑晶石》数量详细介绍如下:^231#XXX·人级,熔炼成功后,消耗1颗《暗黑晶石》,攻魔道+5,输出元素+1^103#XXX·灵级,熔炼成功后,消耗2颗《暗黑晶石》,攻魔道+10,输出元素+2^242#XXX·鬼级,熔炼成功后,消耗3颗《暗黑晶石》,攻魔道+20,输出元素+3^254#XXX·魔级,熔炼成功后,消耗4颗《暗黑晶石》,攻魔道+40,输出元素+4^151#XXX·仙级,熔炼成功后,消耗5颗《暗黑晶石》,攻魔道+80,输出元素+5^253#XXX·神级,熔炼成功后,消耗6颗《暗黑晶石》,攻魔道+160,输出元素+6^249#XXX·圣级,熔炼成功后,消耗7颗《暗黑晶石》,攻魔道+320,输出元素+8>\
            <查询熔炼详情|149#熔炼介绍如下:^226#当包袱有1颗《暗黑晶石》,那么你的神器只能熔炼出【人级神器】^227#只有当包袱的《暗黑晶石》超过7颗时,才有一定几率熔炼出【圣级神器】^229#熔炼成功后,武器后会带有·人-圣,不同的字样^149#神器成功熔炼所需要《暗黑晶石》数量详细介绍如下:^231#XXX·人级,熔炼成功后,消耗1颗《暗黑晶石》,攻魔道+5,输出元素+1^103#XXX·灵级,熔炼成功后,消耗2颗《暗黑晶石》,攻魔道+10,输出元素+2^242#XXX·鬼级,熔炼成功后,消耗3颗《暗黑晶石》,攻魔道+20,输出元素+3^254#XXX·魔级,熔炼成功后,消耗4颗《暗黑晶石》,攻魔道+40,输出元素+4^151#XXX·仙级,熔炼成功后,消耗5颗《暗黑晶石》,攻魔道+80,输出元素+5^253#XXX·神级,熔炼成功后,消耗6颗《暗黑晶石》,攻魔道+160,输出元素+6^249#XXX·圣级,熔炼成功后,消耗7颗《暗黑晶石》,攻魔道+320,输出元素+8>\
 \
      <【点击开始熔炼】/@开始>\
  \
\ <每次熔炼都会消耗:/SCOLOR=242><1枚-7枚暗黑晶石/SCOLOR=151>\
\ <携带7颗以上才有几率出现圣级装备/SCOLOR=242>\
\ <暗黑晶石/SCOLOR=151><暗黑生物 掉落/SCOLOR=242>\

[@ItemIntoBox0]
#IF
EQUAL <$BOXITEM[0].INDEX> 628
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 629
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 630
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 631
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 632
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 633
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 634
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 873
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 874
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 875
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 876
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 877
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 896
#ACT
break
#IF
EQUAL <$BOXITEM[0].INDEX> 951
#ACT
break
#ELSEACT
messagebox 非常抱歉,目前只支持神器熔炼!\
UNALLOWITEMINTOBOX
BREAK
[@开始]
#IF
EQUAL <$BOXITEM[0].NAME>
#ACT
MESSAGEBOX 请放入需要熔炼的装备!
break
#IF
checkitem 暗黑晶石 7
RANDOM 50
#ACT
take 暗黑晶石 7
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 249
SetNewItemValue -1 0 = 8
SetNewItemValue -1 1 = 8
SetNewItemValue -1 4 = 8
CHANGEITEMADDVALUE -1 0 = 320
CHANGEITEMADDVALUE -1 1 = 320
CHANGEITEMADDVALUE -1 2 = 320
ChangeItemName -1 <$BOXITEM[0].NAME>·圣级
ChangeItemUpgradeCount -1 + 70
UpDateBoxItem 0
SENDMSG 1 249 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[圣级]神器{—<$BOXITEM[0].NAME>·圣级|249:0:1}
goto @对话
BREAK
#IF
checkitem 暗黑晶石 6
RANDOM 25
#ACT
take 暗黑晶石 6
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 253
SetNewItemValue -1 0 = 6
SetNewItemValue -1 1 = 6
SetNewItemValue -1 4 = 6
CHANGEITEMADDVALUE -1 0 = 160
CHANGEITEMADDVALUE -1 1 = 160
CHANGEITEMADDVALUE -1 2 = 160
ChangeItemName -1 <$BOXITEM[0].NAME>·神级
ChangeItemUpgradeCount -1 + 61
UpDateBoxItem 0
SENDMSG 1 253 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[神级]神器{—<$BOXITEM[0].NAME>·神级|253:0:1}
goto @对话
BREAK
#IF
checkitem 暗黑晶石 5
RANDOM 14
#ACT
take 暗黑晶石 5
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 151
SetNewItemValue -1 0 = 5
SetNewItemValue -1 1 = 5
SetNewItemValue -1 4 = 5
CHANGEITEMADDVALUE -1 0 = 80
CHANGEITEMADDVALUE -1 1 = 80
CHANGEITEMADDVALUE -1 2 = 80
ChangeItemName -1 <$BOXITEM[0].NAME>·仙级
ChangeItemUpgradeCount -1 + 52
UpDateBoxItem 0
SENDMSG 1 151 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[仙级]神器{—<$BOXITEM[0].NAME>·仙级|151:0:1}
goto @对话
BREAK
#IF
checkitem 暗黑晶石 4
RANDOM 9
#ACT
take 暗黑晶石 4
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 254
SetNewItemValue -1 0 = 4
SetNewItemValue -1 1 = 4
SetNewItemValue -1 4 = 4
CHANGEITEMADDVALUE -1 0 = 40
CHANGEITEMADDVALUE -1 1 = 40
CHANGEITEMADDVALUE -1 2 = 40
ChangeItemName -1 <$BOXITEM[0].NAME>·魔级
ChangeItemUpgradeCount -1 + 43
UpDateBoxItem 0
SENDMSG 1 254 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[魔级]神器{—<$BOXITEM[0].NAME>·魔级|254:0:1}
goto @对话
BREAK
#IF
checkitem 暗黑晶石 3
RANDOM 5
#ACT
take 暗黑晶石 3
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 242
SetNewItemValue -1 0 = 3
SetNewItemValue -1 1 = 3
SetNewItemValue -1 4 = 3
CHANGEITEMADDVALUE -1 0 = 20
CHANGEITEMADDVALUE -1 1 = 20
CHANGEITEMADDVALUE -1 2 = 20
ChangeItemName -1 <$BOXITEM[0].NAME>·鬼级
ChangeItemUpgradeCount -1 + 34
UpDateBoxItem 0
SENDMSG 1 242 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[鬼级]神器{—<$BOXITEM[0].NAME>·鬼级|242:0:1}
goto @对话
BREAK
#IF
checkitem 暗黑晶石 2
RANDOM 2
#ACT
take 暗黑晶石 2
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 103
SetNewItemValue -1 0 = 2
SetNewItemValue -1 1 = 2
SetNewItemValue -1 4 = 2
CHANGEITEMADDVALUE -1 0 = 10
CHANGEITEMADDVALUE -1 1 = 10
CHANGEITEMADDVALUE -1 2 = 10
ChangeItemName -1 <$BOXITEM[0].NAME>·灵级
ChangeItemUpgradeCount -1 + 25
UpDateBoxItem 0
SENDMSG 1 103 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[灵级]神器{—<$BOXITEM[0].NAME>·灵级|103:0:1}
goto @对话
BREAK
#IF
checkitem 暗黑晶石 1
#ACT
take 暗黑晶石 1
SetUpgradeItem 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
CHANGEITEMADDVALUE -1 0 = 0
CHANGEITEMADDVALUE -1 1 = 0
CHANGEITEMADDVALUE -1 2 = 0
ChangeItemUpgradeCount -1 - 100
CHANGEITEMNAMECOLOR -1 231
SetNewItemValue -1 0 = 1
SetNewItemValue -1 1 = 1
SetNewItemValue -1 4 = 1
CHANGEITEMADDVALUE -1 0 = 5
CHANGEITEMADDVALUE -1 1 = 5
CHANGEITEMADDVALUE -1 2 = 5
ChangeItemName -1 <$BOXITEM[0].NAME>·人级
ChangeItemUpgradeCount -1 + 16
UpDateBoxItem 0
SENDMSG 1 231 0 {[%s]|251:0:1}{熔炼出了|243:0:1}[人级]神器{—<$BOXITEM[0].NAME>·人级|231:0:1}
goto @对话
BREAK


回复

使用道具 举报

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

本版积分规则