Commit ab6f5369 authored by TanakaKotoha's avatar TanakaKotoha

fix lua and cdb

parent 99aa933b
No preview for this file type
......@@ -37,9 +37,9 @@ function c11200210.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummonStep(c,0,tp,tp,true,false,POS_FACEUP)
--Activate
local e1=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_SINGLE)
e0:SetCode(EFFECT_FUSION_SUBSTITUTE)
e0:SetCondition(c11200210.subcon)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_FUSION_SUBSTITUTE)
e1:SetCondition(c11200210.subcon)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
c:RegisterEffect(e1,true)
Duel.SpecialSummonComplete()
......
......@@ -26,13 +26,13 @@ function c33400206.initial_effect(c)
c:RegisterEffect(e2)
end
function c33400206.lcheck(g)
return g:IsExists(Card.IsLinkSetCard,1,nil,0x7342)
return g:IsExists(Card.IsLinkSetCard,1,nil,0x6342)
end
function c33400206.thcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
end
function c33400206.thfilter(c)
return c:IsSetCard(0x7342) and c:IsAbleToHand()
return c:IsSetCard(0x6342) and c:IsAbleToHand()
end
function c33400206.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c33400206.thfilter,tp,LOCATION_DECK,0,1,nil) end
......
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