|
|
@@ -283,12 +283,12 @@ end
|
|
|
order,
|
|
|
}
|
|
|
]]
|
|
|
+local statusMap = {
|
|
|
+ [RoleDefine.HP] = "hp",
|
|
|
+}
|
|
|
local function handler8(attacker,targetMode)
|
|
|
local cnt = targetMode[3] or 1
|
|
|
- local status = "hp" -- 默认是HP
|
|
|
- if targetMode[4] == 2 then
|
|
|
- status = "mp"
|
|
|
- end
|
|
|
+ local status = statusMap[targetMode[4]] or "hp" -- 默认是HP
|
|
|
local order = targetMode[5] or 0 -- 默认升序
|
|
|
local targetSide = getTargetSide(attacker,targetMode)
|
|
|
local targetList = {}
|