From bed121d63a0ed5804141026d79dfec88f2595ab7 Mon Sep 17 00:00:00 2001 From: Kevdaplog <89976004+Kevdaplog@users.noreply.github.com> Date: Tue, 9 Sep 2025 15:24:47 +0200 Subject: [PATCH] Add files via upload --- unofficial/c511000164.lua | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/unofficial/c511000164.lua b/unofficial/c511000164.lua index 01a5960986..9c5599ac43 100644 --- a/unofficial/c511000164.lua +++ b/unofficial/c511000164.lua @@ -61,19 +61,6 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) e1:SetCode(EFFECT_CANNOT_ATTACK) e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,3) tc:RegisterEffect(e1) - local e2=Effect.CreateEffect(c) - e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) - e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) - e2:SetCode(EVENT_PHASE+PHASE_END) - e2:SetCountLimit(1) - e2:SetRange(LOCATION_MZONE) - e2:SetLabel(0) - e2:SetLabelObject(e1) - e2:SetOwnerPlayer(tp) - e2:SetCondition(s.descon) - e2:SetOperation(s.desop) - e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_SELF_TURN,3) - tc:RegisterEffect(e2) tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,0) local descnum=tp==c:GetOwner() and 0 or 1 local e3=Effect.CreateEffect(c) @@ -87,26 +74,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp) e3:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,3) c:RegisterEffect(e3) end -function s.reset(e,tp,eg,ep,ev,re,r,rp) - s.desop(e:GetLabelObject(),tp,eg,ep,ev,e,r,rp) -end -function s.descon(e,tp,eg,ep,ev,re,r,rp) - return Duel.GetTurnPlayer()~=e:GetOwner():GetControler() -end -function s.desop(e,tp,eg,ep,ev,re,r,rp) - local c=e:GetHandler() - local ct=e:GetLabel()+1 - Duel.HintSelection(Group.FromCards(c)) - e:GetOwner():SetTurnCounter(ct) - e:SetLabel(ct) - if ct==3 then - if e:GetLabelObject() then e:GetLabelObject():Reset() end - c:ResetFlagEffect(id) - Duel.Destroy(c,REASON_EFFECT) - if re then re:Reset() end - end -end -function s.efilter(c) + function s.efilter(c) return c:IsFaceup() and c:GetFlagEffect(id)>0 end function s.effcon(e)