--Flibberty Digglisnork local cid,id=GetID() function cid.initial_effect(c) --flip local e0=Effect.CreateEffect(c) --e0:SetDescription(aux.Stringid(96381979,0)) e0:SetCategory(CATEGORY_DESTROY) e0:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_F) e0:SetProperty(EFFECT_FLAG_DELAY) e0:SetCountLimit(1,id) e0:SetTarget(cid.destg) e0:SetOperation(cid.desop) c:RegisterEffect(e0) --Gain ATK local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e2:SetCode(EVENT_FLIP) e2:SetRange(LOCATION_MZONE) e2:SetOperation(cid.acop) c:RegisterEffect(e2) end function cid.filter(c) return c:IsFaceup() end function cid.destg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(cid.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler()) end local sg=Duel.GetMatchingGroup(cid.filter,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler()) Duel.SetOperationInfo(0,CATEGORY_DESTROY,sg,sg:GetCount(),0,0) end function cid.desop(e,tp,eg,ep,ev,re,r,rp) local sg=Duel.GetMatchingGroup(cid.filter,tp,LOCATION_MZONE,LOCATION_MZONE,aux.ExceptThisCard(e)) Duel.Destroy(sg,REASON_EFFECT) end function cid.cfilter(c) return c:IsType(TYPE_MONSTER) and c:IsSetCard(ARCHE_FLIBBERTY) end function cid.acop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if eg:IsExists(cid.cfilter,1,e:GetHandler()) then local g=Duel.GetDecktopGroup(1-tp,1) Duel.DisableShuffleCheck() Duel.Remove(g,POS_FACEUP,REASON_EFFECT) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT_FLAG_COPY_INHERIT) e1:SetValue(200) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_DISABLE) c:RegisterEffect(e1) end end