Commit 55702689 authored by nanahira's avatar nanahira

fixes

parent 6394c206
--奇迹糕点 誓言皇后
function c12000052.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
......@@ -15,7 +18,7 @@ function c12000052.initial_effect(c)
e3:SetType(EFFECT_TYPE_IGNITION)
e3:SetProperty(EFFECT_FLAG_CARD_TARGET)
e3:SetRange(LOCATION_GRAVE)
e3:SetCountLimit(1,12000107)
e3:SetCountLimit(1,12000152)
e3:SetTarget(c12000052.destg)
e3:SetOperation(c12000052.desop)
c:RegisterEffect(e3)
......@@ -58,7 +61,7 @@ function c12000052.spop(e,tp,eg,ep,ev,re,r,rp)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetAbsoluteRange(tp,1,0)
e2:SetTarget(c12000052.splimit)
e2:SetReset(RESET_EVENT+0x1fe0000)
e2:SetReset(RESET_EVENT+0x1ff0000+RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
end
end
......
......@@ -30,7 +30,7 @@ function c13255222.initial_effect(c)
e3:SetDescription(aux.Stringid(13255222,2))
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
e3:SetCode(EVENT_REMOVE)
e3:SetCountLimit(1,13255222)
e3:SetTarget(c13255222.sptg1)
......@@ -94,7 +94,7 @@ function c13255222.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
function c13255222.spfilter1(c,e,tp)
return c:IsLevelBelow(1) and not c:IsCode(13255222) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
return c:IsLevelBelow(1) and c:IsFaceup() and not c:IsCode(13255222) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c13255222.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
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