逍遥MIR 发表于 2024-7-12 00:50:54

独家传奇镶嵌神秘装备功能脚本


[@main]

#IF
#ACT
OPENMERCHANTBIGDLG 1 492 1 4 0 0 1 324 108
#SAY
 \ \ \ \ \ \ \ \ \
            <镶嵌神秘装备/@绑定属性> \ \
<ITEMBOX:0:1:76:80:30:76:5:5,6,10,11:254#只允许放入武器、衣服>
<ITEMBOX:1:1:76:130:30:76:5:41:254#只允许放入神秘装备>\
<ITEMBOX:2:1:76:145:200:76:5:5,6,10,11:254#只允许放入武器、衣服>\ \ \ \
        <装备框/SCOLOR=250>        <材料框/SCOLOR=250>\
      <镶嵌的装备放入装备框,镶嵌材料放入材料框/SCOLOR=19>\ \
      <武器衣服镶嵌之后会触发BUFF效果!非常牛逼/SCOLOR=19>\ \
           <取出已镶嵌的神秘装备/@取消属性>\

[@ItemIntoBox1]
#act
SetUpgradeItem 1
MOV S3 <$BOXITEM.NAME>

[@ItemIntoBox0]
#act
SetUpgradeItem 0

#iF
CHECKCUSTOMITEMVALUE -1 3 > 0
#ACT
MESSAGEBOX 你的装备已经镶嵌过了。
ReturnBoxItem 0
break


#IF
equal <$BOXITEM.STDMODE> 10
#ACT
MOV S1 衣服

#IF
equal <$BOXITEM.STDMODE> 11
#ACT
MOV S1 衣服


#IF
equal <$BOXITEM.STDMODE> 5
#ACT
MOV S1 武器

#IF
equal <$BOXITEM.STDMODE> 6
#ACT
MOV S1 武器




[@绑定属性]
#act
SetUpgradeItem 0

#OR
EQUAL <$BOXITEM.NAME>
EQUAL <$BOXITEM.NAME>
#ACT
MESSAGEBOX 尚未放入物品
break



#IF
EQUAL S1 衣服
EQUAL S3 黄马褂【至尊】
#act
CHANGECUSTOMITEMTEXT -1 黄马褂BUFF触发
CHANGECUSTOMITEMTEXT -1 攻击时触发敌对禁止攻击
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1000000
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 3 3 0
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 衣服
EQUAL S3 金缕玉衣【无双】
#act
CHANGECUSTOMITEMTEXT -1 金缕玉衣
CHANGECUSTOMITEMTEXT -1 攻击时触发敌对血量狂掉
CHANGECUSTOMITEMTEXTCOLOR -1 154
CHANGECUSTOMITEMVALUE -1 3 = 500000
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 3 3 0
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 衣服
EQUAL S3 金缕玉衣【无双】
#act
CHANGECUSTOMITEMTEXT -1 金缕玉衣
CHANGECUSTOMITEMTEXTCOLOR -1 154
CHANGECUSTOMITEMVALUE -1 3 = 20000
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 3 3 0
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break




#IF
EQUAL S1 武器
EQUAL S3 嗜血魔剑【至尊】
#act
CHANGECUSTOMITEMTEXT -1 嗜血魔剑BUFF激活
CHANGECUSTOMITEMTEXT -1 攻击敌人触发双目失明
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1000
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 0
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 武器
EQUAL S3 乾坤龙炎【无双】
#act
CHANGECUSTOMITEMTEXT -1 乾坤龙炎BUFF激活
CHANGECUSTOMITEMTEXT -1 攻击敌人随机取装备
CHANGECUSTOMITEMTEXTCOLOR -1 154
CHANGECUSTOMITEMVALUE -1 3 = 500
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 0
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 戒指
EQUAL S3 戒指LV1疾风之刃
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:疾风之刃LV1
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break



#IF
EQUAL S1 项链
EQUAL S3 LV3·蝶仙
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:蝶仙
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 3
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 项链
EQUAL S3 LV2·情人泪
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:情人泪
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 2
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 项链
EQUAL S3 LV1·千花结
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:千花结
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 手镯
EQUAL S3 LV3·战神魔腕
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:战神魔腕
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 3
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 手镯
EQUAL S3 LV2·玄羽圣腕
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:玄羽圣腕
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 2
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break



#IF
EQUAL S1 手镯
EQUAL S3 LV1·冰霜拳套
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:冰霜拳套
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 头盔
EQUAL S3 LV3·噬麟圣冠
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:噬麟圣冠
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 3
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 头盔
EQUAL S3 LV2·凶陌面具
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:凶陌面具
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 2
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break



#IF
EQUAL S1 头盔
EQUAL S3 LV1·追踪头盔
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:追踪头盔
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 腰带
EQUAL S3 LV3·天南蛟龙腰环
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:天南蛟龙腰环
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 3
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 腰带
EQUAL S3 LV2·少泽万华腰带
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:少泽万华腰带
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 2
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 腰带
EQUAL S3 LV1·雪月拈花带
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:雪月拈花带
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 靴子
EQUAL S3 LV3·八荒断云鞋
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:八荒断云鞋
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 3
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break

#IF
EQUAL S1 靴子
EQUAL S3 LV2·行云逐月鞋
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:行云逐月鞋
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 2
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break


#IF
EQUAL S1 靴子
EQUAL S3 LV1·一阳龙吟鞋
#act
CHANGECUSTOMITEMTEXT -1 镶嵌:一阳龙吟鞋
CHANGECUSTOMITEMTEXTCOLOR -1 253
CHANGECUSTOMITEMVALUE -1 3 = 1
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 0
ReturnBoxItem 0
DELBOXITEM 1
break
#ELSEACT
MESSAGEBOX 你放入的装备不符合规则。
ReturnBoxItem 0
ReturnBoxItem 1
break







[@ItemIntoBox2]
#act
SetUpgradeItem 2

#IF
equal <$BOXITEM.STDMODE> 15
#ACT
MOV S2 头盔

#IF
equal <$BOXITEM.STDMODE> 10
#ACT
MOV S2 衣服

#IF
equal <$BOXITEM.STDMODE> 11
#ACT
MOV S2 衣服

#IF
equal <$BOXITEM.STDMODE> 19
#ACT
MOV S2 项链

#IF
equal <$BOXITEM.STDMODE> 20
#ACT
MOV S2 项链

#IF
equal <$BOXITEM.STDMODE> 21
#ACT
MOV S2 项链

#IF
equal <$BOXITEM.STDMODE> 22
#ACT
MOV S2 戒指

#IF
equal <$BOXITEM.STDMODE> 23
#ACT
MOV S2 戒指

#IF
equal <$BOXITEM.STDMODE> 24
#ACT
MOV S2 手镯

#IF
equal <$BOXITEM.STDMODE> 26
#ACT
MOV S2 手镯

#IF
equal <$BOXITEM.STDMODE> 5
#ACT
MOV S2 武器

#IF
equal <$BOXITEM.STDMODE> 6
#ACT
MOV S2 武器

#IF
equal <$BOXITEM.STDMODE> 62
#ACT
MOV S2 靴子

#IF
equal <$BOXITEM.STDMODE> 52
#ACT
MOV S2 靴子

#IF
equal <$BOXITEM.STDMODE> 54
#ACT
MOV S2 腰带
break

#IF
equal <$BOXITEM.STDMODE> 64
#ACT
MOV S2 腰带
break

[@取消属性]
#act
SetUpgradeItem 2

#IF
EQUAL <$BOXITEM.NAME>
#ACT
MESSAGEBOX 尚未放入物品
break

#IF
EQUAL S2 武器
CHECKCUSTOMITEMVALUE -1 3 = 1000
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 嗜血魔剑【至尊】 1
break

#IF
EQUAL S2 武器
CHECKCUSTOMITEMVALUE -1 3 = 500
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 乾坤龙炎【无双】 1
break


#IF
EQUAL S2 武器
CHECKCUSTOMITEMVALUE -1 3 = 200
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 乾坤龙炎【无双】 1
break


#IF
EQUAL S2 项链
CHECKCUSTOMITEMVALUE -1 3 = 3
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV3·蝶仙 1
break

#IF
EQUAL S2 项链
CHECKCUSTOMITEMVALUE -1 3 = 2
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV2·情人泪 1
break



#IF
EQUAL S2 项链
CHECKCUSTOMITEMVALUE -1 3 = 1
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV1·千花结 1
break

#IF
EQUAL S2 戒指
CHECKCUSTOMITEMVALUE -1 3 > 0
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 戒指LV1疾风之刃 1
break

#IF
EQUAL S2 手镯
CHECKCUSTOMITEMVALUE -1 3 = 3
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV3·战神魔腕 1
break

#IF
EQUAL S2 手镯
CHECKCUSTOMITEMVALUE -1 3 = 2
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV2·玄羽圣腕 1
break

#IF
EQUAL S2 手镯
CHECKCUSTOMITEMVALUE -1 3 = 1
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV1·冰霜拳套 1
break

#IF
EQUAL S2 头盔
CHECKCUSTOMITEMVALUE -1 3 = 3
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV3·噬麟圣冠 1
break

#IF
EQUAL S2 头盔
CHECKCUSTOMITEMVALUE -1 3 = 2
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV2·凶陌面具 1
break

#IF
EQUAL S2 头盔
CHECKCUSTOMITEMVALUE -1 3 = 1
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV1·追踪头盔 1
break

#IF
EQUAL S2 腰带
CHECKCUSTOMITEMVALUE -1 3 = 3
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV3·天南蛟龙腰环 1
break

#IF
EQUAL S2 腰带
CHECKCUSTOMITEMVALUE -1 3 = 2
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV2·少泽万华腰带 1
break

#IF
EQUAL S2 腰带
CHECKCUSTOMITEMVALUE -1 3 = 1
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV1·雪月拈花带 1
break

#IF
EQUAL S2 靴子
CHECKCUSTOMITEMVALUE -1 3 = 3
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV3·八荒断云鞋 1
break


#IF
EQUAL S2 靴子
CHECKCUSTOMITEMVALUE -1 3 = 2
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV2·行云逐月鞋 1
break



#IF
EQUAL S2 靴子
CHECKCUSTOMITEMVALUE -1 3 = 1
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give LV1·一阳龙吟鞋 1
break

#IF
EQUAL S2 衣服
CHECKCUSTOMITEMVALUE -1 3 = 1000000
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 黄马褂【至尊】 1
break

#IF
EQUAL S2 衣服
CHECKCUSTOMITEMVALUE -1 3 = 500000
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 金缕玉衣【无双】 1
break


#IF
EQUAL S2 衣服
CHECKCUSTOMITEMVALUE -1 3 = 20000
#act
CHANGECUSTOMITEMTEXT -1
CHANGECUSTOMITEMVALUE -1 3 = 0
CHANGECUSTOMITEMABIL -1 3 0 251
CHANGECUSTOMITEMABIL -1 3 1 6
CHANGECUSTOMITEMABIL -1 3 3 1
UpDateBoxItem 2
ReturnBoxItem 2
give 金缕玉衣【无双】 1
break
#elseact
messagebox 尚未镶嵌神秘装备无法提取。
break

页: [1]
查看完整版本: 独家传奇镶嵌神秘装备功能脚本