Commit b7cbcfc7 authored by TanakaKotoha's avatar TanakaKotoha

fix

parent 1ac7ee95
This diff is collapsed.
...@@ -32,18 +32,7 @@ function c16100001.op(e,tp,eg,ep,ev,re,r,rp) ...@@ -32,18 +32,7 @@ function c16100001.op(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.SelectMatchingCard(tp,c16100001.filter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,c16100001.filter,tp,LOCATION_HAND+LOCATION_DECK,0,1,1,nil,e,tp)
local tc=g:GetFirst() local tc=g:GetFirst()
local c=e:GetHandler() local c=e:GetHandler()
if tc and Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) if tc then Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DISABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_DISABLE_EFFECT)
e2:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
tc:RegisterEffect(e2)
end end
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end end
......
...@@ -47,8 +47,7 @@ function c33401310.thcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -47,8 +47,7 @@ function c33401310.thcon(e,tp,eg,ep,ev,re,r,rp)
return c:IsLocation(LOCATION_GRAVE) and rc:IsSetCard(0x341) or rc:IsSetCard(0xa342) and r&REASON_FUSION+REASON_LINK~=0 return c:IsLocation(LOCATION_GRAVE) and rc:IsSetCard(0x341) or rc:IsSetCard(0xa342) and r&REASON_FUSION+REASON_LINK~=0
end end
function c33401310.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c33401310.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return Duel.IsExistingMatchingCard(c33401310.thfilter,tp,LOCATION_GRAVE,0,1,nil) end
if chk==0 then return Duel.IsExistingTarget(c33401310.thfilter,tp,LOCATION_GRAVE,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,0,tp,LOCATION_GRAVE) Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,0,tp,LOCATION_GRAVE)
end end
function c33401310.thfilter(c) function c33401310.thfilter(c)
......
...@@ -45,6 +45,14 @@ function cm.initial_effect(c) ...@@ -45,6 +45,14 @@ function cm.initial_effect(c)
e3:SetTarget(cm.target) e3:SetTarget(cm.target)
e3:SetOperation(cm.operation) e3:SetOperation(cm.operation)
c:RegisterEffect(e3) c:RegisterEffect(e3)
--indes
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE)
e4:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e4:SetRange(LOCATION_FZONE)
e4:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e4:SetValue(1)
c:RegisterEffect(e4)
end end
--e0 --e0
function cm.mtcon(e,tp,eg,ep,ev,re,r,rp) function cm.mtcon(e,tp,eg,ep,ev,re,r,rp)
......
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