[战斗]=============被动480修改

dev_oneDis
wangzhenxing 2023-09-26 16:21:41 +08:00
parent 3dfc21e7b9
commit 49bf0b384a
3 changed files with 5 additions and 4 deletions

View File

@ -12725,12 +12725,12 @@ local passivityList = {
[480]=function(role,args,id,judge) [480]=function(role,args,id,judge)
local num=args[1] local num=args[1]
local onRoundChange=function(round) local onRoundChange=function(round)
if round<2 then if round<1 then
return return
end end
role:AddSkill(BattleSkillType.Special, false, false, nil,false) role:AddSkill(BattleSkillType.Special, false,true, nil,true)
end end
BattleLogic.Event:AddEvent(BattleEventName.BattleRoundEnd, onRoundChange,nil,nil,role) BattleLogic.Event:AddEvent(BattleEventName.BattleRoundEndBefore, onRoundChange,nil,nil,role)
end, end,
--释放技能如果造成减怒,对目标造成 减除怒气*属性[a][b]%的伤害,每回合最多触发[c]次 --释放技能如果造成减怒,对目标造成 减除怒气*属性[a][b]%的伤害,每回合最多触发[c]次
--a[int],b[float],c[int] --a[int],b[float],c[int]

View File

@ -286,6 +286,7 @@ function BattleLogic.TurnRound(debugTurn)
return return
else else
-- 上一轮结束 -- 上一轮结束
BattleLogic.Event:DispatchEvent(BattleEventName.BattleRoundEndBefore, CurRound)
BattleLogic.Event:DispatchEvent(BattleEventName.BattleRoundEnd, CurRound) BattleLogic.Event:DispatchEvent(BattleEventName.BattleRoundEnd, CurRound)
end end
end end

View File

@ -54,7 +54,7 @@ BattleEventName = {
BattleRoundStart = indexAdd(), BattleRoundStart = indexAdd(),
BattleRoundChange = indexAdd(), BattleRoundChange = indexAdd(),
BattleRoundEnd = indexAdd(), BattleRoundEnd = indexAdd(),
BattleRoundEndBefore = indexAdd(),
RoleBeDamaged = indexAdd(), RoleBeDamaged = indexAdd(),
RoleDamage = indexAdd(), RoleDamage = indexAdd(),
RoleBeDamagedBefore = indexAdd(), RoleBeDamagedBefore = indexAdd(),