Browse Source

fixed TargetMode.lua 判断buff需要用数组

mafei 2 years ago
parent
commit
9b62d2cb39
1 changed files with 1 additions and 1 deletions
  1. 1 1
      script/module/combat/TargetMode.lua

+ 1 - 1
script/module/combat/TargetMode.lua

@@ -466,7 +466,7 @@ local function handler32(attacker, targetMode, skillTargets)
 	local isSkillTarget = targetMode[6] or 1
 	local exclude = targetMode[7] or 1
 	local targetList = getTargetList(targetSide,isSkillTarget,exclude,skillTargets)
-	local exist,buffLayer =  CombatBuff.isStatus(attacker,buffID)
+	local exist,buffLayer =  CombatBuff.isStatus(attacker,{buffID})
 	if not exist then 
 		return
 	end