Commit 0310d88c authored by whenmo's avatar whenmo Committed by GitHub

IllegalFunctionCheck add c check

parent 906c6d4d
......@@ -1375,6 +1375,7 @@ function VgF.PlayerEffect(e, tp, eg, ep, ev, re, r, rp)
end
---创建一个函数检查器 检查func是否为nil或函数
function VgF.IllegalFunctionCheck(name, c)
if VgF.GetValueType(c) ~= "Card" then Debug.Message("VgD."..name.." param c isn't Card") end
local m = c:GetOriginalCode()
local chk = function(key)
return function(func)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment