Commit 24fd567f authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c33310051.lua

parent ad5f377b
......@@ -30,6 +30,7 @@ function c33310051.initial_effect(c)
local e3=e2:Clone()
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCondition(s.thcon2)
e3:SetCode(EVENT_DESTROYED)
c:RegisterEffect(e3)
end
......@@ -57,6 +58,10 @@ end
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsContains(e:GetHandler())
end
function s.thcon2(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
return c:IsReason(REASON_EFFECT)
end
function s.sctg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>2 end
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