Commit 00c6aef5 authored by TanakaKotoha's avatar TanakaKotoha

dd

parent 067cfc16
--辉忆的残片 --辉忆的残片
function c65020064.initial_effect(c) function c65020064.initial_effect(c)
aux.AddCodeList(c,65020054,65020055,65020056,65020057)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
...@@ -20,7 +21,6 @@ function c65020064.initial_effect(c) ...@@ -20,7 +21,6 @@ function c65020064.initial_effect(c)
e2:SetOperation(c65020064.thop) e2:SetOperation(c65020064.thop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c65020064.fit_monster={65020054,65020055,65020056,65020057}
function c65020064.thfil1(c) function c65020064.thfil1(c)
return c:IsCode(65020054) and c:IsAbleToHand() return c:IsCode(65020054) and c:IsAbleToHand()
end end
......
--辉忆的具象 --辉忆的具象
function c65020065.initial_effect(c) function c65020065.initial_effect(c)
aux.AddCodeList(c,65020058,65020059,65020060)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
...@@ -20,7 +21,6 @@ function c65020065.initial_effect(c) ...@@ -20,7 +21,6 @@ function c65020065.initial_effect(c)
e2:SetOperation(c65020065.thop) e2:SetOperation(c65020065.thop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
c65020065.fit_monster={65020058,65020059,65020060}
function c65020065.thfil1(c) function c65020065.thfil1(c)
return c:IsCode(65020058) and c:IsAbleToHand() return c:IsCode(65020058) and c:IsAbleToHand()
end end
......
...@@ -40,10 +40,10 @@ function c65050005.filter(c) ...@@ -40,10 +40,10 @@ function c65050005.filter(c)
return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_SPECIAL) and c:IsType(TYPE_EFFECT) and not c:IsDisabled() return c:IsFaceup() and c:IsSummonType(SUMMON_TYPE_SPECIAL) and c:IsType(TYPE_EFFECT) and not c:IsDisabled()
end end
function c65050005.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc) function c65050005.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsLocation(LOCATION_MZONE) and c65050005.filter(chkc) end if chkc then return chkc:IsLocation(LOCATION_MZONE) and c65050005.filter(chkc) and chkc~=e:GetHandler() end
if chk==0 then return Duel.IsExistingTarget(c65050005.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end if chk==0 then return Duel.IsExistingTarget(c65050005.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
Duel.SelectTarget(tp,c65050005.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil) Duel.SelectTarget(tp,c65050005.filter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,e:GetHandler())
end end
function c65050005.activate(e,tp,eg,ep,ev,re,r,rp) function c65050005.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -30,9 +30,6 @@ function c65050010.initial_effect(c) ...@@ -30,9 +30,6 @@ function c65050010.initial_effect(c)
e2:SetTarget(c65050010.sptg) e2:SetTarget(c65050010.sptg)
e2:SetOperation(c65050010.spop) e2:SetOperation(c65050010.spop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EVENT_LEAVE_FIELD)
c:RegisterEffect(e3)
end end
function c65050010.condition(e,tp,eg,ep,ev,re,r,rp) function c65050010.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsChainNegatable(ev) and ep~=tp return Duel.IsChainNegatable(ev) and ep~=tp
......
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