Commit aa2d600b authored by Tachibana's avatar Tachibana

得得得得得

parent 1d81d471
Pipeline #12858 passed with stages
in 28 minutes and 22 seconds
......@@ -114,13 +114,13 @@ end
function cm.rlcheck(c,tp)
local sg=c:GetColumnGroup()
sg:AddCard(c)
return sg:IsExists(function(c,tp) return c:IsReleasable() and c:IsControler(tp) end ,1,nil,tp)
return sg:IsExists(function(rc,rtp) return rc:IsReleasable() and rc:IsControler(rtp) end ,1,nil,tp)
end
function cm.rltg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return cm.rlcheck(chkc,1-tp) and c:IsLocation(LOCATION_ONFIELD) end
if chk==0 then return Duel.IsExistingTarget(cm.rlcheck,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,tp) end
if chk==0 then return Duel.IsExistingTarget(cm.rlcheck,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil,1-tp) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RELEASE)
local rg=Duel.SelectTarget(tp,cm.rlcheck,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,tp)
local rg=Duel.SelectTarget(tp,cm.rlcheck,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,1,nil,1-tp)
local sg=rg:GetFirst():GetColumnGroup()
if rg:GetFirst():IsControler(1-tp) then
sg:Merge(rg)
......
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