Commit 2be8eb01 authored by REIKAI's avatar REIKAI 💬

update 12.26

parent 35f89f21
......@@ -14,8 +14,21 @@ function cm.initial_effect(c)
local e2 = rsef.FV_Card(c,"im",cm.imval,
aux.TargetBoolFunction(Card.IsType,TYPE_SPELL+TYPE_TRAP),
{LOCATION_ONFIELD,0},nil,LOCATION_MZONE)
local e3 = rsef.SV_Card(c,"indct",rsval.indbae(),"sr",LOCATION_MZONE,
nil,nil,nil,2)
--immune effect
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_IMMUNE_EFFECT)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_SZONE,0)
e3:SetTarget(cm.etarget)
e3:SetValue(cm.efilter)
c:RegisterEffect(e3)
end
function cm.etarget(e,c)
return c:IsSetCard(0x389)
end
function cm.efilter(e,re)
return te:GetOwner()~=e:GetOwner()
end
function cm.atkop(e,tp)
local e1 = rsef.FV_Card({e:GetHandler(),tp},"def+",500,
......
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