Commit c4247881 authored by Lyris's avatar Lyris Committed by GitHub

Fix 翼の恩返し (#1811)

Could not be activated while the user controls Winged Beasts that share an original name
parent 4984b9f7
......@@ -15,11 +15,10 @@ function c8843569.initial_effect(c)
end
function c8843569.cfilter(c,g)
return c:IsFacedown() or not c:IsRace(RACE_WINDBEAST)
or g:IsExists(Card.IsOriginalCodeRule,1,c,c:GetOriginalCodeRule())
end
function c8843569.drcon(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetFieldGroup(tp,LOCATION_MZONE,0)
return g:GetCount()>=2 and not g:IsExists(c8843569.cfilter,1,nil,g)
return g:GetCount()>=2 and not g:IsExists(c8843569.cfilter,1,nil,g) and g:GetClassCount(Card.GetOriginalCodeRule)>=2
end
function c8843569.drcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,600) 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