name: Rapid-Fire
card_text: Inflict 400 damage to your opponent each time you activate a Normal Spell Card.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--damage
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e1:SetCode(EVENT_CHAIN_SOLVED)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetOperation(s.damop)
  	c:RegisterEffect(e1)
  end
  function s.damop(e, tp, eg, ep, ev, re, r, rp)
  	if re:GetActiveType() == TYPE_SPELL and re:IsHasType(EFFECT_TYPE_ACTIVATE) and rp == tp then
  		Duel.Damage(1 - tp, 400, REASON_EFFECT)
  	end
  end
  
  
source_text: Rapid-Fire
  Inflict 400 damage to your opponent each time you activate a Normal Spell Card.
target_text: -- Rapid-Fire
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--damage
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e1:SetCode(EVENT_CHAIN_SOLVED)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetOperation(s.damop)
  	c:RegisterEffect(e1)
  end
  function s.damop(e, tp, eg, ep, ev, re, r, rp)
  	if re:GetActiveType() == TYPE_SPELL and re:IsHasType(EFFECT_TYPE_ACTIVATE) and rp == tp then
  		Duel.Damage(1 - tp, 400, REASON_EFFECT)
  	end
  end
  
  