Commit 2c4f17db authored by Tachibana's avatar Tachibana

tnndx

parent 3f6f93fd
Pipeline #2931 passed with stages
in 28 minutes and 33 seconds
......@@ -65,6 +65,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function cm.regop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
--indes
local e3=Effect.CreateEffect(c)
e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
......@@ -73,11 +74,11 @@ function cm.regop(e,tp,eg,ep,ev,re,r,rp)
e3:SetTarget(aux.TargetBoolFunction(Card.IsSetCard,0x7fa))
e3:SetReset(RESET_PHASE+PHASE_END)
e3:SetValue(1)
c:RegisterEffect(e3)
Duel.RegisterEffect(e3,tp)
--cannot be target
local e4=e3:Clone()
e4:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e4:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE)
e4:SetValue(aux.tgoval)
c:RegisterEffect(e4)
Duel.RegisterEffect(e4,tp)
end
\ No newline at end of file
......@@ -12,7 +12,6 @@ function cm.initial_effect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCountLimit(1,17031100)
e1:SetCondition(cm.descon)
e1:SetTarget(cm.destg)
e1:SetOperation(cm.desop)
......
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