Commit 5ab62a75 authored by wind2009's avatar wind2009

Fix ARG☆S-HomeStaduim

parent d444d13a
Pipeline #29676 passed with stages
in 1 minute and 12 seconds
......@@ -75,9 +75,8 @@ function s.cfilter2(c)
end
function s.discon(e,tp,eg,ep,ev,re,r,rp)
local rc=re:GetHandler()
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
return bit.band(rc:GetType(),TYPE_TRAP+TYPE_CONTINUOUS)==TYPE_TRAP+TYPE_CONTINUOUS
and loc and bit.band(loc,LOCATION_MZONE)==LOCATION_MZONE
and re:GetActivateLocation()==LOCATION_MZONE
and Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_REMOVED,0,1,nil)
end
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
......
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