name: Ultimate
card_text: If this card was Special Summoned by the effect of "Ultimate Insect LV5", while it remains on the field all of your opponent's monsters lose 700 ATK and DEF.
external_ids: local CARD_ID_0 = 34088136 --Ultimate Insect LV3
  local CARD_ID_1 = 49441499 --Ultimate Insect LV1
  local CARD_ID_2 = 34830502 --Ultimate Insect LV5
  
lua: local CARD_ID_0 = 34088136 --Ultimate Insect LV3
  local CARD_ID_1 = 49441499 --Ultimate Insect LV1
  local CARD_ID_2 = 34830502 --Ultimate Insect LV5
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--atk,def down
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(0, LOCATION_MZONE)
  	e1:SetCondition(s.con)
  	e1:SetValue(-700)
  	c:RegisterEffect(e1)
  	local e2 = e1:Clone()
  	e2:SetCode(EFFECT_UPDATE_DEFENSE)
  	c:RegisterEffect(e2)
  end
  s.lvup = { CARD_ID_2 }
  s.lvdn = { CARD_ID_1, CARD_ID_0, CARD_ID_2 }
  function s.con(e)
  	return e:GetHandler():GetSummonType() == SUMMON_TYPE_SPECIAL + SUMMON_VALUE_LV
  end
  
  
source_text: Ultimate
  If this card was Special Summoned by the effect of "Ultimate Insect LV5", while it remains on the field all of your opponent's monsters lose 700 ATK and DEF.
target_text: -- Ultimate
  local CARD_ID_0 = 34088136 --Ultimate Insect LV3
  local CARD_ID_1 = 49441499 --Ultimate Insect LV1
  local CARD_ID_2 = 34830502 --Ultimate Insect LV5
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--atk,def down
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_FIELD)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetTargetRange(0, LOCATION_MZONE)
  	e1:SetCondition(s.con)
  	e1:SetValue(-700)
  	c:RegisterEffect(e1)
  	local e2 = e1:Clone()
  	e2:SetCode(EFFECT_UPDATE_DEFENSE)
  	c:RegisterEffect(e2)
  end
  s.lvup = { CARD_ID_2 }
  s.lvdn = { CARD_ID_1, CARD_ID_0, CARD_ID_2 }
  function s.con(e)
  	return e:GetHandler():GetSummonType() == SUMMON_TYPE_SPECIAL + SUMMON_VALUE_LV
  end
  
  