Commit 033db14a authored by 未闻皂名's avatar 未闻皂名

2020/11/17 修正陷阱抗性bug

parent fa9e6f26
......@@ -17,6 +17,6 @@ function cm.initial_effect(c)
c:RegisterEffect(e1)
end
--Indes
function cm.efilter(e,re)
return rp==1-e:GetHandlerPlayer() and re:GetOwner():IsType(TYPE_TRAP)
function cm.efilter(e,re,rp)
return rp==1-e:GetHandlerPlayer() and re:IsActiveType(TYPE_TRAP)
end
\ No newline at end of file
......@@ -18,5 +18,5 @@ function cm.initial_effect(c)
end
--Indes
function cm.efilter(e,re)
return rp==1-e:GetHandlerPlayer() and re:GetOwner():IsType(TYPE_TRAP)
return rp==1-e:GetHandlerPlayer() and re:IsActiveType(TYPE_TRAP)
end
\ No newline at end of file
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