name: Chaos
card_text: This card can be used to Ritual Summon any "Chaos" or "Black Luster Soldier" Ritual Monster. You must also Tribute monsters from your hand or field and/or banish "Blue-Eyes White Dragon" or "Dark Magician" from your GY, whose total Levels exactly equal the Level of the "Chaos" or "Black Luster Soldier" Ritual Monster you Ritual Summon.
external_ids: local CARD_ID_0 = 46986414 --Dark Magician
  local CARD_ID_1 = 89631139 --Blue-Eyes White Dragon
  local SETCARD_ID_0 = 0xcf --Chaos
  
lua: local CARD_ID_0 = 46986414 --Dark Magician
  local CARD_ID_1 = 89631139 --Blue-Eyes White Dragon
  local SETCARD_ID_0 = 0xcf --Chaos
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.AddCodeList(c, CARD_ID_0, CARD_ID_1)
  	aux.AddRitualProcEqual2(c, s.filter, nil, s.mfilter)
  end
  function s.filter(c, e, tp, m1, m2, ft)
  	return c:IsSetCard(SETCARD_ID_0)
  end
  function s.mfilter(c)
  	return c:IsCode(CARD_ID_0, CARD_ID_1)
  end
  
  
source_text: Chaos
  This card can be used to Ritual Summon any "Chaos" or "Black Luster Soldier" Ritual Monster. You must also Tribute monsters from your hand or field and/or banish "Blue-Eyes White Dragon" or "Dark Magician" from your GY, whose total Levels exactly equal the Level of the "Chaos" or "Black Luster Soldier" Ritual Monster you Ritual Summon.
target_text: -- Chaos
  local CARD_ID_0 = 46986414 --Dark Magician
  local CARD_ID_1 = 89631139 --Blue-Eyes White Dragon
  local SETCARD_ID_0 = 0xcf --Chaos
  local s, id, o = GetID()
  function s.initial_effect(c)
  	aux.AddCodeList(c, CARD_ID_0, CARD_ID_1)
  	aux.AddRitualProcEqual2(c, s.filter, nil, s.mfilter)
  end
  function s.filter(c, e, tp, m1, m2, ft)
  	return c:IsSetCard(SETCARD_ID_0)
  end
  function s.mfilter(c)
  	return c:IsCode(CARD_ID_0, CARD_ID_1)
  end
  
  