diff --git a/script/c511009180.lua b/script/c511009180.lua index 5d221d8e..d5acdc2a 100644 --- a/script/c511009180.lua +++ b/script/c511009180.lua @@ -1,18 +1,19 @@ ---Cipher Stranger (Anime) +--Cipher Étranger (Anime) function c511009180.initial_effect(c) --search - local e2=Effect.CreateEffect(c) - e2:SetDescription(aux.Stringid(73146473,1)) - e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) - e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) - e2:SetCode(EVENT_TO_GRAVE) - e2:SetTarget(c511009180.thtg) - e2:SetOperation(c511009180.thop) - c:RegisterEffect(e2) + local e1=Effect.CreateEffect(c) + e1:SetDescription(aux.Stringid(73146473,1)) + e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) + e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) + e1:SetProperty(EFFECT_FLAG_DELAY) + e1:SetCode(EVENT_TO_GRAVE) + e1:SetTarget(c511009180.thtg) + e1:SetOperation(c511009180.thop) + c:RegisterEffect(e1) end function c511009180.sfilter(c) - return c:IsSetCard(0x95) and c:IsType(TYPE_SPELL) and c:IsAbleToHand() + return c:IsSetCard(0x95) and c:IsType(TYPE_SPELL) and c:IsAbleToHand() end function c511009180.thtg(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then return Duel.IsExistingMatchingCard(c511009180.sfilter,tp,LOCATION_DECK,0,1,nil) end