【战斗】=====================被动448修改, 死亡不释放技能修改

dev_chengFeng
wangzhenxing 2023-02-15 14:18:54 +08:00
parent d724309a7d
commit eb010bb2a9
2 changed files with 3 additions and 2 deletions

View File

@ -11735,7 +11735,7 @@ local passivityList = {
if arr==nil or len==0 then if arr==nil or len==0 then
return return
end end
if num<len then if num>len then
num=len num=len
end end
BattleUtil.SortByHpFactor(arr, 1) BattleUtil.SortByHpFactor(arr, 1)

View File

@ -434,7 +434,8 @@ function RoleLogic:IsAvailable(skill)
return false return false
end end
--角色没有真正死亡 在 被眩晕/沉默的 情况下 任然能释放死亡技能 --角色没有真正死亡 在 被眩晕/沉默的 情况下 任然能释放死亡技能
if (self.ctrl_dizzy or self.ctrl_slient) and self:IsDead() and skill and skill.type==BattleSkillType.DeadSkill then --(self.ctrl_dizzy or self.ctrl_slient) and
if self:IsDead() and skill and skill.type==BattleSkillType.DeadSkill then
return true return true
end end
-- 眩晕 -- 死亡 -- 眩晕 -- 死亡