Commit e55a7690 authored by Tachibana's avatar Tachibana

1145141919810

parent b582820a
Pipeline #14962 passed with stages
in 28 minutes and 26 seconds
......@@ -4,6 +4,14 @@ local cm=_G["c"..m]
Duel.LoadScript("yes.lua")
function cm.initial_effect(c)
c:EnableReviveLimit()
--immune
local e11=Effect.CreateEffect(c)
e11:SetType(EFFECT_TYPE_SINGLE)
e11:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e11:SetRange(LOCATION_MZONE)
e11:SetCode(EFFECT_IMMUNE_EFFECT)
e11:SetValue(cm.efilter)
c:RegisterEffect(e11)
--splimit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
......@@ -41,6 +49,10 @@ end
function cm.splimit(e,se,sp,st)
return se:GetHandler():GetCode()==81905024
end
--e1
function cm.efilter(e,re)
return not (re:IsActiveType(TYPE_MONSTER) and re:IsActivated()) and not (re:GetOwner():IsAttack(3000))
end
--e2
function cm.discon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER) and not (re:GetHandler():IsSetCard(0x3852)) and re:GetHandler()~=e:GetHandler()
......
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