Fixed card text, fixed Universe Destruction
BIN
Seed, LG, DG.docx
Normal file
BIN
UniverseDeck.cdb
|
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |
@@ -49,7 +49,6 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
|
||||
end
|
||||
end
|
||||
-- place in pendulum zone functions
|
||||
--s.pendulum_level = 4
|
||||
function s.pencon(e,tp,eg,ep,ev,re,r,rp)
|
||||
local c=e:GetHandler()
|
||||
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsFaceup()
|
||||
|
||||
@@ -19,7 +19,6 @@ function s.initial_effect(c)
|
||||
c:RegisterEffect(e2)
|
||||
end
|
||||
-- place in pendulum zone functions
|
||||
--s.pendulum_level = 4
|
||||
function s.pencon(e,tp,eg,ep,ev,re,r,rp)
|
||||
local c=e:GetHandler()
|
||||
return c:IsPreviousLocation(LOCATION_MZONE) and c:IsFaceup()
|
||||
|
||||
@@ -3,19 +3,14 @@ local s,id=GetID()
|
||||
function s.initial_effect(c)
|
||||
--Activate
|
||||
local e1=Effect.CreateEffect(c)
|
||||
e1:SetCategory(CATEGORY_TOGRAVE)
|
||||
e1:SetCategory(CATEGORY_TOGRAVE + CATEGORY_DESTROY)
|
||||
e1:SetType(EFFECT_TYPE_ACTIVATE)
|
||||
e1:SetCode(EVENT_FREE_CHAIN)
|
||||
e1:SetCountLimit(1,id)
|
||||
e1:SetCost(s.cost)
|
||||
e1:SetOperation(s.activate)
|
||||
e1:SetTarget(s.thtg)
|
||||
e1:SetOperation(s.thop)
|
||||
c:RegisterEffect(e1)
|
||||
local e2=Effect.CreateEffect(c)
|
||||
e2:SetCategory(CATEGORY_DESTROY)
|
||||
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
|
||||
--e2:SetCode(EVENT_FREE_CHAIN)
|
||||
e2:SetTarget(s.thtg)
|
||||
e2:SetOperation(s.thop)
|
||||
c:RegisterEffect(e2)
|
||||
end
|
||||
--Discard function
|
||||
function s.costfilter(c)
|
||||
@@ -24,8 +19,6 @@ end
|
||||
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
|
||||
if chk==0 then return Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_DECK,0,1,nil) end
|
||||
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
|
||||
end
|
||||
function s.activate(e,tp,eg,ep,ev,re,r,rp)
|
||||
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
|
||||
local g=Duel.SelectMatchingCard(tp,s.costfilter,tp,LOCATION_DECK,0,1,1,nil)
|
||||
if #g>0 then
|
||||
@@ -35,7 +28,7 @@ end
|
||||
|
||||
--Destroy function
|
||||
function s.tgfilter(c)
|
||||
return c:IsFaceup() and c:IsType(TYPE_MONSTER)
|
||||
return c:IsFaceup()
|
||||
end
|
||||
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
|
||||
if chkc then return chkc:IsControler(1-tp) and s.tgfilter(chkc) end
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
--Universe Seed
|
||||
--Universe StarLink Dragon
|
||||
local s,id=GetID()
|
||||
function s.initial_effect(c)
|
||||
--Link Summon
|
||||
|
||||
9
lua/c56158670.lua
Normal file
@@ -0,0 +1,9 @@
|
||||
--Universe Revival
|
||||
local s,id=GetID()
|
||||
function s.initial_effect(c)
|
||||
--Activate
|
||||
local e1=Effect.CreateEffect(c)
|
||||
e1:SetType(EFFECT_TYPE_ACTIVATE)
|
||||
e1:SetCode(EVENT_FREE_CHAIN)
|
||||
c:RegisterEffect(e1)
|
||||
end
|
||||
|
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 1.6 MiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.2 MiB |