Skip to content

Galactica Lost Oblivion ​

  • Card ID: 120277042
  • Format: Rush Duel
  • Script: Rush/Scripts/c120277042.lua

Stats ​

FieldValue
Type0x61
ATK3300
DEF2500
Level/Rank/Link0x9
Race0x40000000
Attribute0x10
Category0x2802

Card Text ​

text
"Galactica Oblivion" + 1 Level 7 or 8 Galaxy Type monster	
[REQUIREMENT]	
Shuffle 1 Normal Monster from your Graveyard into the Deck.	
[EFFECT]	
Change all face-down monsters on your opponent's field to face-up Attack Position, and this card gains 700 ATK until the end of this turn. Then, you can destroy all face-up monsters on your opponent's field with 2500 or less original ATK.

Detected API Calls ​

Script ​

lua
local cm,m=GetID()
local list={120208002}
cm.name="银河舰失落忘却龙"
function cm.initial_effect(c)
	RD.AddCodeList(c,list)
	--Fusion Material
	RD.AddFusionProcedure(c,list[1],cm.matfilter)
	--Position
	local e1=Effect.CreateEffect(c)
	e1:SetDescription(aux.Stringid(m,0))
	e1:SetCategory(CATEGORY_POSITION+CATEGORY_ATKCHANGE+CATEGORY_DESTROY)
	e1:SetType(EFFECT_TYPE_IGNITION)
	e1:SetRange(LOCATION_MZONE)
	e1:SetCost(cm.cost)
	e1:SetTarget(cm.target)
	e1:SetOperation(cm.operation)
	c:RegisterEffect(e1)
end
--Fusion Material
cm.unspecified_funsion=true
function cm.matfilter(c)
	return c:IsLevel(7,8) and c:IsRace(RACE_GALAXY)
end
--Indes
function cm.costfilter(c)
	return c:IsType(TYPE_NORMAL) and c:IsAbleToDeckOrExtraAsCost()
end
function cm.filter(c,e,tp)
	return c:IsFacedown() and RD.IsCanChangePosition(c,e,tp,REASON_EFFECT)
end
function cm.desfilter(c)
	return c:IsFaceup() and c:GetBaseAttack()<=2500
end
cm.cost=RD.CostSendGraveToDeck(cm.costfilter,1,1)
function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
	if chk==0 then return Duel.IsExistingMatchingCard(cm.filter,tp,0,LOCATION_MZONE,1,nil,e,tp) end
	local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil,e,tp)
	Duel.SetOperationInfo(0,CATEGORY_POSITION,g,g:GetCount(),0,0)
end
function cm.operation(e,tp,eg,ep,ev,re,r,rp)
	local c=e:GetHandler()
	local g=Duel.GetMatchingGroup(cm.filter,tp,0,LOCATION_MZONE,nil,e,tp)
	if g:GetCount()>0 and RD.ChangePosition(g,POS_FACEUP_ATTACK)~=0
		and c:IsFaceup() and c:IsRelateToEffect(e) then
		RD.AttachAtkDef(e,c,700,0,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
		local mg=Duel.GetMatchingGroup(cm.desfilter,tp,0,LOCATION_MZONE,nil)
		if Duel.SelectYesNo(tp,aux.Stringid(m,1)) then
			Duel.BreakEffect()
			Duel.Destroy(mg,REASON_EFFECT)
		end
	end
end