Commit d8643e68 authored by Tachibana's avatar Tachibana

rar

parent 6831678e
......@@ -70,7 +70,7 @@ function c12051020.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function c12051020.tgop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToGrave,tp,LOCATION_DECK,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,c12051020.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
if g:GetCount()>0 then
Duel.SendtoGrave(g,REASON_EFFECT)
end
......
......@@ -12,7 +12,8 @@ function c12051023.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(12051023,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,12051023)
e1:SetCost(c12051023.cost)
......
......@@ -90,4 +90,9 @@ function c12051030.descon(e,tp,eg,ep,ev,re,r,rp)
e:Reset()
return false
else return true end
end
function c12051030.desfilter(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject()
local tg=g:Filter(cm.rmfilter,nil,e:GetLabel())
Duel.Destroy(tg,REASON_EFFECT)
end
\ No newline at end of file
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