name: Dragon
card_text: "Black Luster Soldier" + "Blue-Eyes Ultimate Dragon"
  Must be Fusion Summoned. This card gains 500 ATK for each Dragon monster you control, except this card.
external_ids: local CARD_ID_0 = 23995346 --Blue-Eyes Ultimate Dragon
  local CARD_ID_1 = 5405694 --Black Luster Soldier
  
lua: local CARD_ID_0 = 23995346 --Blue-Eyes Ultimate Dragon
  local CARD_ID_1 = 5405694 --Black Luster Soldier
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCode2(c, CARD_ID_1, CARD_ID_0, true, true)
  	--spsummon condition
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
  	e1:SetCode(EFFECT_SPSUMMON_CONDITION)
  	e1:SetValue(aux.fuslimit)
  	c:RegisterEffect(e1)
  	--atk
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetCode(EFFECT_UPDATE_ATTACK)
  	e2:SetValue(s.atkval)
  	c:RegisterEffect(e2)
  end
  function s.filter(c)
  	return c:IsFaceup() and c:IsRace(RACE_DRAGON)
  end
  function s.atkval(e, c)
  	return Duel.GetMatchingGroupCount(s.filter, c:GetControler(), LOCATION_MZONE, 0, c) * 500
  end
  
  
source_text: Dragon
  "Black Luster Soldier" + "Blue-Eyes Ultimate Dragon"
  Must be Fusion Summoned. This card gains 500 ATK for each Dragon monster you control, except this card.
target_text: -- Dragon
  local CARD_ID_0 = 23995346 --Blue-Eyes Ultimate Dragon
  local CARD_ID_1 = 5405694 --Black Luster Soldier
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--fusion material
  	c:EnableReviveLimit()
  	aux.AddFusionProcCode2(c, CARD_ID_1, CARD_ID_0, true, true)
  	--spsummon condition
  	local e1 = Effect.CreateEffect(c)
  	e1:SetType(EFFECT_TYPE_SINGLE)
  	e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE + EFFECT_FLAG_UNCOPYABLE)
  	e1:SetCode(EFFECT_SPSUMMON_CONDITION)
  	e1:SetValue(aux.fuslimit)
  	c:RegisterEffect(e1)
  	--atk
  	local e2 = Effect.CreateEffect(c)
  	e2:SetType(EFFECT_TYPE_SINGLE)
  	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
  	e2:SetRange(LOCATION_MZONE)
  	e2:SetCode(EFFECT_UPDATE_ATTACK)
  	e2:SetValue(s.atkval)
  	c:RegisterEffect(e2)
  end
  function s.filter(c)
  	return c:IsFaceup() and c:IsRace(RACE_DRAGON)
  end
  function s.atkval(e, c)
  	return Duel.GetMatchingGroupCount(s.filter, c:GetControler(), LOCATION_MZONE, 0, c) * 500
  end
  
  