Commit 829f1390 authored by Tachibana's avatar Tachibana

得得得得得

parent 5cc53c56
Pipeline #13244 passed with stages
in 33 minutes and 10 seconds
No preview for this file type
......@@ -15,16 +15,16 @@ function c12301112.accs(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(112)
if chk==0 then return true end
end
function c12301112.filsp(c,e,tp)
function c12301112.filsp(c,e,tp,cc)
local a
if c:IsLocation(LOCATION_EXTRA) and (c:IsFaceup() or c:IsType(TYPE_LINK)) then
a=Duel.GetLocationCountFromEx(tp)>0
else a=Duel.GetLocationCount(tp,LOCATION_MZONE)>0
a=Duel.GetLocationCountFromEx(tp,tp,cc)>0
else a=Duel.GetMZoneCount(tp,cc)>0
end
return c:IsCanBeSpecialSummoned(e,nil,tp,false,false) and c:IsSetCard(0x2d5) and a
end
function c12301112.filcs(c,e,tp)
return c:IsReleasable() and c:IsSetCard(0x2d5) and c:GetOriginalType()&TYPE_MONSTER~=0 and Duel.IsExistingMatchingCard(c12301112.filsp,tp,LOCATION_EXTRA+LOCATION_GRAVE,0,1,c,e,tp)
return c:IsReleasable() and c:IsSetCard(0x2d5) and c:GetOriginalType()&TYPE_MONSTER~=0 and Duel.IsExistingMatchingCard(c12301112.filsp,tp,LOCATION_EXTRA+LOCATION_GRAVE,0,1,c,e,tp,cc)
end
function c12301112.filtg(c,e,tp,z)
local zp=z or LOCATION_HAND+LOCATION_DECK+LOCATION_EXTRA
......
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