name: Torque
card_text: Once per turn, you can either: Target 1 monster you control; equip this card to that target, OR: Unequip this card and Special Summon it. A monster equipped with this card is treated as a Tuner, it gains 500 ATK/DEF, also if the equipped monster would be destroyed by battle or card effect, destroy this card instead.
lua: local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.EnableUnionAttribute(c, aux.TRUE)
  	--add type
  	local e4 = Effect.CreateEffect(c)
  	e4:SetType(EFFECT_TYPE_EQUIP)
  	e4:SetCode(EFFECT_ADD_TYPE)
  	e4:SetValue(TYPE_TUNER)
  	c:RegisterEffect(e4)
  	--atkup
  	local e5 = Effect.CreateEffect(c)
  	e5:SetType(EFFECT_TYPE_EQUIP)
  	e5:SetCode(EFFECT_UPDATE_ATTACK)
  	e5:SetValue(500)
  	c:RegisterEffect(e5)
  	--defup
  	local e6 = Effect.CreateEffect(c)
  	e6:SetType(EFFECT_TYPE_EQUIP)
  	e6:SetCode(EFFECT_UPDATE_DEFENSE)
  	e6:SetValue(500)
  	c:RegisterEffect(e6)
  end
  
  
source_text: Torque
  Once per turn, you can either: Target 1 monster you control; equip this card to that target, OR: Unequip this card and Special Summon it. A monster equipped with this card is treated as a Tuner, it gains 500 ATK/DEF, also if the equipped monster would be destroyed by battle or card effect, destroy this card instead.
target_text: -- Torque
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.EnableUnionAttribute(c, aux.TRUE)
  	--add type
  	local e4 = Effect.CreateEffect(c)
  	e4:SetType(EFFECT_TYPE_EQUIP)
  	e4:SetCode(EFFECT_ADD_TYPE)
  	e4:SetValue(TYPE_TUNER)
  	c:RegisterEffect(e4)
  	--atkup
  	local e5 = Effect.CreateEffect(c)
  	e5:SetType(EFFECT_TYPE_EQUIP)
  	e5:SetCode(EFFECT_UPDATE_ATTACK)
  	e5:SetValue(500)
  	c:RegisterEffect(e5)
  	--defup
  	local e6 = Effect.CreateEffect(c)
  	e6:SetType(EFFECT_TYPE_EQUIP)
  	e6:SetCode(EFFECT_UPDATE_DEFENSE)
  	e6:SetValue(500)
  	c:RegisterEffect(e6)
  end
  
  