Commit a0d6aafe authored by Tachibana's avatar Tachibana

eme

parent 3474486b
Pipeline #5909 passed with stages
in 22 minutes and 4 seconds
No preview for this file type
......@@ -105,7 +105,6 @@ function c20000152.tg3(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chk==0 then return Duel.IsExistingMatchingCard(c20000152.tgf3,tp,LOCATION_GRAVE,0,1,nil)
and Duel.IsExistingTarget(c20000152.tgf31,tp,LOCATION_MZONE,0,1,nil) end
Duel.Hint(HINT_MESSAGE,1-tp,aux.Stringid(m,5))
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c20000152.tgf31,tp,LOCATION_MZONE,0,1,1,nil)
end
......
......@@ -32,14 +32,14 @@ function cm.initial_effect(c)
end)
e2:SetTarget(function(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_GRAVE) and cm.tf21(chkc,e,tp) end
if chk==0 then return Duel.IsExistingTarget(cm.tf21,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil,e,tp) end
if chk==0 then return Duel.IsExistingTarget(cm.tf21,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local tc=Duel.SelectTarget(tp,cm.tf21,tp,LOCATION_GRAVE,LOCATION_GRAVE,1,1,nil,e,tp)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,tc,1,0,0)
end)
e2:SetOperation(function(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
if tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
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