Commit 419e618d authored by Tachibana's avatar Tachibana

得得得得得

parent 5749bd11
Pipeline #12139 passed with stages
in 35 minutes and 50 seconds
No preview for this file type
......@@ -75,7 +75,7 @@ function cm.synop(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject()
local tc=g:GetFirst()
if tc then
if Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)~=0 and Duel.SendtoHand(c,tp,REASON_EFFECT)~=0 and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
if Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)~=0 and c:IsRelateToEffect(e) and Duel.SendtoHand(c,tp,REASON_EFFECT)~=0 and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g1=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil)
if g1:GetCount()>0 then
......
......@@ -112,6 +112,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
--Effect 4
function cm.con1(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandlerPlayer()
return Duel.GetMatchingGroupCount(Card.IsOnField,tp,LOCATION_MZONE,0,nil)==1 and Duel.GetMatchingGroupCount(Card.IsOnField,1-tp,LOCATION_ONFIELD,0,nil)==1
end
--Effect 6
......
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