name: Cyber
card_text: "Cyber Ogre" + "Cyber Ogre"
  A Fusion Summon of this monster can only be conducted with the above Fusion Material Monsters. When this card attacks, it gains ATK equal to half the ATK of the attack target, during damage calculation only.
external_ids: local CARD_ID_0 = 64268668 --Cyber Ogre
  
lua: local CARD_ID_0 = 64268668 --Cyber Ogre
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCodeRep(c, CARD_ID_0, 2, false, false)
  	--atk up
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetCondition(s.atkcon)
  	e1:SetValue(s.atkval)
  	c:RegisterEffect(e1)
  end
  function s.atkcon(e)
  	return Duel.GetCurrentPhase() == PHASE_DAMAGE_CAL and e:GetHandler() == Duel.GetAttacker() and Duel.GetAttackTarget() ~= nil
  end
  function s.atkval(e, c)
  	return math.ceil(Duel.GetAttackTarget():GetAttack() / 2)
  end
  
  
source_text: Cyber
  "Cyber Ogre" + "Cyber Ogre"
  A Fusion Summon of this monster can only be conducted with the above Fusion Material Monsters. When this card attacks, it gains ATK equal to half the ATK of the attack target, during damage calculation only.
target_text: -- Cyber
  local CARD_ID_0 = 64268668 --Cyber Ogre
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCodeRep(c, CARD_ID_0, 2, false, false)
  	--atk up
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetCode(EFFECT_UPDATE_ATTACK)
  	e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e1:SetRange(LOCATION_MZONE)
  	e1:SetCondition(s.atkcon)
  	e1:SetValue(s.atkval)
  	c:RegisterEffect(e1)
  end
  function s.atkcon(e)
  	return Duel.GetCurrentPhase() == PHASE_DAMAGE_CAL and e:GetHandler() == Duel.GetAttacker() and Duel.GetAttackTarget() ~= nil
  end
  function s.atkval(e, c)
  	return math.ceil(Duel.GetAttackTarget():GetAttack() / 2)
  end
  
  