Commit 31fa5532 authored by salix5's avatar salix5

fix

parent cd22843d
...@@ -53,8 +53,8 @@ function c57734012.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -53,8 +53,8 @@ function c57734012.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
function c57734012.activate(e,tp,eg,ep,ev,re,r,rp) function c57734012.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,57734012)~=0 then return end if Duel.GetFlagEffect(tp,57734012)~=0 then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end Duel.RegisterFlagEffect(tp,57734012,0,0,0)
if not Duel.IsPlayerCanSpecialSummonCount(tp,2) then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 or not Duel.IsPlayerCanSpecialSummonCount(tp,2) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g1=Duel.SelectMatchingCard(tp,c57734012.filter1,tp,LOCATION_GRAVE+LOCATION_EXTRA,0,1,1,nil,e,tp) local g1=Duel.SelectMatchingCard(tp,c57734012.filter1,tp,LOCATION_GRAVE+LOCATION_EXTRA,0,1,1,nil,e,tp)
local tc1=g1:GetFirst() local tc1=g1:GetFirst()
...@@ -68,5 +68,4 @@ function c57734012.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -68,5 +68,4 @@ function c57734012.activate(e,tp,eg,ep,ev,re,r,rp)
tc2:CompleteProcedure() tc2:CompleteProcedure()
end end
end end
Duel.RegisterFlagEffect(tp,57734012,0,EFFECT_FLAG_OATH,0)
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