夜游神论坛,传奇一条龙,GM论坛,GM部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

安全 WRIDC 996 php 88A
查看: 883|回复: 0

传奇装备淬炼脚本

[复制链接]

签到天数: 815 天

[LV.10]以坛为家III

3137

主题

3888

帖子

3万

钻石

Rank: 9Rank: 9Rank: 9

积分
7025

最佳新人活跃会员推广达人以坛为家灌水之王热心会员

QQ
发表于 2018-9-15 22:10:15 | 显示全部楼层 |阅读模式
传奇装备淬炼脚本
[@main]
淬炼各钟装备的属性需要花费50元宝、装备的属性是随机给予上限升级\
当几率小于成功率时、属性将还原、因为淬炼所需的力量过于强大,\
我无法控制淬炼的结果。淬炼的过程中可能会造成装备损坏、破碎、\
属性还原等。如果对属性不知足,再次淬炼可以改变属性。\
<选择淬炼服饰/@淬炼服饰> <选择淬炼手镯/@淬炼手镯> <选择淬炼头盔/@淬炼头盔>\ \
<选择淬炼戒指/@淬炼戒指> <选择淬炼腰带/@淬炼腰带> <选择淬炼靴子/@淬炼靴子> \ \
<返回[url=]/@main[/url]>      \
[@淬炼服饰]
#IF
CHECKITEMADDVALUE 0 0 > 2
#ACT
UPGRADEITEMEX 0 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 0 1 > 2
#ACT
UPGRADEITEMEX 0 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 0 2 > 2
#ACT
UPGRADEITEMEX 0 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 0 3 > 2
#ACT
UPGRADEITEMEX 0 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 0 4 > 2
#ACT
UPGRADEITEMEX 0 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 0
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼服饰
break
[@开始淬炼服饰]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 0
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 0 0 0 2 0
goto @main
break
#IF
equal d0 1
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 0 1 0 2 0
goto @main
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 0 2 0 2 0
goto @main
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 0 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 0 4 0 2 0
goto @main
break
#ELSESAY
你好象没有足够的元宝淬炼服饰!
[@淬炼戒指]
#IF
CHECKITEMADDVALUE 8 0 > 2
#ACT
UPGRADEITEMEX 8 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 8 1 > 2
#ACT
UPGRADEITEMEX 8 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 8 2 > 2
#ACT
UPGRADEITEMEX 8 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 8 3 > 2
#ACT
UPGRADEITEMEX 8 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 8 4 > 2
#ACT
UPGRADEITEMEX 8 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 8
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼戒指
break
[@开始淬炼戒指]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 0
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 8 0 0 2 0
goto @main
break
#IF
equal d0 1
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 8 1 0 2 0
goto @main
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 8 2 0 2 0
goto @main
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 8 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 8 4 0 2 0
goto @main
break
#ELSESAY
你好象没有足够的元宝淬炼戒指!
[@淬炼项链]
#IF
CHECKITEMADDVALUE 3 0 > 2
#ACT
UPGRADEITEMEX 3 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 3 1 > 2
#ACT
UPGRADEITEMEX 3 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 3 2 > 2
#ACT
UPGRADEITEMEX 3 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 3 3 > 2
#ACT
UPGRADEITEMEX 3 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 3 4 > 2
#ACT
UPGRADEITEMEX 3 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 3
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼项链
break
[@开始淬炼项链]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 3 2 0 2 0
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 3 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 3 4 0 2 0
goto @main
break
#ELSESAY
[@淬炼头盔]
#IF
CHECKITEMADDVALUE 4 0 > 2
#ACT
UPGRADEITEMEX 4 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 4 1 > 2
#ACT
UPGRADEITEMEX 4 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 4 2 > 2
#ACT
UPGRADEITEMEX 4 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 4 3 > 2
#ACT
UPGRADEITEMEX 4 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 4 4 > 2
#ACT
UPGRADEITEMEX 4 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 4
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼头盔
break
[@开始淬炼头盔]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 0
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 4 0 0 2 0
goto @main
break
#IF
equal d0 1
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 4 1 0 2 0
goto @main
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 4 2 0 2 0
goto @main
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 4 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 4 4 0 2 0
goto @main
break
#ELSESAY
你好象没有足够的元宝淬炼头盔!
[@淬炼手镯]
#IF
CHECKITEMADDVALUE 6 0 > 2
#ACT
UPGRADEITEMEX 6 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 6 1 > 2
#ACT
UPGRADEITEMEX 6 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 6 2 > 2
#ACT
UPGRADEITEMEX 6 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 6 3 > 2
#ACT
UPGRADEITEMEX 6 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 6 4 > 2
#ACT
UPGRADEITEMEX 6 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 6
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼手镯
break
[@开始淬炼手镯]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 0
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 6 0 0 2 0
goto @main
break
#IF
equal d0 1
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 6 1 0 2 0
goto @main
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 6 2 0 2 0
goto @main
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 6 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 6 4 0 2 0
goto @main
break
#ELSESAY
你好象没有足够的元宝淬炼手镯!
[@淬炼武器]
#IF
CHECKITEMADDVALUE 1 0 > 4
#ACT
UPGRADEITEMEX 1 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 1 1 > 4
#ACT
UPGRADEITEMEX 1 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 1 2 > 4
#ACT
UPGRADEITEMEX 1 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 1 3 > 4
#ACT
UPGRADEITEMEX 1 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 1 4 > 4
#ACT
UPGRADEITEMEX 1 4 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 1 5 > 4
#ACT
UPGRADEITEMEX 1 5 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 1 7 > 4
#ACT
UPGRADEITEMEX 1 7 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 1
CHECKGAMEGOLD > 49
#ACT
movr d0 6
set [50] 1
DELAYGOTO 1 @开始淬炼武器
break
[@开始淬炼武器]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 1 2 0 2 0
break
#IF
equal d0 5
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 1 3 0 2 0
break
#IF
equal d0 7
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 1 4 0 2 0
break
#ELSESAY
[@淬炼腰带]
#IF
CHECKITEMADDVALUE 10 0 > 2
#ACT
UPGRADEITEMEX 10 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 10 1 > 2
#ACT
UPGRADEITEMEX 10 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 10 2 > 2
#ACT
UPGRADEITEMEX 10 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 10 3 > 2
#ACT
UPGRADEITEMEX 10 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 10 4 > 2
#ACT
UPGRADEITEMEX 10 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 10
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼腰带
break
[@开始淬炼腰带]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 0
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 10 0 0 2 0
goto @main
break
#IF
equal d0 1
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 10 1 0 2 0
goto @main
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 10 2 0 2 0
goto @main
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 10 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 10 4 0 2 0
goto @main
break
#ELSESAY
[@淬炼靴子]
#IF
CHECKITEMADDVALUE 11 0 > 2
#ACT
UPGRADEITEMEX 11 0 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 11 1 > 2
#ACT
UPGRADEITEMEX 11 1 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 11 2 > 2
#ACT
UPGRADEITEMEX 11 2 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 11 3 > 2
#ACT
UPGRADEITEMEX 11 3 50 0 2
#ACT
BREAK
#IF
CHECKITEMADDVALUE 11 4 > 2
#ACT
UPGRADEITEMEX 11 4 50 0 2
#ACT
BREAK
#IF
CHECKUSEITEM 11
CHECKGAMEGOLD > 49
#ACT
movr d0 5
set [50] 1
DELAYGOTO 1 @开始淬炼靴子
break
[@开始淬炼靴子]
#IF
Check [50] 0
#act
mapmove 0147
break
#IF
equal d0 0
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 11 0 0 2 0
goto @main
break
#IF
equal d0 1
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 11 1 0 2 0
goto @main
break
#IF
equal d0 2
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 11 2 0 2 0
goto @main
break
#IF
equal d0 3
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 11 3 0 2 0
goto @main
break
#IF
equal d0 4
CHECKGAMEGOLD > 49
#ACT
mov d1 0
set [50] 0
GAMEGOLD - 50
UPGRADEITEMEX 11 4 0 2 0
goto @main
break
#ELSESAY





上一篇:怎么破解加密传奇补丁
下一篇:传奇佛界之地地图脚本
锄禾日当午,签到不辛苦...
回复

使用道具 举报

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

本版积分规则

传奇广告代理|传奇脚本|微变传奇|单职业传奇|热血传奇|传奇私服|GM论坛|英雄合击|小黑屋|百度统计|夜游神论坛 |网站地图

Powered by Discuz! X3.4© 2001-2013 Comsenz Inc.