网站主页>>部分脚本实例教程 >>>传奇引擎与登陆器论坛: 传奇GM交流论坛

装备强化加星及极品属性转移脚本实例(附补丁)

更新:2018-10-30


MOV S$类型1 0
MOV S$类型2 1
MOV S$类型3 2
goto @升级10级1
#ELSEACT
MOV S$类型1 2
MOV S$类型2 3
MOV S$类型3 4
goto @升级10级1

 

[@升级10级1]
#IF
RANDOM 4
#ACT
goto @升级10级a
#elseact
take 钢铁之魂 100
SetUpgradeItem 1
CHANGEITEMADDVALUE -1 <$STR(S$类型1)> = 2000
CHANGEITEMADDVALUE -1 <$STR(S$类型2)> = 2000
CHANGEITEMADDVALUE -1 <$STR(S$类型3)> = 2000
CHANGECUSTOMITEMTEXT -1 [强化+9]属性奖励:
CHANGECUSTOMITEMTEXTCOLOR -1 69
;-----文字颜色
CHANGECUSTOMITEMABIL -1 1 0 253
CHANGECUSTOMITEMABIL -1 2 0 253
CHANGECUSTOMITEMABIL -1 3 0 253
CHANGECUSTOMITEMABIL -1 4 0 253
CHANGECUSTOMITEMABIL -1 5 0 253
CHANGECUSTOMITEMABIL -1 6 0 253
;-----属性绑定
CHANGECUSTOMITEMABIL -1 1 1 1
CHANGECUSTOMITEMABIL -1 2 1 2
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 4 1 4
CHANGECUSTOMITEMABIL -1 5 1 5
CHANGECUSTOMITEMABIL -1 6 1 6

;-----属性位置
CHANGECUSTOMITEMABIL -1 1 2 1
CHANGECUSTOMITEMABIL -1 2 2 2
CHANGECUSTOMITEMABIL -1 3 2 3
CHANGECUSTOMITEMABIL -1 4 2 4
CHANGECUSTOMITEMABIL -1 5 2 5
CHANGECUSTOMITEMABIL -1 6 2 6


CHANGECUSTOMITEMABIL -1 1 3 1
CHANGECUSTOMITEMABIL -1 2 3 1
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1

CHANGECUSTOMITEMVALUE -1 1 = 5
CHANGECUSTOMITEMVALUE -1 2 = 5
CHANGECUSTOMITEMVALUE -1 3 = 3
CHANGECUSTOMITEMVALUE -1 4 = 3
CHANGECUSTOMITEMVALUE -1 5 = 3
CHANGECUSTOMITEMVALUE -1 6 = 5
SetNewItemValue -1 0 = 6
SetNewItemValue -1 2 = 6
SetNewItemValue -1 3 = 6
CHANGEITEMUPGRADECOUNT -1 - 1
MESSAGEBOX 强化提示:\ \追求强大的属性是要付出代价的,你这次运气不好,将你的星级降为9级。
UpDateBoxItem 1
ReturnBoxItem 1
goto @main


[@升级10级a]
#if
CHECKITEM 钢铁之魂 100
#act
take 钢铁之魂 100
SetUpgradeItem 1
CHANGEITEMADDVALUE -1 <$STR(S$类型1)> = 3000
CHANGEITEMADDVALUE -1 <$STR(S$类型2)> = 3000
CHANGEITEMADDVALUE -1 <$STR(S$类型3)> = 3000
CHANGECUSTOMITEMTEXT -1 [强化+11]属性奖励:
CHANGECUSTOMITEMTEXTCOLOR -1 69
;-----文字颜色
CHANGECUSTOMITEMABIL -1 1 0 253
CHANGECUSTOMITEMABIL -1 2 0 253
CHANGECUSTOMITEMABIL -1 3 0 253
CHANGECUSTOMITEMABIL -1 4 0 253
CHANGECUSTOMITEMABIL -1 5 0 253
CHANGECUSTOMITEMABIL -1 6 0 253
;-----属性绑定
CHANGECUSTOMITEMABIL -1 1 1 1
CHANGECUSTOMITEMABIL -1 2 1 2
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 4 1 4
CHANGECUSTOMITEMABIL -1 5 1 5
CHANGECUSTOMITEMABIL -1 6 1 6

;-----属性位置
CHANGECUSTOMITEMABIL -1 1 2 1
CHANGECUSTOMITEMABIL -1 2 2 2
CHANGECUSTOMITEMABIL -1 3 2 3
CHANGECUSTOMITEMABIL -1 4 2 4
CHANGECUSTOMITEMABIL -1 5 2 5
CHANGECUSTOMITEMABIL -1 6 2 6


CHANGECUSTOMITEMABIL -1 1 3 1
CHANGECUSTOMITEMABIL -1 2 3 1
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1

CHANGECUSTOMITEMVALUE -1 1 = 10
CHANGECUSTOMITEMVALUE -1 2 = 10
CHANGECUSTOMITEMVALUE -1 3 = 5
CHANGECUSTOMITEMVALUE -1 4 = 5
CHANGECUSTOMITEMVALUE -1 5 = 5
CHANGECUSTOMITEMVALUE -1 6 = 10
SetNewItemValue -1 0 = 6
SetNewItemValue -1 2 = 6
SetNewItemValue -1 3 = 6
SetNewItemValue -1 4 = 4
CHANGEITEMUPGRADECOUNT -1 + 1
SENDMOVEMSG 0 253 255 50 1 玩家[<$USERNAME>]成功将【<$BOXITEM[1].NAME>】强化到11星,这是要屠杀的节奏吗?
UpDateBoxItem 1
ReturnBoxItem 1
goto @main
#ELSEACT
MESSAGEBOX 操作失败:\ \你的材料不足,无法强化!

 


[@升级11级]
#IF
CHECKITEM 钢铁之魂 100
#ACT
#ELSEACT
MESSAGEBOX 操作失败:\ \你的材料不足,无法强化!
break

#IF
CheckContainsText |5| |<$BOXITEM[1].STDMODE>|
#ACT
MOV S$类型1 0
MOV S$类型2 1
MOV S$类型3 2
goto @升级11级1
#ELSEACT
MOV S$类型1 2
MOV S$类型2 3
MOV S$类型3 4
goto @升级11级1

[@升级11级1]
#IF
RANDOM 8
#ACT
goto @升级11级a
#elseact
take 钢铁之魂 100
SetUpgradeItem 1
CHANGEITEMADDVALUE -1 <$STR(S$类型1)> = 2500
CHANGEITEMADDVALUE -1 <$STR(S$类型2)> = 2500
CHANGEITEMADDVALUE -1 <$STR(S$类型3)> = 2500
CHANGECUSTOMITEMTEXT -1 [强化+10]属性奖励:
CHANGECUSTOMITEMTEXTCOLOR -1 69
;-----文字颜色
CHANGECUSTOMITEMABIL -1 1 0 253
CHANGECUSTOMITEMABIL -1 2 0 253
CHANGECUSTOMITEMABIL -1 3 0 253
CHANGECUSTOMITEMABIL -1 4 0 253
CHANGECUSTOMITEMABIL -1 5 0 253
CHANGECUSTOMITEMABIL -1 6 0 253
;-----属性绑定
CHANGECUSTOMITEMABIL -1 1 1 1
CHANGECUSTOMITEMABIL -1 2 1 2
CHANGECUSTOMITEMABIL -1 3 1 3
CHANGECUSTOMITEMABIL -1 4 1 4
CHANGECUSTOMITEMABIL -1 5 1 5
CHANGECUSTOMITEMABIL -1 6 1 6

;-----属性位置
CHANGECUSTOMITEMABIL -1 1 2 1
CHANGECUSTOMITEMABIL -1 2 2 2
CHANGECUSTOMITEMABIL -1 3 2 3
CHANGECUSTOMITEMABIL -1 4 2 4
CHANGECUSTOMITEMABIL -1 5 2 5
CHANGECUSTOMITEMABIL -1 6 2 6


CHANGECUSTOMITEMABIL -1 1 3 1
CHANGECUSTOMITEMABIL -1 2 3 1
CHANGECUSTOMITEMABIL -1 3 3 1
CHANGECUSTOMITEMABIL -1 4 3 1
CHANGECUSTOMITEMABIL -1 5 3 1
CHANGECUSTOMITEMABIL -1 6 3 1

CHANGECUSTOMITEMVALUE -1 1 = 7
CHANGECUSTOMITEMVALUE -1 2 = 7
CHANGECUSTOMITEMVALUE -1 3 = 4
CHANGECUSTOMITEMVALUE -1 4 = 4
CHANGECUSTOMI


2013-2022 Www.Gom-Key.Com GOM引擎官方网站 工业和信息化部备案管理系统网站 鲁ICP备16028535号-5传奇引擎Gm论坛

敬请关注>
  • 返回顶部
  • 等待添加
  • 986568922
  • 微信二维码
    添加站长微信