Commit dd53c75b authored by Tachibana's avatar Tachibana

eme

parent 68dc3fdd
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
--虚拟水神泳者
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812013,"VrAqua")
function cm.initial_effect(c)
--special summon
......
--虚拟水神幼女
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812014,"VrAqua")
function cm.initial_effect(c)
--spsummon
......
--虚拟水神之忆
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812016,"VrAqua")
function cm.initial_effect(c)
--activate
......
--虚拟水神学妹
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812017,"VrAqua")
function cm.initial_effect(c)
--special summon
......
--虚拟水神歌者
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812018,"VrAqua")
function cm.initial_effect(c)
--summon with no tribute
......
--虚拟水神护士
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812019,"VrAqua")
function cm.initial_effect(c)
--special summon
......
--虚拟水神女仆长
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(26812020,"VrAqua")
function cm.initial_effect(c)
--special summon
......
......@@ -30,7 +30,7 @@ function cm.initial_effect(c)
ge1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
ge1:SetCode(EVENT_SPSUMMON_SUCCESS)
ge1:SetOperation(cm.checkop)
Duel.RegisterEffect(ge1,0)s
Duel.RegisterEffect(ge1,0)
end
end
function cm.checkop(e,tp,eg,ep,ev,re,r,rp)
......
--昏黄之暗月骑士
if not pcall(function() require("expansions/script/c65010579") end) then require("script/c65010579") end
if not pcall(function() require("expansions/script/c64832500") end) then require("script/c64832500") end
local m,cm=rscf.DefineCard(33500911,"WMKnight")
function cm.initial_effect(c)
local e0=rsef.QO(c,EVENT_CHAINING,{m,2},1,"tg,neg,des","dcal,dsp",LOCATION_MZONE,cm.negcon,nil,rsop.target(cm.thfilter2,"th",LOCATION_DECK+LOCATION_GRAVE),cm.negop)
......
......@@ -3,7 +3,7 @@ local m=33700989
local cm=_G["c"..m]
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(+CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_DRAW+CATEGORY_REMOVE+CATEGORY_RECOVER)
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND+CATEGORY_DRAW+CATEGORY_REMOVE+CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(cm.cost)
......
......@@ -15,7 +15,7 @@ function c47580003.initial_effect(c)
e2:SetCondition(c47580003.spcon)
e2:SetRange(LOCATION_SZONE)
e2:SetCountLimit(1,47580003)
e2:SetCost(cm.spcost)
e2:SetCost(c47580003.spcost)
e2:SetTarget(c47580003.sptg)
e2:SetOperation(c47580003.spop)
c:RegisterEffect(e2)
......@@ -27,16 +27,16 @@ function c47580003.initial_effect(c)
e3:SetRange(LOCATION_SZONE)
e3:SetCountLimit(1,47580003)
e3:SetCondition(c47580003.spcon2)
e3:SetCost(cm.spcost)
e3:SetCost(c47580003.spcost)
e3:SetTarget(c47580003.sptg2)
e3:SetOperation(c47580003.spop2)
c:RegisterEffect(e3)
Duel.AddCustomActivityCounter(m,ACTIVITY_SPSUMMON,cm.counterfilter)
Duel.AddCustomActivityCounter(m,ACTIVITY_SPSUMMON,c47580003.counterfilter)
end
function cm.counterfilter(c)
function c47580003.counterfilter(c)
return c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_DARK)
end
function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
function c47580003.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(m,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
......@@ -44,10 +44,10 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.splimit)
e1:SetTarget(c47580003.splimit)
Duel.RegisterEffect(e1,tp)
end
function cm.splimit(e,c)
function c47580003.splimit(e,c)
return not (c:IsRace(RACE_DRAGON) and c:IsAttribute(ATTRIBUTE_DARK))
end
function c47580003.filter(c)
......
if not pcall(function() require("expansions/script/c65010201") end) then require("script/c65010201") end
if not pcall(function() require("expansions/script/c64831501") end) then require("script/c64831501") end
local m,cm=rscf.DefineCard(64800085,"VrAqua")
--虚拟水神之剑
function cm.initial_effect(c)
......
......@@ -40,7 +40,6 @@ function cm.initial_effect(c)
e4:SetRange(LOCATION_MZONE)
e4:SetCountLimit(1,m)
e4:SetHintTiming(0,TIMING_END_PHASE)
e4:SetCondition(cm.thcon)
e4:SetCost(cm.thcost)
e4:SetTarget(cm.thtg)
e4:SetOperation(cm.thop)
......
......@@ -22,7 +22,7 @@ function cm.initial_effect(c)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCountLimit(1,m+900)
e3:SetCondition(cm.drcon)
ee:SetCost(aux.bfgcost)
e3:SetCost(aux.bfgcost)
e3:SetTarget(cm.drtg)
e3:SetOperation(cm.drop)
c:RegisterEffect(e3)
......
......@@ -38,7 +38,7 @@ function c9310043.chkfilter(c,tp)
return c:IsControler(tp) and c:IsType(TYPE_TUNER) and c:IsOnField()
end
function c9310043.filter0(c)
return c:IsSetCard(0x3f91) and c:IsType(TYPE_MONSTER) c:IsType(TYPE_TUNER)
return c:IsSetCard(0x3f91) and c:IsType(TYPE_MONSTER) and c:IsType(TYPE_TUNER)
and c:IsCanBeFusionMaterial() and c:IsAbleToGrave()
end
function c9310043.filter1(c,e)
......
......@@ -53,7 +53,7 @@ function c9330003.initial_effect(c)
end
function c9330003.splimit(e,se,sp,st)
return not e:GetHandler():IsLocation(LOCATION_EXTRA) or
(bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO and (not se or not se:IsHasType(EFFECT_TYPE_ACTIONS))
(bit.band(st,SUMMON_TYPE_SYNCHRO)==SUMMON_TYPE_SYNCHRO and (not se or not se:IsHasType(EFFECT_TYPE_ACTIONS)))
end
function c9330003.efilter(e,te)
return te:IsActiveType(TYPE_TRAP) and not te:GetOwner():IsSetCard(0xaf93)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment