Commit 32b41cd0 authored by Chen Bill's avatar Chen Bill

fix トラミッド・スフィンクス

parent 3cae96a5
--トラミッド・スフィンクス --トラミッド・スフィンクス
function c68406755.initial_effect(c) function c68406755.initial_effect(c)
c:EnableReviveLimit()
--spsummon condition --spsummon condition
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
...@@ -61,13 +62,15 @@ function c68406755.spcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -61,13 +62,15 @@ function c68406755.spcon(e,tp,eg,ep,ev,re,r,rp)
end end
function c68406755.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function c68406755.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,true) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end end
function c68406755.spop(e,tp,eg,ep,ev,re,r,rp) function c68406755.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end if not c:IsRelateToEffect(e) then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) if Duel.SpecialSummon(c,0,tp,tp,false,true,POS_FACEUP)~=0 then
c:CompleteProcedure()
end
end end
function c68406755.cfilter(c) function c68406755.cfilter(c)
return c:IsFaceup() and c:IsSetCard(0xe2) return c:IsFaceup() and c:IsSetCard(0xe2)
......
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