name: Vector
card_text: Pendulum Scale = 3
  [ Pendulum Effect ]
  Negate all card effects in your opponent's Pendulum Zones.
  ----------------------------------------
  [ Monster Effect ]
  This Overlord overran an entire world with his army of Dracofiends, using his Dragon Alchemy to convert all life into his terrible minions. The source of this power is unidentified, and probably extra-dimensional.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	--pendulum summon
  	aux.EnablePendulumAttribute(c)
  	--disable
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetCode(EFFECT_DISABLE)
  	e2:SetRange(LOCATION_PZONE)
  	e2:SetTargetRange(0, LOCATION_PZONE)
  	c:RegisterEffect(e2)
  	--disable effect
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e3:SetCode(EVENT_CHAIN_SOLVING)
  	e3:SetRange(LOCATION_PZONE)
  	e3:SetOperation(s.disop)
  	c:RegisterEffect(e3)
  end
  function s.disop(e, tp, eg, ep, ev, re, r, rp)
  	local p, loc = Duel.GetChainInfo(ev, CHAININFO_TRIGGERING_CONTROLER, CHAININFO_TRIGGERING_LOCATION)
  	if re:GetActiveType() == TYPE_PENDULUM + TYPE_SPELL and p ~= tp and bit.band(loc, LOCATION_PZONE) ~= 0 then
  		Duel.NegateEffect(ev)
  	end
  end
  
  
source_text: Vector
  Pendulum Scale = 3
  [ Pendulum Effect ]
  Negate all card effects in your opponent's Pendulum Zones.
  ----------------------------------------
  [ Monster Effect ]
  This Overlord overran an entire world with his army of Dracofiends, using his Dragon Alchemy to convert all life into his terrible minions. The source of this power is unidentified, and probably extra-dimensional.
target_text: -- Vector
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--pendulum summon
  	aux.EnablePendulumAttribute(c)
  	--disable
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_FIELD)
  	e2:SetCode(EFFECT_DISABLE)
  	e2:SetRange(LOCATION_PZONE)
  	e2:SetTargetRange(0, LOCATION_PZONE)
  	c:RegisterEffect(e2)
  	--disable effect
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e3:SetCode(EVENT_CHAIN_SOLVING)
  	e3:SetRange(LOCATION_PZONE)
  	e3:SetOperation(s.disop)
  	c:RegisterEffect(e3)
  end
  function s.disop(e, tp, eg, ep, ev, re, r, rp)
  	local p, loc = Duel.GetChainInfo(ev, CHAININFO_TRIGGERING_CONTROLER, CHAININFO_TRIGGERING_LOCATION)
  	if re:GetActiveType() == TYPE_PENDULUM + TYPE_SPELL and p ~= tp and bit.band(loc, LOCATION_PZONE) ~= 0 then
  		Duel.NegateEffect(ev)
  	end
  end
  
  