Commit 346f4d79 authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c29990650.lua

parent 126ec6ee
Pipeline #30635 passed with stages
in 31 minutes and 20 seconds
...@@ -82,10 +82,10 @@ function c29990650.initial_effect(c) ...@@ -82,10 +82,10 @@ function c29990650.initial_effect(c)
local c=e:GetHandler() local c=e:GetHandler()
local b1=aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) local b1=aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
and Duel.IsExistingMatchingCard(c29990650.filter1,tp,LOCATION_EXTRA,0,1,nil,e,tp,c) and Duel.IsExistingMatchingCard(c29990650.filter1,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
and Duel.GetFlagEffect(tp,29990641)==0 and Duel.GetFlagEffect(tp,29990651)==0
local b2=aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) local b2=aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL)
and Duel.IsExistingMatchingCard(c29990650.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c) and Duel.IsExistingMatchingCard(c29990650.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
and Duel.GetFlagEffect(tp,29990642)==0 and Duel.GetFlagEffect(tp,29990652)==0
if chk==0 then return b1 or b2 end if chk==0 then return b1 or b2 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_EXTRA)
end end
...@@ -94,8 +94,10 @@ function c29990650.initial_effect(c) ...@@ -94,8 +94,10 @@ function c29990650.initial_effect(c)
if c:IsFaceup() and c:IsRelateToEffect(e) and c:IsControler(tp) and not c:IsImmuneToEffect(e) and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) then if c:IsFaceup() and c:IsRelateToEffect(e) and c:IsControler(tp) and not c:IsImmuneToEffect(e) and aux.MustMaterialCheck(c,tp,EFFECT_MUST_BE_XMATERIAL) then
Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(29990650,6)) Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(29990650,6))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local b1=Duel.GetFlagEffect(tp,29990641)==0 local b1=Duel.IsExistingMatchingCard(c29990650.filter1,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
local b2=Duel.GetFlagEffect(tp,29990642)==0 and Duel.GetFlagEffect(tp,29990651)==0
local b2=Duel.IsExistingMatchingCard(c29990650.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
and Duel.GetFlagEffect(tp,29990652)==0
local op=0 local op=0
if b1 and b2 then op=Duel.SelectOption(tp,aux.Stringid(29990650,2),aux.Stringid(29990650,3)) if b1 and b2 then op=Duel.SelectOption(tp,aux.Stringid(29990650,2),aux.Stringid(29990650,3))
elseif b1 then op=Duel.SelectOption(tp,aux.Stringid(29990650,2)) elseif b1 then op=Duel.SelectOption(tp,aux.Stringid(29990650,2))
......
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