Commit e5cc9c01 authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 0962ef00
......@@ -88,6 +88,7 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
Duel.BreakEffect()
local g=c:GetColumnGroup()
local dg=g:Filter(s.cfilter,nil,1-tp)
local val=0
if Duel.Destroy(dg,REASON_EFFECT)>0 then
local og=Duel.GetOperatedGroup()
local tc=og:GetFirst()
......
......@@ -98,7 +98,7 @@ function c21185596.con2(e,tp,eg,ep,ev,re,r,rp)
return sum>0
end
function c21185596.q(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
return c:IsType(TYPE_MONSTER) and c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_DEFENSE) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end
function c21185596.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(c21185596.q,tp,0,LOCATION_GRAVE,1,nil,e,tp) end
......
......@@ -17,7 +17,7 @@ function c21185599.initial_effect(c)
e2:SetCategory(CATEGORY_DESTROY)
e2:SetRange(LOCATION_GRAVE+LOCATION_REMOVED)
e2:SetCountLimit(1,21185600)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET)
e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
e2:SetCondition(c21185599.con2)
e2:SetTarget(c21185599.tg2)
e2:SetOperation(c21185599.op2)
......
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