Commit 3f173ec5 authored by wind2009's avatar wind2009

Update 二重融合

parent f63c954e
Pipeline #30248 passed with stages
in 1 minute and 49 seconds
...@@ -3,6 +3,7 @@ local s,id,o=GetID() ...@@ -3,6 +3,7 @@ local s,id,o=GetID()
function s.initial_effect(c) function s.initial_effect(c)
--Activate --Activate
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
...@@ -78,8 +79,11 @@ function s.fop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,8 +79,11 @@ function s.fop(e,tp,eg,ep,ev,re,r,rp)
return 0 return 0
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp) function s.activate(e,tp,eg,ep,ev,re,r,rp)
if s.fop(e,tp,eg,ep,ev,re,r,rp)>0 and s.fcon(e,tp) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then if s.fop(e,tp,eg,ep,ev,re,r,rp)>0 then
Duel.BreakEffect() Duel.Readjust()
s.fop(e,tp,eg,ep,ev,re,r,rp) if s.fcon(e,tp) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
Duel.BreakEffect()
s.fop(e,tp,eg,ep,ev,re,r,rp)
end
end end
end 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