Commit cd22843d authored by salix5's avatar salix5

Merge pull request #1082 from Tianchenglipu/patch-37

Update c57734012.lua
parents be9409d5 9b3170b7
......@@ -50,9 +50,9 @@ function c57734012.target(e,tp,eg,ep,ev,re,r,rp,chk)
and Duel.GetFlagEffect(tp,57734012)==0 and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(c57734012.filter1,tp,LOCATION_GRAVE+LOCATION_EXTRA,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_GRAVE+LOCATION_EXTRA)
Duel.RegisterFlagEffect(tp,57734012,0,EFFECT_FLAG_OATH,0)
end
function c57734012.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetFlagEffect(tp,57734012)~=0 then return end
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
if not Duel.IsPlayerCanSpecialSummonCount(tp,2) then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......@@ -68,4 +68,5 @@ function c57734012.activate(e,tp,eg,ep,ev,re,r,rp)
tc2:CompleteProcedure()
end
end
Duel.RegisterFlagEffect(tp,57734012,0,EFFECT_FLAG_OATH,0)
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