Commit 38200e76 authored by mercury233's avatar mercury233 Committed by GitHub

fix 道化鳥ラフィンパフィン

parent ec11a454
...@@ -23,7 +23,7 @@ function s.initial_effect(c) ...@@ -23,7 +23,7 @@ function s.initial_effect(c)
e2:SetCost(s.tohcost) e2:SetCost(s.tohcost)
e2:SetTarget(s.tohtg) e2:SetTarget(s.tohtg)
e2:SetOperation(s.tohop) e2:SetOperation(s.tohop)
c:RegisterEffect(e1) c:RegisterEffect(e2)
local e3=e2:Clone() local e3=e2:Clone()
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN) e3:SetCode(EVENT_FREE_CHAIN)
...@@ -50,11 +50,11 @@ end ...@@ -50,11 +50,11 @@ end
function s.confilter(c) function s.confilter(c)
return not (c:IsFaceup() and c:IsRace(RACE_WINDBEAST)) or c:IsFacedown() return not (c:IsFaceup() and c:IsRace(RACE_WINDBEAST)) or c:IsFacedown()
end end
function s.tohcon1(e,tp) function s.tohcon1(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0) local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
return g:FilterCount(s.confilter,nil)>0 return g:FilterCount(s.confilter,nil)>0
end end
function s.tohcon2(e,tp) function s.tohcon2(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0) local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
return #g>0 and g:FilterCount(s.confilter,nil)==0 return #g>0 and g:FilterCount(s.confilter,nil)==0
end 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