[战斗] ========被动 299 154修改
parent
d1ed3121fa
commit
e84b6a962e
|
@ -2952,6 +2952,9 @@ local passivityList = {
|
|||
local v1 = args[5]
|
||||
local counter = 0
|
||||
local onRoleRealDead = function(deadRole)
|
||||
if deadRole==role then
|
||||
return
|
||||
end
|
||||
if deadRole.camp == role.camp then
|
||||
if ele and v1 and deadRole.element==ele then
|
||||
f1=v1
|
||||
|
@ -6227,7 +6230,7 @@ local passivityList = {
|
|||
local f1 = args[2]
|
||||
|
||||
local OnDead = function(atkRole)
|
||||
local arr = BattleUtil.ChooseTarget(role, 10000)
|
||||
local arr = BattleUtil.ChooseTarget(role, 100000)
|
||||
for i=1, #arr do
|
||||
local val = floor(BattleUtil.FP_Mul(f1, arr[i]:GetRoleData(BattlePropList[pro])))
|
||||
BattleUtil.CalTreat(role, arr[i], val)
|
||||
|
|
Loading…
Reference in New Issue