Commit 50b95df7 authored by Tachibana's avatar Tachibana

得得得得得

parent 3bb8855b
Pipeline #13330 passed with stages
in 29 minutes and 5 seconds
No preview for this file type
......@@ -23,7 +23,7 @@ function cm.initial_effect(c)
c:RegisterEffect(ep1)
--search
local e0=Effect.CreateEffect(c)
e0:SetDescription(aux.Stringid(m,1))
e0:SetDescription(aux.Stringid(m,0))
e0:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e0:SetType(EFFECT_TYPE_IGNITION)
e0:SetCountLimit(1)
......@@ -34,7 +34,7 @@ function cm.initial_effect(c)
c:RegisterEffect(e0)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,2))
e1:SetDescription(aux.Stringid(m,1))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
......@@ -88,10 +88,10 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SendtoGrave(hg,REASON_COST+REASON_DISCARD)
end
function cm.filter(c)
return c:IsSetCard(0xde0) and c:IsAbleToHand()
return c:IsSetCard(0xde3) and c:IsAbleToHand()
end
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil)
if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,LOCATION_DECK+LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK+LOCATION_GRAVE)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
......
......@@ -39,7 +39,7 @@ function cm.recop(e,tp,eg,ep,ev,re,r,rp)
end
function cm.thfilter(c)
return c:IsSetCard(0xde3,0xde6) and c:IsAbleToHand()
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
local a1=Duel.IsExistingMatchingCard(cm.thfilter,tp,LOCATION_DECK,0,1,nil)
local a2=Duel.IsExistingMatchingCard(cm.tgfilter,tp,LOCATION_DECK,0,1,nil)
......
......@@ -20,7 +20,7 @@ function c72411170.matfilter1(c)
return c:IsSynchroType(TYPE_TUNER) or c:IsSynchroType(TYPE_NORMAL)
end
function c72411170.con(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO)
return e:GetHandler():IsSummonType(SUMMON_TYPE_SYNCHRO) and (Duel.IsExistingMatchingCard(c72411170.filteratk,tp,LOCATION_GRAVE,0,1,nil) or Duel.IsExistingMatchingCard(c72411170.filterdef,tp,LOCATION_GRAVE,0,1,nil))
end
function c72411170.filteratk(c)
return c:IsCode(72411020)
......
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