Commit 126ec6ee authored by 聖園ミカ's avatar 聖園ミカ 🐟

Replace c29990640.lua

parent 5d20d0cc
Pipeline #30634 canceled with stages
in 20 seconds
...@@ -94,8 +94,10 @@ function c29990640.initial_effect(c) ...@@ -94,8 +94,10 @@ function c29990640.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(29990640,6)) Duel.Hint(HINT_MESSAGE,tp,aux.Stringid(29990640,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(c29990640.filter1,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
local b2=Duel.GetFlagEffect(tp,29990642)==0 and Duel.GetFlagEffect(tp,29990641)==0
local b2=Duel.IsExistingMatchingCard(c29990640.filter2,tp,LOCATION_EXTRA,0,1,nil,e,tp,c)
and Duel.GetFlagEffect(tp,29990642)==0
local op=0 local op=0
if b1 and b2 then op=Duel.SelectOption(tp,aux.Stringid(29990640,2),aux.Stringid(29990640,3)) if b1 and b2 then op=Duel.SelectOption(tp,aux.Stringid(29990640,2),aux.Stringid(29990640,3))
elseif b1 then op=Duel.SelectOption(tp,aux.Stringid(29990640,2)) elseif b1 then op=Duel.SelectOption(tp,aux.Stringid(29990640,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