自定义属性转移脚本2000金币收一个

admin 2023/04/19 12:49:35 74
要求能把装备A的自定义属性转移到装备B装备A


装备B



加不上,你加我270411387 就是绑定洗练吧。。。得看你多复杂了
把洗练好的转到另一个没有装备上就行
在把现有的这个清掉 ...用OK框 获取装备1变量值  然后转移到 装备2  然后清除OK框 装备1的自定义属性。 我来给你写,加我好友注上QQ
加了
http://43.249.194.34:12345/forum.php?mod=viewthread&tid=55970&highlight=%D7%AA%D2%C6
现成的脚本啊

;原装备 OK框
[@ItemIntoBox0]
#IF
CheckCustomItemValue boxitem0 1 > 0
#ACT
SetUpgradeItem 0
GetCustomItemAbil -1 1 1 S$属性类型1
GetCustomItemAbil -1 2 1 S$属性类型2
GetCustomItemAbil -1 3 1 S$属性类型3
GetCustomItemAbil -1 4 1 S$属性类型4
;获取自定义装备属性绑定位置
GetCustomItemValue -1 1 N$数值1 N$数值11
GetCustomItemValue -1 2 N$数值2 N$数值22
GetCustomItemValue -1 3 N$数值3 N$数值33
GetCustomItemValue -1 4 N$数值4 N$数值44
;获取自定义装备属性绑定位置数值
#CALL [\鉴定成长\属性转移.txt] @属性转移
;获取自定义装备属性位置位置并赋予自定义属性文字


[@确认转移01]
#act
movr p6 1 101
#if
SMALL p6 21
#ACT
SetUpgradeItem 0
GetCustomItemAbil -1 1 1 S$属性类型1
GetCustomItemAbil -1 2 1 S$属性类型2
GetCustomItemAbil -1 3 1 S$属性类型3
GetCustomItemAbil -1 4 1 S$属性类型4
;获取自定义装备属性绑定位置
GetCustomItemValue -1 1 N$数值1 N$数值11
GetCustomItemValue -1 2 N$数值2 N$数值22
GetCustomItemValue -1 3 N$数值3 N$数值33
GetCustomItemValue -1 4 N$数值4 N$数值44
SetUpgradeItem 1
ChangeItemNameColor boxitem1 249
SetCustomItemAbil boxitem1 1 0 158
SetCustomItemAbil boxitem1 1 1 S$属性类型1
SetCustomItemAbil boxitem1 1 2 2
SetCustomItemAbil boxitem1 1 3 0
SetCustomItemValue boxitem1 1 = <$STR(N$数值1)>
SetCustomItemAbil boxitem1 2 0 158
SetCustomItemAbil boxitem1 2 1 S$属性类型2
SetCustomItemAbil boxitem1 2 2 3
SetCustomItemAbil boxitem1 2 3 0
SetCustomItemValue boxitem1 2 = <$STR(N$数值2)>
SetCustomItemAbil boxitem1 3 0 158
SetCustomItemAbil boxitem1 3 1 S$属性类型3
SetCustomItemAbil boxitem1 3 2 4
SetCustomItemAbil boxitem1 3 3 0
SetCustomItemValue boxitem1 3 = <$STR(N$数值3)>
SetCustomItemAbil boxitem1 4 0 158
SetCustomItemAbil boxitem1 4 1 S$属性类型4
SetCustomItemAbil boxitem1 4 2 5
SetCustomItemAbil boxitem1 4 3 0
SetCustomItemValue boxitem1 4 = <$STR(N$数值4)>
UpdateItem boxitem1
ReturnBoxItem 1
DelBoxItem 0
SENDMSG 6 [恭喜.鉴定属性转移成功] 249 255
#ELSEACT
SENDMSG 6 [对不起.鉴定属性转移失败] 249 255
UpdateItem boxitem1
ReturnBoxItem 1
DelBoxItem 0
break




CALL的内容
[@属性转移]
{
;-----------------------属性类型1
#IF
EQUAL S$属性类型1 1
#ACT
mov <$STR(S$属性类型1)> 防御:+
#IF
EQUAL S$属性类型1 2
#ACT
mov <$STR(S$属性类型1)> 魔防:+
#IF
EQUAL S$属性类型1 3
#ACT
mov <$STR(S$属性类型1)> 攻击:+
#IF
EQUAL S$属性类型1 4
#ACT
mov <$STR(S$属性类型1)> 魔法:+
#IF
EQUAL S$属性类型1 5
#ACT
mov <$STR(S$属性类型1)> 道术:+
#IF
EQUAL S$属性类型1 6
#ACT
mov <$STR(S$属性类型1)> 体力值:+
#IF
EQUAL S$属性类型1 7
#ACT
mov <$STR(S$属性类型1)> 魔法值:+
;-----------------------属性类型2
#IF
EQUAL S$属性类型2 1
#ACT
mov <$STR(S$属性类型2)> 防御:+
#IF
EQUAL S$属性类型2 2
#ACT
mov <$STR(S$属性类型2)> 魔防:+
#IF
EQUAL S$属性类型2 3
#ACT
mov <$STR(S$属性类型2)> 攻击:+
#IF
EQUAL S$属性类型2 4
#ACT
mov <$STR(S$属性类型2)> 魔法:+
#IF
EQUAL S$属性类型2 5
#ACT
mov <$STR(S$属性类型2)> 道术:+
#IF
EQUAL S$属性类型2 6
#ACT
mov <$STR(S$属性类型2)> 体力值:+
#IF
EQUAL S$属性类型2 7
#ACT
mov <$STR(S$属性类型2)> 魔法值:+
;-----------------------属性类型3
#IF
EQUAL S$属性类型3 1
#ACT
mov <$STR(S$属性类型3)> 防御:+
#IF
EQUAL S$属性类型3 2
#ACT
mov <$STR(S$属性类型3)> 魔防:+
#IF
EQUAL S$属性类型3 3
#ACT
mov <$STR(S$属性类型3)> 攻击:+
#IF
EQUAL S$属性类型3 4
#ACT
mov <$STR(S$属性类型3)> 魔法:+
#IF
EQUAL S$属性类型3 5
#ACT
mov <$STR(S$属性类型3)> 道术:+
#IF
EQUAL S$属性类型3 6
#ACT
mov <$STR(S$属性类型3)> 体力值:+
#IF
EQUAL S$属性类型3 7
#ACT
mov <$STR(S$属性类型3)> 魔法值:+
;-----------------------属性类型4
#IF
EQUAL S$属性类型4 1
#ACT
mov <$STR(S$属性类型4)> 防御:+
#IF
EQUAL S$属性类型4 2
#ACT
mov <$STR(S$属性类型4)> 魔防:+
#IF
EQUAL S$属性类型4 3
#ACT
mov <$STR(S$属性类型4)> 攻击:+
#IF
EQUAL S$属性类型4 4
#ACT
mov <$STR(S$属性类型4)> 魔法:+
#IF
EQUAL S$属性类型4 5
#ACT
mov <$STR(S$属性类型4)> 道术:+
#IF
EQUAL S$属性类型4 6
#ACT
mov <$STR(S$属性类型4)> 体力值:+
#IF
EQUAL S$属性类型4 7
#ACT
mov <$STR(S$属性类型4)> 魔法值:+
}

谢谢
受教了,谢谢 [@main]
\
<亲爱的<$username>,欢迎光临,我这里可以免费转移装备属性!/scolor=211>\

<itembox:0:0:1294:80:90:50:50:*:135#请放入需要转移的装备>
<itembox:1:0:1294:300:90:50:50:*:135#请放入空白装备>
<imgex:0:00276:00277:00278:20:80/@开始转移>

[@开始转移]

#if
checkboxitemcount 0
checkboxitemcount 1
#act
getcustomitemtext boxitem0 s$属性名称
getcustomitemtextcolor boxitem0 n$属性颜色
GetCustomItemAbil boxitem0 0 0 n$第一条属性颜色
GetCustomItemAbil boxitem0 0 1 s$第一条属性类型
GetCustomItemAbil boxitem0 0 2 n$第一条显示位置
getcustomitemvalue boxitem0 0 n$第一条属性数值 n$是否百分比1
GetCustomItemAbil boxitem0 1 0 n$第二条属性颜色
GetCustomItemAbil boxitem0 1 1 s$第二条属性类型
GetCustomItemAbil boxitem0 1 2 n$第二条显示位置
getcustomitemvalue boxitem0 1 n$第二条属性数值 n$是否百分比2
GetCustomItemAbil boxitem0 2 0 n$第三条属性颜色
GetCustomItemAbil boxitem0 2 1 s$第三条属性类型
GetCustomItemAbil boxitem0 2 2 n$第三条显示位置
getcustomitemvalue boxitem0 2 n$第三条属性数值 n$是否百分比3
setupgradeitem 1
setcustomitemvalue boxitem0 0 = 0
setcustomitemvalue boxitem0 1 = 0
setcustomitemvalue boxitem0 2 = 0
setcustomitemtext -1 <$str(s$属性名称)>
setcustomitemtextcolor -1 <$str(n$属性颜色)>
SetCustomItemAbil -1 0 0 <$str(n$第一条属性颜色)>
SetCustomItemAbil -1 0 1 <$str(s$第一条属性类型)>
SetCustomItemAbil -1 0 2 <$str(n$第一条显示位置)>
setcustomitemvalue -1 0 + <$str(n$第一条属性数值)> <$str(n$是否百分比1)>
SetCustomItemAbil -1 1 0 <$str(n$第二条属性颜色)>
SetCustomItemAbil -1 1 1 <$str(s$第二条属性类型)>
SetCustomItemAbil -1 1 2 <$str(n$第二条显示位置)>
setcustomitemvalue -1 1 + <$str(n$第二条属性数值)> <$str(n$是否百分比2)>
SetCustomItemAbil -1 2 0 <$str(n$第三条属性颜色)>
SetCustomItemAbil -1 2 1 <$str(s$第三条属性类型)>
SetCustomItemAbil -1 2 2 <$str(n$第三条显示位置)>
setcustomitemvalue -1 2 + <$str(n$第三条属性数值)> <$str(n$是否百分比3)>
updateitem boxitem1
sendmsg 5 恭喜,转移成功!




备注:素材是盛大ui_n.wzl   m2-查看-列表信息2-wil资源-编号0
返回
我要发布
版本互换
代销
链接失效处理