Commit da6bae46 authored by gg123gg's avatar gg123gg Committed by GitHub

Add files via upload

parent 8240e324
......@@ -32,7 +32,7 @@ function cm.initial_effect(c)
local e4=srre.backeffect(c)
end
function cm.tgcon(e,tp,eg,ep,ev,re,r,rp)
return re:GetHandler():GetEquipTarget() and Duel.IsPlayerCanDiscardDeck(tp,3)
return re:GetHandler():GetEquipGroup():IsContains(e:GetHandler()) and Duel.IsPlayerCanDiscardDeck(tp,3)
end
function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetDecktopGroup(tp,3)
......@@ -44,7 +44,7 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.filter(c)
return c:IsFaceup() and c:IsRace(RACE_FAIRY)
return c:IsFaceup()
end
function cm.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler()
......
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