Commit 82487a74 authored by VanillaSalt's avatar VanillaSalt

fix

parent 1db66f8a
...@@ -35,6 +35,7 @@ function c3734202.initial_effect(c) ...@@ -35,6 +35,7 @@ function c3734202.initial_effect(c)
e4:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e4:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e4:SetCode(EVENT_TO_GRAVE) e4:SetCode(EVENT_TO_GRAVE)
e4:SetCondition(c3734202.thcon)
e4:SetTarget(c3734202.thtg) e4:SetTarget(c3734202.thtg)
e4:SetOperation(c3734202.thop) e4:SetOperation(c3734202.thop)
c:RegisterEffect(e4) c:RegisterEffect(e4)
...@@ -91,6 +92,9 @@ function c3734202.spop2(e,tp,eg,ep,ev,re,r,rp) ...@@ -91,6 +92,9 @@ function c3734202.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end end
end end
function c3734202.thcon(e,tp,eg,ep,ev,re,r,rp)
return not e:GetHandler():IsReason(REASON_RETURN)
end
function c3734202.thfilter(c) function c3734202.thfilter(c)
return c:IsSetCard(0x2a) and not c:IsCode(3734202) and c:IsAbleToHand() return c:IsSetCard(0x2a) and not c:IsCode(3734202) and c:IsAbleToHand()
end end
......
...@@ -140,7 +140,7 @@ function c50485594.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -140,7 +140,7 @@ function c50485594.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c50485594.desfilter(c,fid) function c50485594.desfilter(c,fid)
return c:GetFlagEffect(50485594)==fid return c:GetFlagEffectLabel(50485594)==fid
end end
function c50485594.desop(e,tp,eg,ep,ev,re,r,rp) function c50485594.desop(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject() local g=e:GetLabelObject()
......
...@@ -11,6 +11,9 @@ function c53334641.initial_effect(c) ...@@ -11,6 +11,9 @@ function c53334641.initial_effect(c)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetOperation(c53334641.winop) e1:SetOperation(c53334641.winop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e2)
--search --search
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(53334641,1)) e2:SetDescription(aux.Stringid(53334641,1))
......
...@@ -3,7 +3,7 @@ function c86767655.initial_effect(c) ...@@ -3,7 +3,7 @@ function c86767655.initial_effect(c)
--disable --disable
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAINING) e1:SetCode(EVENT_CHAIN_SOLVING)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c86767655.discon) e1:SetCondition(c86767655.discon)
e1:SetOperation(c86767655.disop) e1:SetOperation(c86767655.disop)
......
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