name: Gaia
card_text: 1 "Gaia Knight, the Force of Earth" + 1 non-Effect Synchro Monster
  This card cannot be targeted by, or destroyed by, the effects of Effect Monsters.
external_ids: local CARD_ID_0 = 97204936 --Gaia Knight, the Force of Earth
  
lua: local CARD_ID_0 = 97204936 --Gaia Knight, the Force of Earth
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCodeFun(c, CARD_ID_0, s.ffilter, 1, true, true)
  	--cannot be target
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetValue(s.efilter1)
  	c:RegisterEffect(e2)
  	--cannot be destroyed
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_SINGLE)
  	e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
  	e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e3:SetRange(LOCATION_MZONE)
  	e3:SetValue(s.efilter2)
  	c:RegisterEffect(e3)
  end
  s.material_type = TYPE_SYNCHRO
  function s.ffilter(c)
  	return c:IsFusionType(TYPE_SYNCHRO) and not c:IsFusionType(TYPE_EFFECT)
  end
  function s.efilter1(e, re, rp)
  	return re:IsActiveType(TYPE_EFFECT)
  end
  function s.efilter2(e, re)
  	return re:IsActiveType(TYPE_EFFECT)
  end
  
  
source_text: Gaia
  1 "Gaia Knight, the Force of Earth" + 1 non-Effect Synchro Monster
  This card cannot be targeted by, or destroyed by, the effects of Effect Monsters.
target_text: -- Gaia
  local CARD_ID_0 = 97204936 --Gaia Knight, the Force of Earth
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCodeFun(c, CARD_ID_0, s.ffilter, 1, true, true)
  	--cannot be target
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetValue(s.efilter1)
  	c:RegisterEffect(e2)
  	--cannot be destroyed
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_SINGLE)
  	e3:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
  	e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e3:SetRange(LOCATION_MZONE)
  	e3:SetValue(s.efilter2)
  	c:RegisterEffect(e3)
  end
  s.material_type = TYPE_SYNCHRO
  function s.ffilter(c)
  	return c:IsFusionType(TYPE_SYNCHRO) and not c:IsFusionType(TYPE_EFFECT)
  end
  function s.efilter1(e, re, rp)
  	return re:IsActiveType(TYPE_EFFECT)
  end
  function s.efilter2(e, re)
  	return re:IsActiveType(TYPE_EFFECT)
  end
  
  