name: Turning
card_text: This card is used to Ritual Summon "Ruin, Queen of Oblivion" or "Demise, King of Armageddon" from your hand or Deck. You must also Tribute Ritual Monsters from your hand whose total Levels equal or exceed the Level of the Ritual Monster you Ritual Summon. You can only activate 1 "Turning of the World" per turn.
external_ids: local CARD_ID_0 = 46427957 --Ruin, Queen of Oblivion
  local CARD_ID_1 = 72426662 --Demise, King of Armageddon
  
lua: local CARD_ID_0 = 46427957 --Ruin, Queen of Oblivion
  local CARD_ID_1 = 72426662 --Demise, King of Armageddon
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = aux.AddRitualProcGreater2Code2(c, CARD_ID_0, CARD_ID_1, LOCATION_HAND + LOCATION_DECK, nil, s.mfilter, true)
  	e1:SetCountLimit(1, id + EFFECT_COUNT_CODE_OATH)
  	c:RegisterEffect(e1)
  end
  function s.mfilter(c)
  	return not c:IsOnField() and c:IsType(TYPE_RITUAL)
  end
  
  
source_text: Turning
  This card is used to Ritual Summon "Ruin, Queen of Oblivion" or "Demise, King of Armageddon" from your hand or Deck. You must also Tribute Ritual Monsters from your hand whose total Levels equal or exceed the Level of the Ritual Monster you Ritual Summon. You can only activate 1 "Turning of the World" per turn.
target_text: -- Turning
  local CARD_ID_0 = 46427957 --Ruin, Queen of Oblivion
  local CARD_ID_1 = 72426662 --Demise, King of Armageddon
  local s, id, o = GetID()
  function s.initial_effect(c)
  	--Activate
  	local e1 = aux.AddRitualProcGreater2Code2(c, CARD_ID_0, CARD_ID_1, LOCATION_HAND + LOCATION_DECK, nil, s.mfilter, true)
  	e1:SetCountLimit(1, id + EFFECT_COUNT_CODE_OATH)
  	c:RegisterEffect(e1)
  end
  function s.mfilter(c)
  	return not c:IsOnField() and c:IsType(TYPE_RITUAL)
  end
  
  