传奇装备淬炼脚本
[@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
|