Commit e18159bd authored by 聖園ミカ's avatar 聖園ミカ 🐟

wdnmd

parent a533e9ad
No preview for this file type
......@@ -101,10 +101,11 @@ function s.sumlimit(e,c,sump,sumtype,sumpos,targetp,se)
end
function s.filter(c,e,tp)
return c:IsFaceup() and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand() and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and c:GetAttack()==0 and c:GetDefense()==1500 and c:IsRace(RACE_FAIRY) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:GetLevel()==1 and c:IsCanBeSpecialSummoned(e,0,tp,true,false,POS_FACEUP)
return c:IsFaceup() and c:IsType(TYPE_PENDULUM) and c:GetAttack()==0 and c:GetDefense()==1500 and c:IsRace(RACE_FAIRY) and c:IsAttribute(ATTRIBUTE_LIGHT) and c:GetLevel()==1 and c:IsCanBeSpecialSummoned(e,0,tp,true,false,POS_FACEUP)
end
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_EXTRA,0,1,nil,e,tp) end
if chk==0 then return Duel.IsExistingMatchingCard(s.filter,tp,LOCATION_EXTRA,0,1,nil,e,tp)
and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,0,0)
end
function s.prop(e,tp,eg,ep,ev,re,r,rp)
......
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