Commit 4a95a37a authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent bce7b245
...@@ -49,7 +49,7 @@ function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -49,7 +49,7 @@ function cm.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,0,0,0) Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,0,0,0)
end end
function cm.sumfilter(c) function cm.sumfilter(c)
return c:IsSummonable(true,nil) and c:IsRace(RACE_SPELLCASTER) return c:IsSummonable(true,nil) and c:IsRace(RACE_SEASERPENT)
end end
function cm.drop(e,tp,eg,ep,ev,re,r,rp) function cm.drop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
......
...@@ -37,12 +37,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -37,12 +37,6 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local tg=Duel.GetTargetsRelateToChain() local tg=Duel.GetTargetsRelateToChain()
if tg:GetCount()<1 then return end if tg:GetCount()<1 then return end
local og=tg:Filter(Card.IsCanOverlay,nil) local og=tg:Filter(Card.IsCanOverlay,nil)
for tc in aux.Next(og) do Duel.Overlay(sc,og)
local mg=tc:GetOverlayGroup()
if mg:GetCount()~=0 then
Duel.Overlay(sc,mg)
end
Duel.Overlay(sc,Group.FromCards(tc))
end
end end
end end
...@@ -19,9 +19,10 @@ function cm.initial_effect(c) ...@@ -19,9 +19,10 @@ function cm.initial_effect(c)
--search --search
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_DRAW) e3:SetCategory(CATEGORY_DRAW)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
e3:SetCode(EVENT_TO_GRAVE) e3:SetCode(EVENT_TO_GRAVE)
e3:SetRange(LOCATION_MZONE) e3:SetRange(LOCATION_MZONE)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCondition(cm.drcon) e3:SetCondition(cm.drcon)
e3:SetTarget(cm.drtg) e3:SetTarget(cm.drtg)
e3:SetOperation(cm.drop) e3:SetOperation(cm.drop)
......
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