name: Revived
card_text: "Plaguespreader Zombie" + 1+ non-Tuner Zombie monsters
  Negate the effects of Effect Monsters destroyed by battle with Zombie monsters you control.
external_ids: local CARD_ID_0 = 33420078 --Plaguespreader Zombie
  
lua: local CARD_ID_0 = 33420078 --Plaguespreader Zombie
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.AddMaterialCodeList(c, CARD_ID_0)
  	--synchro summon
  	aux.AddSynchroProcedure(c, aux.FilterBoolFunction(Card.IsCode, CARD_ID_0), aux.NonTuner(Card.IsRace, RACE_ZOMBIE), 1)
  	c:EnableReviveLimit()
  	--Disable
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e1:SetCode(EVENT_BATTLED)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetOperation(s.operation)
  	c:RegisterEffect(e1)
  end
  function s.operation(e, tp, eg, ep, ev, re, r, rp)
  	local a = Duel.GetAttacker()
  	local d = Duel.GetAttackTarget()
  	local p = e:GetHandler():GetControler()
  	if d == nil then
  		return
  	end
  	local tc = nil
  	if a:GetControler() == p and a:IsRace(RACE_ZOMBIE) and d:IsStatus(STATUS_BATTLE_DESTROYED) then
  		tc = d
  	elseif d:GetControler() == p and d:IsRace(RACE_ZOMBIE) and a:IsStatus(STATUS_BATTLE_DESTROYED) then
  		tc = a
  	end
  	if not tc then
  		return
  	end
  	local e1 = Effect.CreateEffect(e:GetHandler())
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_DISABLE)
  	e1:SetReset(RESET_EVENT + 0x17a0000)
  	tc:RegisterEffect(e1)
  	local e2 = Effect.CreateEffect(e:GetHandler())
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_DISABLE_EFFECT)
  	e2:SetReset(RESET_EVENT + 0x17a0000)
  	tc:RegisterEffect(e2)
  end
  
  
source_text: Revived
  "Plaguespreader Zombie" + 1+ non-Tuner Zombie monsters
  Negate the effects of Effect Monsters destroyed by battle with Zombie monsters you control.
target_text: -- Revived
  local CARD_ID_0 = 33420078 --Plaguespreader Zombie
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.AddMaterialCodeList(c, CARD_ID_0)
  	--synchro summon
  	aux.AddSynchroProcedure(c, aux.FilterBoolFunction(Card.IsCode, CARD_ID_0), aux.NonTuner(Card.IsRace, RACE_ZOMBIE), 1)
  	c:EnableReviveLimit()
  	--Disable
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
  	e1:SetCode(EVENT_BATTLED)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetOperation(s.operation)
  	c:RegisterEffect(e1)
  end
  function s.operation(e, tp, eg, ep, ev, re, r, rp)
  	local a = Duel.GetAttacker()
  	local d = Duel.GetAttackTarget()
  	local p = e:GetHandler():GetControler()
  	if d == nil then
  		return
  	end
  	local tc = nil
  	if a:GetControler() == p and a:IsRace(RACE_ZOMBIE) and d:IsStatus(STATUS_BATTLE_DESTROYED) then
  		tc = d
  	elseif d:GetControler() == p and d:IsRace(RACE_ZOMBIE) and a:IsStatus(STATUS_BATTLE_DESTROYED) then
  		tc = a
  	end
  	if not tc then
  		return
  	end
  	local e1 = Effect.CreateEffect(e:GetHandler())
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_DISABLE)
  	e1:SetReset(RESET_EVENT + 0x17a0000)
  	tc:RegisterEffect(e1)
  	local e2 = Effect.CreateEffect(e:GetHandler())
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetCode(EFFECT_DISABLE_EFFECT)
  	e2:SetReset(RESET_EVENT + 0x17a0000)
  	tc:RegisterEffect(e2)
  end
  
  