[战斗] ========被动 299 154修改

dev_chengFeng
wangzhenxing 2021-01-16 17:17:34 +09:00
parent d1ed3121fa
commit e84b6a962e
1 changed files with 4 additions and 1 deletions

View File

@ -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)