Commit 4aad0783 authored by salix5's avatar salix5

fix

parent 9f1b09c2
...@@ -35,7 +35,6 @@ function c55428242.initial_effect(c) ...@@ -35,7 +35,6 @@ function c55428242.initial_effect(c)
e5:SetCode(EFFECT_CANNOT_DISABLE) e5:SetCode(EFFECT_CANNOT_DISABLE)
e5:SetRange(LOCATION_MZONE) e5:SetRange(LOCATION_MZONE)
e5:SetTargetRange(LOCATION_ONFIELD,0) e5:SetTargetRange(LOCATION_ONFIELD,0)
e5:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e5:SetTarget(c55428242.distarget) e5:SetTarget(c55428242.distarget)
c:RegisterEffect(e5) c:RegisterEffect(e5)
end end
...@@ -47,7 +46,7 @@ function c55428242.etarget(e,c) ...@@ -47,7 +46,7 @@ function c55428242.etarget(e,c)
return c:GetType()==TYPE_TRAP and (c:IsSetCard(0x4c) or c:IsSetCard(0x89)) return c:GetType()==TYPE_TRAP and (c:IsSetCard(0x4c) or c:IsSetCard(0x89))
end end
function c55428242.distarget(e,c) function c55428242.distarget(e,c)
return c:GetType()==TYPE_TRAP return c:GetType()==TYPE_TRAP or c:GetType()==TYPE_TRAP+TYPE_EQUIP
end end
function c55428242.chainfilter(e,ct) function c55428242.chainfilter(e,ct)
local p=e:GetHandlerPlayer() local p=e:GetHandlerPlayer()
......
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