Commit b1aa8b2f authored by Tachibana's avatar Tachibana

ybb

parent c9ba8b11
...@@ -253,6 +253,9 @@ function cm.togop(e,tp,eg,ep,ev,re,r,rp) ...@@ -253,6 +253,9 @@ function cm.togop(e,tp,eg,ep,ev,re,r,rp)
if tc:IsRelateToEffect(e) then if tc:IsRelateToEffect(e) then
local g=tc:GetColumnGroup():Filter(Card.IsControler,nil,1-tp) local g=tc:GetColumnGroup():Filter(Card.IsControler,nil,1-tp)
if g:GetCount()>0 then if g:GetCount()>0 then
if tc:IsControler(1-tp) then
g:AddCard(tc)
end
Duel.SendtoGrave(g,REASON_EFFECT) Duel.SendtoGrave(g,REASON_EFFECT)
end end
end end
......
...@@ -126,6 +126,7 @@ function cm.discon(e,tp) ...@@ -126,6 +126,7 @@ function cm.discon(e,tp)
return Duel.GetMatchingGroupCount(nil,e:GetHandlerPlayer(),0,LOCATION_MZONE,nil)==1 return Duel.GetMatchingGroupCount(nil,e:GetHandlerPlayer(),0,LOCATION_MZONE,nil)==1
end end
function cm.disop(e,tp,eg,ep,ev,re,r,rp) function cm.disop(e,tp,eg,ep,ev,re,r,rp)
if ep==tp and (re:GetActivateLocation()&LOCATION_ONFIELD~=0 or re:IsHasType(EFFECT_TYPE_ACTIVATE)) then return end if ep~=tp and (re:GetActivateLocation()&LOCATION_ONFIELD~=0 or re:IsHasType(EFFECT_TYPE_ACTIVATE)) then
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
end
end end
\ No newline at end of file
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