Cyber
"Etoile Cyber" + "Blade Skater"
A Fusion Summon of this card can only be done with the above Fusion Materials. This card gains the following effect, based on the number of monsters your opponent controls.
● 1: Cannot be destroyed by battle.
● 2: This card's ATK is doubled.
● 3: Your opponent's activated card effects are negated.
local CARD_ID_0 = 11460577 --Etoile Cyber
local CARD_ID_1 = 97023549 --Blade Skater

local CARD_ID_0 = 11460577 --Etoile Cyber
local CARD_ID_1 = 97023549 --Blade Skater
local s, id, o = GetID()
function s.initial_effect(c)
	--fusion material
	c:EnableReviveLimit()
	aux.AddFusionProcCode2(c, CARD_ID_1, CARD_ID_0, false, false)
	--indes
	local e1 = Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
	e1:SetCondition(s.indcon)
	e1:SetValue(1)
	c:RegisterEffect(e1)
	--atkup
	local e2 = Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_SINGLE)
	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e2:SetRange(LOCATION_MZONE)
	e2:SetCode(EFFECT_SET_ATTACK_FINAL)
	e2:SetCondition(s.atkcon)
	e2:SetValue(s.atkval)
	c:RegisterEffect(e2)
	--disable effect
	local e4 = Effect.CreateEffect(c)
	e4:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
	e4:SetCode(EVENT_CHAIN_SOLVING)
	e4:SetRange(LOCATION_MZONE)
	e4:SetCondition(s.discon)
	e4:SetOperation(s.disop)
	c:RegisterEffect(e4)
end
function s.indcon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), 0, LOCATION_MZONE) == 1
end
function s.atkcon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), 0, LOCATION_MZONE) == 2
end
function s.discon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), 0, LOCATION_MZONE) == 3
end
function s.atkval(e, c)
	return c:GetAttack() * 2
end
function s.disop(e, tp, eg, ep, ev, re, r, rp)
	if rp == 1 - tp then
		Duel.NegateEffect(ev)
	end
end


Cyber
"Etoile Cyber" + "Blade Skater"
A Fusion Summon of this card can only be done with the above Fusion Materials. This card gains the following effect, based on the number of monsters your opponent controls.
● 1: Cannot be destroyed by battle.
● 2: This card's ATK is doubled.
● 3: Your opponent's activated card effects are negated.
-- Cyber
local CARD_ID_0 = 11460577 --Etoile Cyber
local CARD_ID_1 = 97023549 --Blade Skater
local s, id, o = GetID()
function s.initial_effect(c)
	--fusion material
	c:EnableReviveLimit()
	aux.AddFusionProcCode2(c, CARD_ID_1, CARD_ID_0, false, false)
	--indes
	local e1 = Effect.CreateEffect(c)
	e1:SetType(EFFECT_TYPE_SINGLE)
	e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
	e1:SetCondition(s.indcon)
	e1:SetValue(1)
	c:RegisterEffect(e1)
	--atkup
	local e2 = Effect.CreateEffect(c)
	e2:SetType(EFFECT_TYPE_SINGLE)
	e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
	e2:SetRange(LOCATION_MZONE)
	e2:SetCode(EFFECT_SET_ATTACK_FINAL)
	e2:SetCondition(s.atkcon)
	e2:SetValue(s.atkval)
	c:RegisterEffect(e2)
	--disable effect
	local e4 = Effect.CreateEffect(c)
	e4:SetType(EFFECT_TYPE_FIELD + EFFECT_TYPE_CONTINUOUS)
	e4:SetCode(EVENT_CHAIN_SOLVING)
	e4:SetRange(LOCATION_MZONE)
	e4:SetCondition(s.discon)
	e4:SetOperation(s.disop)
	c:RegisterEffect(e4)
end
function s.indcon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), 0, LOCATION_MZONE) == 1
end
function s.atkcon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), 0, LOCATION_MZONE) == 2
end
function s.discon(e)
	return Duel.GetFieldGroupCount(e:GetHandlerPlayer(), 0, LOCATION_MZONE) == 3
end
function s.atkval(e, c)
	return c:GetAttack() * 2
end
function s.disop(e, tp, eg, ep, ev, re, r, rp)
	if rp == 1 - tp then
		Duel.NegateEffect(ev)
	end
end

