剑灵束魂修改触发几率为30%

This commit is contained in:
admin 2026-06-22 22:38:10 +08:00
parent 94dad9d5da
commit 636cf78c75

View file

@ -332,7 +332,7 @@ JueXueXiuLianOBJ.onAttackMonCfg = {
JueXueXiuLianOBJ.onAttackPlayCfg = { JueXueXiuLianOBJ.onAttackPlayCfg = {
[21] = function(actor, target, hitter, magicId, Info) [21] = function(actor, target, hitter, magicId, Info)
if magicId == 56 and not hasbuff(target, 10006) then if magicId == 56 and not hasbuff(target, 10006) and Func.random(30) then
if addbuff(target, 10006, 5) then if addbuff(target, 10006, 5) then
-- Func.sendmsg(actor, string.format("[技能绝学]:#70|%s#215|触发,使目标无法使用任何药品,持续5s.#7", "剑灵束魂")) -- Func.sendmsg(actor, string.format("[技能绝学]:#70|%s#215|触发,使目标无法使用任何药品,持续5s.#7", "剑灵束魂"))
-- Func.sendmsg(target, string.format("[技能绝学]:#70|对方#7|%s#215|触发,使你无法使用任何药品,持续5s.#7", "剑灵束魂")) -- Func.sendmsg(target, string.format("[技能绝学]:#70|对方#7|%s#215|触发,使你无法使用任何药品,持续5s.#7", "剑灵束魂"))