Commit 19c7c862 authored by Tianchenglipu's avatar Tianchenglipu

Update c5128859.lua

parent 02711f54
......@@ -34,14 +34,10 @@ function c5128859.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA)
end
function c5128859.spfilter(c,code)
if c:GetCode()~=code then return false end
if c:IsType(TYPE_FUSION) then return c:IsAbleToExtraAsCost()
else return c:IsAbleToDeckAsCost() end
return c:IsAbleToDeckOrExtraAsCost() and c:GetCode()==code
end
function c5128859.spfilter2(c,code)
if c:GetOriginalCode()~=code then return false end
if c:IsType(TYPE_FUSION) then return c:IsAbleToExtraAsCost()
else return c:IsAbleToDeckAsCost() end
return c:IsAbleToDeckOrExtraAsCost() and c:GetOriginalCode()==code
end
function c5128859.spcon(e,c)
if c==nil then return true 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