Torpedo
While "Umi" is face-up on the field, this card is unaffected by any Spell Cards.
local CARD_ID_0 = 22702055 --Umi

local CARD_ID_0 = 22702055 --Umi
local s, id, o = GetID()
function s.initial_effect(c)
	aux.AddCodeList(c, CARD_ID_0)
	--immune spell
	local e1 = Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_IMMUNE_EFFECT)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCondition(s.econ)
	e1:SetValue(s.efilter)
	c:RegisterEffect(e1)
end
function s.econ(e)
	return Duel.IsEnvironment(CARD_ID_0)
end
function s.efilter(e, te)
	return te:IsActiveType(TYPE_SPELL)
end


Torpedo
While "Umi" is face-up on the field, this card is unaffected by any Spell Cards.
-- Torpedo
local CARD_ID_0 = 22702055 --Umi
local s, id, o = GetID()
function s.initial_effect(c)
	aux.AddCodeList(c, CARD_ID_0)
	--immune spell
	local e1 = Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_IMMUNE_EFFECT)
	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCondition(s.econ)
	e1:SetValue(s.efilter)
	c:RegisterEffect(e1)
end
function s.econ(e)
	return Duel.IsEnvironment(CARD_ID_0)
end
function s.efilter(e, te)
	return te:IsActiveType(TYPE_SPELL)
end

