Commit 41060235 authored by Tachibana's avatar Tachibana

eme

parent c1ebb0e4
...@@ -107,6 +107,7 @@ function c65001013.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -107,6 +107,7 @@ function c65001013.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.ReleaseRitualMaterial(mat) Duel.ReleaseRitualMaterial(mat)
Duel.BreakEffect() Duel.BreakEffect()
Duel.SpecialSummonStep(tc,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP) Duel.SpecialSummonStep(tc,SUMMON_TYPE_RITUAL,tp,tp,false,true,POS_FACEUP)
if e:GetLabel()==1 then
local e2=Effect.CreateEffect(e:GetHandler()) local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_CHAINING) e2:SetCode(EVENT_CHAINING)
...@@ -114,8 +115,9 @@ function c65001013.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -114,8 +115,9 @@ function c65001013.activate(e,tp,eg,ep,ev,re,r,rp)
e2:SetReset(RESET_EVENT+RESETS_STANDARD) e2:SetReset(RESET_EVENT+RESETS_STANDARD)
e2:SetOperation(c65001013.actop) e2:SetOperation(c65001013.actop)
tc:RegisterEffect(e2) tc:RegisterEffect(e2)
Duel.SpecialSummonComplete()
tc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(65001013,1)) tc:RegisterFlagEffect(0,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(65001013,1))
end
Duel.SpecialSummonComplete()
tc:CompleteProcedure() tc:CompleteProcedure()
end end
end end
......
...@@ -5,6 +5,7 @@ function c65001014.initial_effect(c) ...@@ -5,6 +5,7 @@ function c65001014.initial_effect(c)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE) e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c65001014.con) e1:SetCondition(c65001014.con)
e1:SetOperation(c65001014.op) e1:SetOperation(c65001014.op)
...@@ -27,7 +28,7 @@ function c65001014.retreg(e,tp,eg,ep,ev,re,r,rp) ...@@ -27,7 +28,7 @@ function c65001014.retreg(e,tp,eg,ep,ev,re,r,rp)
e1:SetRange(LOCATION_MZONE) e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetReset(RESET_EVENT+0x1ee0000+RESET_PHASE+PHASE_END) e1:SetReset(RESET_EVENT+0x1ee0000+RESET_PHASE+PHASE_END)
e1:SetCondition(aux.SpiritReturnCondition) e1:SetCondition(aux.SpiritReturnConditionForced)
e1:SetTarget(c65001014.rettg) e1:SetTarget(c65001014.rettg)
e1:SetOperation(c65001014.retop) e1:SetOperation(c65001014.retop)
c:RegisterEffect(e1) c:RegisterEffect(e1)
......
...@@ -76,11 +76,11 @@ function c65020179.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,11 +76,11 @@ function c65020179.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetTargetRange(0,LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE) e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCountLimit(1) e1:SetCountLimit(1)
e1:SetReset(RESET_CHAIN)
Duel.RegisterEffect(e1,tp) Duel.RegisterEffect(e1,tp)
if Duel.NegateActivation(ev) and Duel.IsExistingMatchingCard(c65020179.sumfil,tp,LOCATION_HAND,0,1,nil) and Duel.GetMZoneCount(tp)>0 then if Duel.NegateActivation(ev) and Duel.IsExistingMatchingCard(c65020179.sumfil,tp,LOCATION_HAND,0,1,nil) and Duel.GetMZoneCount(tp)>0 then
local sg=Duel.SelectMatchingCard(tp,c65020179.sumfil,tp,LOCATION_HAND,0,1,1,nil,e) local sg=Duel.SelectMatchingCard(tp,c65020179.sumfil,tp,LOCATION_HAND,0,1,1,nil,e)
local sgc=sg:GetFirst() local sgc=sg:GetFirst()
Duel.Summon(tp,sgc,true,nil) Duel.Summon(tp,sgc,true,nil)
end end
e1:Reset()
end end
\ No newline at end of file
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