Commit 57a157ee authored by POLYMER's avatar POLYMER

fix

parent 7f406f12
......@@ -61,7 +61,7 @@ function cm.dfilter(c,tp)
return c:IsLocation(LOCATION_MZONE) and c:IsFaceup() and c:IsCanTurnSet() and (not tp or c:IsControler(tp))
end
function cm.sfilter(c,e,tp)
return (not e or c:IsRelateToEffect(e)) and (cm.dfilter(c,tp) or c:GetColumnGroup():IsExists(cm.dfilter,1,c))
return (not e or c:IsRelateToEffect(e)) and (cm.dfilter(c,tp) or c:GetColumnGroup():IsExists(cm.dfilter,1,c,tp))
end
function cm.adtg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
......
......@@ -242,7 +242,7 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
local tc=te:GetHandler()
Duel.ChangePosition(tc,POS_FACEUP)
tc:SetStatus(STATUS_EFFECT_ENABLED,false)
--te:SetType(EFFECT_TYPE_QUICK_F+EFFECT_TYPE_ACTIVATE)
te:SetType(EFFECT_TYPE_QUICK_F+EFFECT_TYPE_ACTIVATE)
tc:CreateEffectRelation(te)
local c=e:GetHandler()
local ev0=Duel.GetCurrentChain()+1
......@@ -261,13 +261,13 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
local e3=e1:Clone()
e3:SetCode(EVENT_CHAIN_ACTIVATING)
e3:SetCondition(aux.TRUE)
e3:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) te:SetType(EFFECT_TYPE_QUICK_F+EFFECT_TYPE_ACTIVATE) end)
--Duel.RegisterEffect(e3,tp)
e3:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) te:SetType(EFFECT_TYPE_QUICK_F) end)
Duel.RegisterEffect(e3,tp)
e:Reset()
end
function cm.rsop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
--re:SetType(EFFECT_TYPE_QUICK_F+EFFECT_TYPE_ACTIVATE)
--re:SetType(EFFECT_TYPE_QUICK_F) --+EFFECT_TYPE_ACTIVATE)
if e:GetCode()==EVENT_CHAIN_SOLVING and rc:IsRelateToEffect(re) then
local _NegateActivation=Duel.NegateActivation
Duel.NegateActivation=aux.TRUE
......
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