diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua index e2bc234648..7264ee7db4 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/Base/Passivity.lua @@ -5844,16 +5844,19 @@ local passivityList = { end role.Event:AddEvent(BattleEventName.PassiveBeDamaging, onPassiveBeDamaging) end, - -- 战斗第回合概率无敌,回合数每增加1,概率是之前的[a] - -- a[float] + -- 战斗第[a]回合开始概率无敌,回合数每增加1,概率是之前的[b] + -- a[int] b[float] [272] = function(role, args) local i1 = args[1] + local p1 =args[2] local buff=nil local isTrigger=true BattleLogic.Event:AddEvent(BattleEventName.BattleRoundChange, function(curRound) local pro=0 - if curRound>0 then - pro=i1^(curRound-1) + if curRound>i1 then + pro=p1^(curRound-i1) + else + pro=1 end if isTrigger then local isAdd=BattleUtil.RandomAction(pro, function ()