Commit 7c6f609a authored by nanahira's avatar nanahira

update

parent 9268c5b6
...@@ -44,6 +44,7 @@ function cm.spcon(e,c) ...@@ -44,6 +44,7 @@ function cm.spcon(e,c)
local tp=c:GetControler() local tp=c:GetControler()
return Duel.GetMZoneCount(tp)>0 return Duel.GetMZoneCount(tp)>0
and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_HAND,0,3,nil) and Duel.IsExistingMatchingCard(cm.spfilter,tp,LOCATION_HAND,0,3,nil)
and not Duel.IsExistingMatchingCard(nil,tp,LOCATION_MZONE,0,1,nil)
end end
function cm.spop(e,tp,eg,ep,ev,re,r,rp,c) function cm.spop(e,tp,eg,ep,ev,re,r,rp,c)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
......
...@@ -2416,11 +2416,11 @@ function cm.TransformDFCCard(c) ...@@ -2416,11 +2416,11 @@ function cm.TransformDFCCard(c)
c:SetEntityCode(tcode,true) c:SetEntityCode(tcode,true)
c:ReplaceEffect(tcode,0,0) c:ReplaceEffect(tcode,0,0)
Duel.SetMetatable(c,_G["c"..tcode]) Duel.SetMetatable(c,_G["c"..tcode])
Duel.Hint(HINT_CARD,0,tcode) --Duel.Hint(HINT_CARD,0,tcode)
Duel.ConfirmCards(c:GetControler(),Group.FromCards(c)) --Duel.ConfirmCards(c:GetControler(),Group.FromCards(c))
if c:IsLocation(LOCATION_DECK) then --if c:IsLocation(LOCATION_DECK) then
Duel.ConfirmCards(1-c:GetControler(),Group.FromCards(c)) -- Duel.ConfirmCards(1-c:GetControler(),Group.FromCards(c))
end --end
return true return true
end end
function cm.DFCBackSideCommonEffect(c) function cm.DFCBackSideCommonEffect(c)
...@@ -2438,10 +2438,10 @@ function cm.DFCBackSideCommonEffect(c) ...@@ -2438,10 +2438,10 @@ function cm.DFCBackSideCommonEffect(c)
local tcode=c.dfc_back_side local tcode=c.dfc_back_side
if not tcode then return end if not tcode then return end
c:SetEntityCode(tcode) c:SetEntityCode(tcode)
Duel.ConfirmCards(tp,Group.FromCards(c)) -- Duel.ConfirmCards(tp,Group.FromCards(c))
if c:IsLocation(LOCATION_DECK) then -- if c:IsLocation(LOCATION_DECK) then
Duel.ConfirmCards(1-tp,Group.FromCards(c)) -- Duel.ConfirmCards(1-tp,Group.FromCards(c))
end -- end
c:ReplaceEffect(tcode,0,0) c:ReplaceEffect(tcode,0,0)
Duel.SetMetatable(c,_G["c"..tcode]) Duel.SetMetatable(c,_G["c"..tcode])
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