name: Troposphere
card_text: If you Tribute Summon this card, the Tribute must be Winged Beast-Type. This card is unaffected by the effects of Trap Cards.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--tribute limit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_TRIBUTE_LIMIT)
  	e1:SetValue(s.tlimit)
  	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:SetValue(s.efilter)
  	c:RegisterEffect(e2)
  end
  function s.tlimit(e, c)
  	return not c:IsRace(RACE_WINDBEAST)
  end
  function s.efilter(e, te)
  	return te:IsActiveType(TYPE_TRAP)
  end
  
  
source_text: Troposphere
  If you Tribute Summon this card, the Tribute must be Winged Beast-Type. This card is unaffected by the effects of Trap Cards.
target_text: -- Troposphere
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--tribute limit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_TRIBUTE_LIMIT)
  	e1:SetValue(s.tlimit)
  	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:SetValue(s.efilter)
  	c:RegisterEffect(e2)
  end
  function s.tlimit(e, c)
  	return not c:IsRace(RACE_WINDBEAST)
  end
  function s.efilter(e, te)
  	return te:IsActiveType(TYPE_TRAP)
  end
  
  