Commit 81085d7d authored by salix5's avatar salix5

Merge pull request #151 from Tianchenglipu/patch-4

Update c6859683.lua
parents 33d8a8ba 41740002
...@@ -9,13 +9,14 @@ function c6859683.initial_effect(c) ...@@ -9,13 +9,14 @@ function c6859683.initial_effect(c)
c:RegisterEffect(e1) c:RegisterEffect(e1)
end end
function c6859683.filter(c) function c6859683.filter(c)
return c:IsFacedown() or not c:IsType(TYPE_PENDULUM) return (c:IsFacedown() or c:IsType(TYPE_FUSION)) and c:IsAbleToGrave()
end end
function c6859683.target(e,tp,eg,ep,ev,re,r,rp,chk) function c6859683.target(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA) local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
if chk==0 then return g:FilterCount(c6859683.filter,nil)>=2 end if chk==0 then return g:FilterCount(c6859683.filter,nil)>=2 end
end end
function c6859683.operation(e,tp,eg,ep,ev,re,r,rp) function c6859683.operation(e,tp,eg,ep,ev,re,r,rp)
if g:FilterCount(c6859683.filter,nil)<2 then return end
local cg=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA) local cg=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
Duel.ConfirmCards(tp,cg) Duel.ConfirmCards(tp,cg)
local g=Duel.GetMatchingGroup(Card.IsType,1-tp,LOCATION_EXTRA,0,nil,TYPE_FUSION) local g=Duel.GetMatchingGroup(Card.IsType,1-tp,LOCATION_EXTRA,0,nil,TYPE_FUSION)
......
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