name: Dododo
card_text: Cannot be Normal Summoned (but can be Normal Set). If this card attacks, it is unaffected by other card effects until the end of the Damage Step.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--summon limit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_LIMIT_SUMMON_PROC)
  	e1:SetCondition(s.sumcon)
  	c:RegisterEffect(e1)
  	--immune
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetCode(EFFECT_IMMUNE_EFFECT)
  	e2:SetCondition(s.immcon)
  	e2:SetValue(s.efilter)
  	c:RegisterEffect(e2)
  end
  function s.sumcon(e, c, minc)
  	if not c then
  		return true
  	end
  	return false
  end
  function s.immcon(e)
  	return Duel.GetAttacker() == e:GetHandler()
  end
  function s.efilter(e, te)
  	return te:GetOwner() ~= e:GetOwner()
  end
  
  
source_text: Dododo
  Cannot be Normal Summoned (but can be Normal Set). If this card attacks, it is unaffected by other card effects until the end of the Damage Step.
target_text: -- Dododo
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--summon limit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_LIMIT_SUMMON_PROC)
  	e1:SetCondition(s.sumcon)
  	c:RegisterEffect(e1)
  	--immune
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetCode(EFFECT_IMMUNE_EFFECT)
  	e2:SetCondition(s.immcon)
  	e2:SetValue(s.efilter)
  	c:RegisterEffect(e2)
  end
  function s.sumcon(e, c, minc)
  	if not c then
  		return true
  	end
  	return false
  end
  function s.immcon(e)
  	return Duel.GetAttacker() == e:GetHandler()
  end
  function s.efilter(e, te)
  	return te:GetOwner() ~= e:GetOwner()
  end
  
  