Commit 6ffa961a authored by Tachibana's avatar Tachibana

ndyd

parent 4eab7c16
Pipeline #5115 passed with stages
in 21 minutes and 53 seconds
......@@ -43,6 +43,11 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
e1:SetValue(cm.indct)
Duel.RegisterEffect(e1,tp)
if Duel.GetLP(e:GetHandler():GetControler())<=1000 then
--imm
local e2=e1:Clone()
e2:SetCode(EFFECT_IMMUNE_EFFECT)
e2:SetValue(cm.efilter)
Duel.RegisterEffect(e2,tp)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CHANGE_DAMAGE)
......
......@@ -26,7 +26,6 @@ function cm.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,1,0,0)
end
function cm.desop(e,tp,eg,ep,ev,re,r,rp)
if not e:GetHandler():IsRelateToEffect(e) then return end
local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) then
Duel.Destroy(tc,REASON_EFFECT)
......
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