Commit d3d176f2 authored by Amiya's avatar Amiya

修复

parent 23c16ba8
......@@ -76,6 +76,10 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function s.xyzlimit(e,c)
if not c then return false end
return c:IsAttribute(ATTRIBUTE_LIGHT)
end
function s.thfilter(c)
return c:IsSetCard(0x2cb) and c:IsType(TYPE_MONSTER) and not c:IsRace(RACE_AQUA) and c:IsAbleToHand()
end
......
......@@ -70,6 +70,10 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function s.xyzlimit(e,c)
if not c then return false end
return c:IsAttribute(ATTRIBUTE_LIGHT)
end
function s.thfilter(c)
return c:IsSetCard(0x2cb) and c:IsType(TYPE_SPELL+TYPE_TRAP) and not c:IsRace(RACE_AQUA) and c:IsAbleToHand()
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