You need to sign in or sign up before continuing.
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) ...@@ -32,7 +32,7 @@ function cm.initial_effect(c)
local e4=srre.backeffect(c) local e4=srre.backeffect(c)
end end
function cm.tgcon(e,tp,eg,ep,ev,re,r,rp) 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 end
function cm.tgop(e,tp,eg,ep,ev,re,r,rp) function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetDecktopGroup(tp,3) local g=Duel.GetDecktopGroup(tp,3)
...@@ -44,7 +44,7 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp) ...@@ -44,7 +44,7 @@ function cm.tgop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function cm.filter(c) function cm.filter(c)
return c:IsFaceup() and c:IsRace(RACE_FAIRY) return c:IsFaceup()
end end
function cm.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function cm.eqtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local c=e:GetHandler() 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