刀魂问题。

admin 2023/04/19 13:08:00 294
武器也是这么写的,一点问题没有,14位置 军鼓 就不行了,到了100%,就不动了!

#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 0
#act
SetCustomItemProgressbarValue 14 0 1  = 1
SetCustomItemProgressbarValue 14 1 1 = 0
SetCustomItemProgressbarValue 14 1 0 = 100

MOV m200 1
MOV m201 1
MOV m202 1
SetCustomItemValue 1 0 + <$STR(M200)>
SetCustomItemValue 1 1 + <$STR(M201)>
SetCustomItemValue 1 2 + <$STR(M202)>
sendmsg 7 军鼓得到了成长升级!


你用的是穿戴触发,只有穿上的时候生效一次,
应该是穿戴只开启刀魂其他升级加点脚本放在杀怪获得经验触发中:
[@KillMonGetExp] 人物杀怪获得经验触发 脚本问题,改成>99试试,参数设置成检测百分比 脚本没看出什么问题,检查一下前置触发部分,或者把前置触发部分的脚本发出来看看
谢谢  帮忙看下
[@TakeOn14]
#if
CheckCustomItemProgressBar 14 0
#ACT
#ELSEACT
sendmsg 7 激活军鼓成功!
SetCustomItemProgressbar 14 0 0 1
SetCustomItemProgressbar 14 0 1 军鼓等级:
SetCustomItemProgressbar 14 0 2 215
SetCustomItemProgressbar 14 0 3 1
SetCustomItemProgressbar 14 0 4 2
SetCustomItemProgressbarValue 14 0 0 = 5

SetCustomItemProgressbar 14 1 0 1
SetCustomItemProgressbar 14 1 1 军鼓经验:
SetCustomItemProgressbar 14 1 2 242
SetCustomItemProgressbar 14 1 3 1
SetCustomItemProgressbar 14 1 4 1
SetCustomItemProgressbarValue 14 1 0 = 100
goto @军鼓
break

[@军鼓]
#if
CheckCustomItemProgressbarValue  14 0 = 0
#ACT

LockUpdateAbil
LockUpdateItem 14

SetCustomItemText 14 [军鼓属性]
SetCustomItemTextColor 14 244

SetCustomItemAbil 14 0 0 58
SetCustomItemAbil 14 1 0 244
SetCustomItemAbil 14 2 0 168

SetCustomItemAbil 14 0 1 3
SetCustomItemAbil 14 1 1 4
SetCustomItemAbil 14 2 1 5

SetCustomItemAbil 14 0 2 0
SetCustomItemAbil 14 1 2 1
SetCustomItemAbil 14 2 2 2


SetCustomItemAbil 14 0 3 0
SetCustomItemAbil 14 1 3 0
SetCustomItemAbil 14 2 3 0


SetCustomItemValue 14 0 = 0
SetCustomItemValue 14 1 = 0
SetCustomItemValue 14 2 = 0

UpdateItem 14
UpdateAbil

;军鼓第二进度条和属性赋值---------------

#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 0
#act
SetCustomItemProgressbarValue 14 0 1  = 1
SetCustomItemProgressbarValue 14 1 1 = 0
SetCustomItemProgressbarValue 14 1 0 = 100

MOV m200 1
MOV m201 1
MOV m202 1
SetCustomItemValue 1 0 + <$STR(M200)>
SetCustomItemValue 1 1 + <$STR(M201)>
SetCustomItemValue 1 2 + <$STR(M202)>
sendmsg 7 军鼓得到了成长升级! 开头增加红字部分:


[@TakeOn14]
#if
CheckCustomItemProgressBar 14 0
#ACT
goto @军鼓
break

#ELSEACT
sendmsg 7 激活军鼓成功!
.
.
.
.

[@军鼓]
#if
CheckCustomItemProgressbarValue  

还是不行啊,虽然可以升级(还要等他经验满了,取下来,再穿戴上再行),但是就能升一级,而且还不加属性了。。。。。。  麻烦 再给你看看吧!谢谢

[@TakeOn14]
#if
CheckCustomItemProgressBar 14 0
#ACT
goto @军鼓
break

#ELSEACT
sendmsg 7 激活军鼓成功!
SetCustomItemProgressbar 14 0 0 1
SetCustomItemProgressbar 14 0 1 军鼓等级:
SetCustomItemProgressbar 14 0 2 215
SetCustomItemProgressbar 14 0 3 1
SetCustomItemProgressbar 14 0 4 2
SetCustomItemProgressbarValue 14 0 0 = 5

SetCustomItemProgressbar 14 1 0 1
SetCustomItemProgressbar 14 1 1 军鼓经验:
SetCustomItemProgressbar 14 1 2 242
SetCustomItemProgressbar 14 1 3 1
SetCustomItemProgressbar 14 1 4 1
SetCustomItemProgressbarValue 14 1 0 = 100
goto @军鼓
break

[@军鼓]
#if
CheckCustomItemProgressbarValue  14 0 = 0
#ACT

LockUpdateAbil
LockUpdateItem 14

SetCustomItemText 14 [军鼓属性]
SetCustomItemTextColor 14 244

SetCustomItemAbil 14 0 0 58
SetCustomItemAbil 14 1 0 244
SetCustomItemAbil 14 2 0 168

SetCustomItemAbil 14 0 1 3
SetCustomItemAbil 14 1 1 4
SetCustomItemAbil 14 2 1 5

SetCustomItemAbil 14 0 2 0
SetCustomItemAbil 14 1 2 1
SetCustomItemAbil 14 2 2 2


SetCustomItemAbil 14 0 3 0
SetCustomItemAbil 14 1 3 0
SetCustomItemAbil 14 2 3 0


SetCustomItemValue 14 0 = 0
SetCustomItemValue 14 1 = 0
SetCustomItemValue 14 2 = 0

UpdateItem 14
UpdateAbil

;军鼓第二进度条和属性赋值---------------

#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 0
#act
SetCustomItemProgressbarValue 14 0 1  = 1
SetCustomItemProgressbarValue 14 1 1 = 0
SetCustomItemProgressbarValue 14 1 0 = 200

MOV m300 1
MOV m301 1
MOV m302 1
SetCustomItemValue 14 0 + <$STR(M300)>
SetCustomItemValue 14 1 + <$STR(M301)>
SetCustomItemValue 14 2 + <$STR(M302)>
sendmsg 7 军鼓得到了成长升级!


#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 1
#act
SetCustomItemProgressbarValue 14 0 1  = 2
SetCustomItemProgressbarValue 14 1 1 = 0
SetCustomItemProgressbarValue 14 1 0 = 300

MOV m300 1
MOV m301 1
MOV m302 1
SetCustomItemValue 14 0 + <$STR(M300)>
SetCustomItemValue 14 1 + <$STR(M301)>
SetCustomItemValue 14 2 + <$STR(M302)>
sendmsg 7 军鼓得到了成长升级!


#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 2
#act
SetCustomItemProgressbarValue 14 0 1  = 3
SetCustomItemProgressbarValue 14 1 1 = 0
SetCustomItemProgressbarValue 14 1 0 = 400

MOV m300 1
MOV m301 1
MOV m302 1
SetCustomItemValue 14 0 + <$STR(M300)>
SetCustomItemValue 14 1 + <$STR(M301)>
SetCustomItemValue 14 2 + <$STR(M302)>
sendmsg 7 军鼓得到了成长升级!


#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 3
#act
SetCustomItemProgressbarValue 14 0 1  = 4
SetCustomItemProgressbarValue 14 1 1 = 0
SetCustomItemProgressbarValue 14 1 0 = 500

MOV m300 1
MOV m301 1
MOV m302 1
SetCustomItemValue 14 0 + <$STR(M300)>
SetCustomItemValue 14 1 + <$STR(M301)>
SetCustomItemValue 14 2 + <$STR(M302)>
sendmsg 7 军鼓得到了成长升级!

#if
CheckCustomItemProgressbarValue 14 1 1 = 100
CheckCustomItemProgressbarValue 14 0 1 = 4
#act
SetCustomItemProgressbarValue 14 0 1  = 5
SetCustomItemProgressbarValue 14 1 1 = 100
SetCustomItemProgressbarValue 14 1 0 = 100

MOV m300 1
MOV m301 1
MOV m302 1
SetCustomItemValue 14 0 + <$STR(M300)>
SetCustomItemValue 14 1 + <$STR(M301)>
SetCustomItemValue 14 2 + <$STR(M302)>
sendmsg 7 军鼓得到了成长升级!
放弃了  太难了  
你这个头像 我怎么赶脚有点像苍蝇屁股
返回
我要发布
版本互换
代销
链接失效处理