Commit 6dc1d50c authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 3c6479af
Pipeline #420 failed with stages
in 24 minutes and 49 seconds
......@@ -114,6 +114,7 @@ function cm.negcon(e,tp,eg,ep,ev,re,r,rp)
local loc=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_LOCATION)
return re:IsActiveType(TYPE_MONSTER) and loc==LOCATION_MZONE and rp==1-tp and rc:GetAttribute()==c:GetAttribute()
and Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_MZONE,0,1,nil)
and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function cm.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
......
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