Commit 937b17b5 authored by TanakaKotoha's avatar TanakaKotoha

wadashimo

parent 60616296
Pipeline #625 passed with stages
in 41 minutes and 41 seconds
...@@ -80,10 +80,10 @@ end ...@@ -80,10 +80,10 @@ end
function cm.disop(e,tp,eg,ep,ev,re,r,rp) function cm.disop(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler() local rc=re:GetHandler()
local loc=Duel.GetChainInfo(ev,CHAININFO_CHAIN_COUNT) local loc=Duel.GetChainInfo(ev,CHAININFO_CHAIN_COUNT)
-- local ct=Duel.GetCurrentChain() -- local ct=Duel.GetCurrentChain()
local rx=Duel.GetMatchingGroup(cm.tdfilter3,rc,LOCATION_MZONE,LOCATION_MZONE,nil) local rx=Duel.GetMatchingGroup(cm.tdfilter3,rc,LOCATION_MZONE,LOCATION_MZONE,nil)
local rxs=rx:GetCount() local rxs=rx:GetCount()
if loc>=rxs and rc:IsAbleToDeck() then if loc>=rxs and rc:IsAbleToDeck() and not rc:IsCode(m) then
Duel.SendtoDeck(rc,nil,2,REASON_EFFECT) Duel.SendtoDeck(rc,nil,2,REASON_EFFECT)
end 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