Commit 35250caf authored by 聖園ミカ's avatar 聖園ミカ 🐟

7

parent b41a1884
...@@ -107,9 +107,11 @@ function c79100330.disfilter(c,code) ...@@ -107,9 +107,11 @@ function c79100330.disfilter(c,code)
return c:IsFaceup() and c:IsCode(code) return c:IsFaceup() and c:IsCode(code)
end end
function c79100330.discon(e,tp,eg,ep,ev,re,r,rp) function c79100330.discon(e,tp,eg,ep,ev,re,r,rp)
local tp=e:GetHandlerPlayer()
local loc,pos=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION,CHAININFO_TRIGGERING_POSITION) local loc,pos=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION,CHAININFO_TRIGGERING_POSITION)
local rc=re:GetHandler() local rc=re:GetHandler()
return ep==tp and (loc==LOCATION_REMOVED or Duel.IsExistingMatchingCard(c79100330.disfilter,tp,0,LOCATION_REMOVED,1,nil,rc:GetCode())) return (loc==LOCATION_REMOVED and rc:IsControler(1-tp)) or
Duel.IsExistingMatchingCard(c79100330.disfilter,tp,0,LOCATION_REMOVED,1,nil,rc:GetCode())
end end
function c79100330.disop(e,tp,eg,ep,ev,re,r,rp) function c79100330.disop(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateEffect(ev) Duel.NegateEffect(ev)
......
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