Commit 85f2195c authored by POLYMER's avatar POLYMER

fix

parent a8dd2c18
......@@ -104,8 +104,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.DisableShuffleCheck()
sc:ReverseInDeck()
end
Duel.ConfirmCards(tp,dg)
Duel.ConfirmCards(1-tp,dg)
--Duel.ConfirmCards(tp,dg)
--Duel.ConfirmCards(1-tp,dg)
Duel.AdjustAll()
dg:KeepAlive()
dg:ForEach(Card.RegisterFlagEffect,m,RESET_EVENT+RESETS_STANDARD+RESET_CHAIN,0,1)
......
......@@ -64,10 +64,10 @@ function cm.efilter(e,c)
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(REASON_COST,tp,cm.rfilter,1,nil,e,tp) end
if chk==0 then return ft>-1 and Duel.CheckReleaseGroup(tp,cm.rfilter,1,nil,e,tp) end
local ct=Duel.GetMatchingGroupCount(cm.spfilter,tp,LOCATION_DECK,0,nil,e,tp)
if Duel.IsPlayerAffectedByEffect(tp,59822133) then ct=1 end
local rg=Duel.SelectReleaseGroup(REASON_COST,tp,cm.rfilter,1,ct,nil,e,tp)
local rg=Duel.SelectReleaseGroup(tp,cm.rfilter,1,ct,nil,e,tp)
ct=Duel.Release(rg,REASON_COST)
e:SetLabel(ct)
end
......
......@@ -77,6 +77,7 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFlagEffect(tp,40009560)>0 or Duel.IsExistingMatchingCard(cm.dfilter,tp,LOCATION_MZONE,0,1,nil)
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() and aux.NegateAnyFilter(chkc) end
if chk==0 then
local b
......
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