wojiajimi 发表于 2022-6-18 16:04:47

[免费脚本]装备改良脚本

{装备改良脚本}适用引擎:Gee-Gom引擎脚本特色:装备改良脚本,可自行扩展占用变量:无占用补丁:无下载需求:免费脚本、回复可见
NPC添加脚本内容:
[@main]
#if
#Act
OPENMERCHANTBIGDLG 36 390 0 4 -30 -100 1 510 90
#say
 \ \ \ \ \ \ \ \
           <尊敬的玩家你好,你是否还想提升首饰的属性!/SCOLOR=87>\ \
           <我可以帮你首饰提炼出5种品质,/SCOLOR=87>\ \
           <品级分为:/SCOLOR=87> <[良品]/SCOLOR=250> <[强化]/SCOLOR=229> <[精良]/SCOLOR=242> <[卓越]/SCOLOR=249> <[传说]/SCOLOR=70>\ \
             <[武器改良]/@武器改造>  <[衣服改良]/@衣服改造>   <[头盔改良]/@头盔改造>  <[项链改良]/@项链改造> \ \

             <[左手改良]/@左手改造>  <[右手改良]/@右手改造>   <[左戒改良]/@左戒改造>  <[右戒改良]/@右戒改造> \ \

             <[腰带改良]/@腰带改造>  <每次改良需要一颗品级矿石/SCOLOR=232>  <[靴子改良]/@靴子改造> \ \
\


[@靴子改造]
#IF
NOT CHECKUSEITEM 11
#ACT
MESSAGEBOX \\这地方带装备了么?
break

#IF
NOT CheckContainsTextListEx ..\QuestDiary\功能脚本\装备品阶\装备名称.txt <$BOOTS>
#ACT
MESSAGEBOX \\此物品禁止改造!
break

#IF
#ACT
MOVR N$靴子加点 1 300
GetRandomText ..\QuestDiary\功能脚本\装备品阶\攻击防御.txt S10

#IF
Equal <$STR(S10)> 攻击
checkitem 品级矿石 1
large N$靴子加点 0
small N$靴子加点 70
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[良品]
;ChangeItemName 11 <$BOOTS>[良品]
CHANGECUSTOMITEMTEXTCOLOR 11 250
;ChangeItemNameColor 11 250
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 2 0 154
CHANGECUSTOMITEMABIL 11 0 1 3
CHANGECUSTOMITEMABIL 11 1 1 4
CHANGECUSTOMITEMABIL 11 2 1 5
CHANGECUSTOMITEMVALUE 11 0 = 100
CHANGECUSTOMITEMVALUE 11 1 = 100
CHANGECUSTOMITEMVALUE 11 2 = 100
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
CHANGECUSTOMITEMABIL 11 2 2 2
ChangeItemUpgradeCount 11 = 1
SENDUPGRADEITEM
SENDMSG 7 装备鉴定星级为:{[良品]|215:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 防御
checkitem 品级矿石 1
large N$靴子加点 0
small N$靴子加点 70
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[良品]
;ChangeItemName 11 <$BOOTS>[良品]
CHANGECUSTOMITEMTEXTCOLOR 11 250
;ChangeItemNameColor 11 250
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 0 1 1
CHANGECUSTOMITEMABIL 11 1 1 2
CHANGECUSTOMITEMABIL 11 2 1 0
CHANGECUSTOMITEMVALUE 11 2 = 0
CHANGECUSTOMITEMVALUE 11 0 = 100
CHANGECUSTOMITEMVALUE 11 1 = 100
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
ChangeItemUpgradeCount 11 = 1
SENDUPGRADEITEM
SENDMSG 7 装备鉴定星级为:{[良品]|215:0:1}
MOV S10
MOV N$靴子加点 0
break


#IF
Equal <$STR(S10)> 攻击
checkitem 品级矿石 1
large N$靴子加点 69
small N$靴子加点 180
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[强化]
;ChangeItemName 11 <$BOOTS>[强化]
CHANGECUSTOMITEMTEXTCOLOR 11 229
;ChangeItemNameColor 11 229
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 2 0 154
CHANGECUSTOMITEMABIL 11 0 1 3
CHANGECUSTOMITEMABIL 11 1 1 4
CHANGECUSTOMITEMABIL 11 2 1 5
CHANGECUSTOMITEMVALUE 11 0 = 200
CHANGECUSTOMITEMVALUE 11 1 = 200
CHANGECUSTOMITEMVALUE 11 2 = 200
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
CHANGECUSTOMITEMABIL 11 2 2 2
ChangeItemUpgradeCount 11 = 2
SENDUPGRADEITEM
SENDMSG 7 装备鉴定星级为:{[强化]|229:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 防御
checkitem 品级矿石 1
large N$靴子加点 69
small N$靴子加点 180
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[强化]
;ChangeItemName 11 <$BOOTS>[强化]
CHANGECUSTOMITEMTEXTCOLOR 11 229
;ChangeItemNameColor 11 229
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 0 1 1
CHANGECUSTOMITEMABIL 11 1 1 2
CHANGECUSTOMITEMABIL 11 2 1 0
CHANGECUSTOMITEMVALUE 11 2 = 0
CHANGECUSTOMITEMVALUE 11 0 = 200
CHANGECUSTOMITEMVALUE 11 1 = 200
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
ChangeItemUpgradeCount 11 = 2
SENDUPGRADEITEM
SENDMSG 7 装备鉴定星级为:{[强化]|229:0:1}
MOV S10
MOV N$靴子加点 0
break


#IF
Equal <$STR(S10)> 攻击
checkitem 品级矿石 1
large N$靴子加点 179
small N$靴子加点 260
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[精锐]
;ChangeItemName 11 <$BOOTS>[精锐]
CHANGECUSTOMITEMTEXTCOLOR 11 242
;ChangeItemNameColor 11 242
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 2 0 154
CHANGECUSTOMITEMABIL 11 0 1 3
CHANGECUSTOMITEMABIL 11 1 1 4
CHANGECUSTOMITEMABIL 11 2 1 5
CHANGECUSTOMITEMVALUE 11 0 = 300
CHANGECUSTOMITEMVALUE 11 1 = 300
CHANGECUSTOMITEMVALUE 11 2 = 300
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
CHANGECUSTOMITEMABIL 11 2 2 2
ChangeItemUpgradeCount 11 = 3
SENDUPGRADEITEM
SENDMSG 7 装备鉴定星级为:{[精锐]|242:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 防御
checkitem 品级矿石 1
large N$靴子加点 179
small N$靴子加点 260
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[精锐]
;ChangeItemName 11 <$BOOTS>[精锐]
CHANGECUSTOMITEMTEXTCOLOR 11 242
;ChangeItemNameColor 11 242
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 0 1 1
CHANGECUSTOMITEMABIL 11 1 1 2
CHANGECUSTOMITEMABIL 11 2 1 0
CHANGECUSTOMITEMVALUE 11 2 = 0
CHANGECUSTOMITEMVALUE 11 0 = 300
CHANGECUSTOMITEMVALUE 11 1 = 300
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
ChangeItemUpgradeCount 11 = 3
SENDUPGRADEITEM
SENDMSG 7 装备鉴定星级为:{[精锐]|242:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 攻击
checkitem 品级矿石 1
large N$靴子加点 259
small N$靴子加点 280
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[卓越]
;ChangeItemName 11 <$BOOTS>[卓越]
CHANGECUSTOMITEMTEXTCOLOR 11 249
;ChangeItemNameColor 11 249
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 2 0 154
CHANGECUSTOMITEMABIL 11 0 1 3
CHANGECUSTOMITEMABIL 11 1 1 4
CHANGECUSTOMITEMABIL 11 2 1 5
CHANGECUSTOMITEMVALUE 11 0 = 400
CHANGECUSTOMITEMVALUE 11 1 = 400
CHANGECUSTOMITEMVALUE 11 2 = 400
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
CHANGECUSTOMITEMABIL 11 2 2 2
ChangeItemUpgradeCount 11 = 4
SENDUPGRADEITEM
SendMsg 0 {装备重生ぐ|151:0:1}:{%s|227:0:1}你肯定日了狗居然重生出{[卓越]|249:0:1}的{[<$BOOTS>]|215:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 防御
checkitem 品级矿石 1
large N$靴子加点 259
small N$靴子加点 280
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[卓越]
;ChangeItemName 11 <$BOOTS>[卓越]
CHANGECUSTOMITEMTEXTCOLOR 11 249
;ChangeItemNameColor 11 249
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 0 1 1
CHANGECUSTOMITEMABIL 11 1 1 2
CHANGECUSTOMITEMABIL 11 2 1 0
CHANGECUSTOMITEMVALUE 11 2 = 0
CHANGECUSTOMITEMVALUE 11 0 = 400
CHANGECUSTOMITEMVALUE 11 1 = 400
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
ChangeItemUpgradeCount 11 = 4
SENDUPGRADEITEM
SendMsg 0 {装备重生ぐ|151:0:1}:{%s|227:0:1}你肯定日了狗居然重生出{[卓越]|249:0:1}的{[<$BOOTS>]|215:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 攻击
checkitem 品级矿石 1
large N$靴子加点 279
small N$靴子加点 295
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[传说]
;ChangeItemName 11 <$BOOTS>[传说]
CHANGECUSTOMITEMTEXTCOLOR 11 70
;ChangeItemNameColor 11 70
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 2 0 154
CHANGECUSTOMITEMABIL 11 0 1 3
CHANGECUSTOMITEMABIL 11 1 1 4
CHANGECUSTOMITEMABIL 11 2 1 5
CHANGECUSTOMITEMVALUE 11 0 = 500
CHANGECUSTOMITEMVALUE 11 1 = 500
CHANGECUSTOMITEMVALUE 11 2 = 500
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
CHANGECUSTOMITEMABIL 11 2 2 2
ChangeItemUpgradeCount 11 = 5
SENDUPGRADEITEM
SendMsg 0 {装备重生ぐ|151:0:1}:{%s|227:0:1}你肯定日了狗居然重生出{[传说]|70:0:1}的{[<$BOOTS>]|250:0:1}
MOV S10
MOV N$靴子加点 0
break

#IF
Equal <$STR(S10)> 防御
checkitem 品级矿石 1
large N$靴子加点 279
small N$靴子加点 295
#ACT
TAKE 品级矿石 1
CHANGECUSTOMITEMTEXT 11 「凤舞神鉴」∶[传说]
;ChangeItemName 11 <$BOOTS>[传说]
CHANGECUSTOMITEMTEXTCOLOR 11 70
;ChangeItemNameColor 11 70
CHANGECUSTOMITEMABIL 11 0 0 154
CHANGECUSTOMITEMABIL 11 1 0 154
CHANGECUSTOMITEMABIL 11 0 1 1
CHANGECUSTOMITEMABIL 11 1 1 2
CHANGECUSTOMITEMVALUE 11 0 = 500
CHANGECUSTOMITEMVALUE 11 1 = 500
CHANGECUSTOMITEMABIL 11 2 1 0
CHANGECUSTOMITEMVALUE 11 2 = 0
CHANGECUSTOMITEMABIL 11 0 2 0
CHANGECUSTOMITEMABIL 11 1 2 1
ChangeItemUpgradeCount 11 = 5
SENDUPGRADEITEM
SendMsg 0 {装备重生ぐ|151:0:1}:{%s|227:0:1}你肯定日了狗居然重生出{[传说]|70:0:1}的{[<$BOOTS>]|250:0:1}
MOV S10
MOV N$靴子加点 0
#ELSEACT
MESSAGEBOX \\重生失败:原因如下\\    1.您没有"品级矿石"一个\\    2.请集齐以上材料在来找我吧!
break

**** Hidden Message *****


刀十八 发表于 2022-6-20 11:33:27

6666666666666666666666666666666666666666

何杰飞 发表于 2022-7-30 20:40:41

看看是什么

xx00 发表于 2022-7-31 17:25:53

dsadsdsadasdasasd

31306079 发表于 2022-8-8 20:09:36

66666666666666666666666666666

夜色 发表于 2023-5-24 01:34:42

6666666666666666666666

l445667371 发表于 2023-6-18 18:26:48

ccccccccccccccc

seo668 发表于 2023-9-15 13:22:33

这个要看看

谁是谁非 发表于 2023-10-29 09:14:12

666666666666666

ljh95538 发表于 2024-11-2 11:35:47

看看它如何改良
页: [1]
查看完整版本: [免费脚本]装备改良脚本