Commit b0717218 authored by Tachibana's avatar Tachibana

ybb

parent c6fe2e1e
......@@ -15,6 +15,26 @@ function cm.initial_effect(c)
local e2=e1:Clone()
e2:SetCode(EVENT_SUMMON_SUCCESS)
c:RegisterEffect(e2)
--
if not cm.Overlay_Check then
cm.Overlay_Check=true
_Overlay=Duel.Overlay
function Duel.Overlay(card,ocard)
if aux.GetValueType(ocard)=="Group" then
for tc in aux.Next(ocard) do
if tc:GetOverlayCount()>0 then
_Overlay(card,tc:GetOverlayGroup())
end
end
end
if aux.GetValueType(ocard)=="Card" then
if ocard:GetOverlayCount()>0 then
_Overlay(card,ocard:GetOverlayGroup())
end
end
_Overlay(card,ocard)
end
end
end
function cm.spfilter(c,e,tp)
return c:IsRace(RACE_WINDBEAST) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
......
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