name: Lightning
card_text: Neither player can activate Spell Cards during Main Phase 1.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--actlimit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_CANNOT_ACTIVATE)
  	e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(1, 1)
  	e1:SetValue(s.actlimit)
  	c:RegisterEffect(e1)
  end
  function s.actlimit(e, te, tp)
  	return Duel.GetCurrentPhase() == PHASE_MAIN1 and te:IsHasType(EFFECT_TYPE_ACTIVATE) and te:IsActiveType(TYPE_SPELL)
  end
  
  
source_text: Lightning
  Neither player can activate Spell Cards during Main Phase 1.
target_text: -- Lightning
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--actlimit
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_CANNOT_ACTIVATE)
  	e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(1, 1)
  	e1:SetValue(s.actlimit)
  	c:RegisterEffect(e1)
  end
  function s.actlimit(e, te, tp)
  	return Duel.GetCurrentPhase() == PHASE_MAIN1 and te:IsHasType(EFFECT_TYPE_ACTIVATE) and te:IsActiveType(TYPE_SPELL)
  end
  
  