name: Jurrac
card_text: While another face-up "Jurrac" monster is on the field, this card cannot be destroyed by battle.
external_ids: local SETCARD_ID_0 = 0x22 --Jurrac
  
lua: local SETCARD_ID_0 = 0x22 --Jurrac
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--battle indestructable
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
  	e2:SetCondition(s.indcon)
  	e2:SetValue(1)
  	c:RegisterEffect(e2)
  end
  function s.filter(c)
  	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0)
  end
  function s.indcon(e)
  	return Duel.IsExistingMatchingCard(s.filter, 0, LOCATION_MZONE, LOCATION_MZONE, 1, e:GetHandler())
  end
  
  
source_text: Jurrac
  While another face-up "Jurrac" monster is on the field, this card cannot be destroyed by battle.
target_text: -- Jurrac
  local SETCARD_ID_0 = 0x22 --Jurrac
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--battle indestructable
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
  	e2:SetCondition(s.indcon)
  	e2:SetValue(1)
  	c:RegisterEffect(e2)
  end
  function s.filter(c)
  	return c:IsFaceup() and c:IsSetCard(SETCARD_ID_0)
  end
  function s.indcon(e)
  	return Duel.IsExistingMatchingCard(s.filter, 0, LOCATION_MZONE, LOCATION_MZONE, 1, e:GetHandler())
  end
  
  