Commit 28b360d8 authored by nanahira's avatar nanahira

breakdebug

parent a6a2ecd8
...@@ -52,9 +52,11 @@ function cm.initial_effect(c) ...@@ -52,9 +52,11 @@ function cm.initial_effect(c)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetTarget(function(e,c,tp,sumtp,sumpos,top,te) e1:SetTarget(function(e,c,tp,sumtp,sumpos,top,te)
--Debug.Message(aux.GetValueType(te))
if not te then return false end if not te then return false end
local tc=te:GetHandler() local tc=te:GetHandler()
return tc and Kaguya.IsDifficulty(tc) --Debug.Message(tc and tc:GetCode() or 0)
return not tc or not Kaguya.IsDifficulty(tc)
end) end)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
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