name: W-Wing
card_text: Once per turn, you can either: Target 1 "V-Tiger Jet" you control; equip this card to that target, OR: Unequip this card and Special Summon it. If the equipped monster would be destroyed by battle or card effect, destroy this card instead. The equipped monster gains 400 ATK/DEF.
external_ids: local CARD_ID_0 = 51638941 --V-Tiger Jet
  
lua: local CARD_ID_0 = 51638941 --V-Tiger Jet
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.EnableUnionAttribute(c, s.filter)
  	--Atk up
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_EQUIP)
  	e3:SetCode(EFFECT_UPDATE_ATTACK)
  	e3:SetValue(400)
  	c:RegisterEffect(e3)
  	--Def up
  	local e4 = Effect.CreateEffect(c)
  	e4:SetType(EFFECT_TYPE_EQUIP)
  	e4:SetCode(EFFECT_UPDATE_DEFENSE)
  	e4:SetValue(400)
  	c:RegisterEffect(e4)
  end
  function s.filter(c)
  	return c:IsCode(CARD_ID_0)
  end
  
  
source_text: W-Wing
  Once per turn, you can either: Target 1 "V-Tiger Jet" you control; equip this card to that target, OR: Unequip this card and Special Summon it. If the equipped monster would be destroyed by battle or card effect, destroy this card instead. The equipped monster gains 400 ATK/DEF.
target_text: -- W-Wing
  local CARD_ID_0 = 51638941 --V-Tiger Jet
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.EnableUnionAttribute(c, s.filter)
  	--Atk up
  	local e3 = Effect.CreateEffect(c)
  	e3:SetType(EFFECT_TYPE_EQUIP)
  	e3:SetCode(EFFECT_UPDATE_ATTACK)
  	e3:SetValue(400)
  	c:RegisterEffect(e3)
  	--Def up
  	local e4 = Effect.CreateEffect(c)
  	e4:SetType(EFFECT_TYPE_EQUIP)
  	e4:SetCode(EFFECT_UPDATE_DEFENSE)
  	e4:SetValue(400)
  	c:RegisterEffect(e4)
  end
  function s.filter(c)
  	return c:IsCode(CARD_ID_0)
  end
  
  