【战斗】=====被动356 修改
parent
de71cd524b
commit
113e1ebefa
|
@ -8520,17 +8520,18 @@ local passivityList = {
|
|||
end
|
||||
BattleLogic.Event:AddEvent(BattleEventName.BattleRoundChange,onRoundChange,nil,nil,role)
|
||||
end,
|
||||
-- 修改技能[a]的参数,第[b]个参数改变为[c],第[d]个参数改变为[e]
|
||||
-- a[int 技能的id],b[int],c[float/int],d[int],e[int/float]
|
||||
-- 修改技能id:[a] 技能类型:[b]的参数,第[c]个参数改变为[d],第[e]个参数改变为[f]
|
||||
-- a[int 技能的id],b[int 技能的type类型],c[int],d[float/int],e[int],f[int/float]
|
||||
[356] = function(role, args,id,judge)
|
||||
local type = args[1]
|
||||
local i1 = args[2]
|
||||
local v1 = args[3]
|
||||
local i2 = args[4]
|
||||
local v2 = args[5]
|
||||
local id = args[1]
|
||||
local type = args[2]
|
||||
local i1 = args[3]
|
||||
local v1 = args[4]
|
||||
local i2 = args[5]
|
||||
local v2 = args[6]
|
||||
local onSkillEffectBefore = function(skill, e, func)
|
||||
if skill.type == BattleSkillType.Special then
|
||||
if skill.id == type then
|
||||
if skill.id == id and e.type == type then
|
||||
if e.args[i1] then
|
||||
e.args[i1] = v1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue