Commit b99e8501 authored by Tachibana's avatar Tachibana

eme

parent 3fcbdea1
Pipeline #6423 passed with stages
in 33 minutes and 34 seconds
No preview for this file type
--轮回
function c1000410.initial_effect(c)
aux.AddCodeList(c,1000400)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1000410,0))
......
......@@ -2,6 +2,7 @@ if not pcall(function() require("expansions/script/c1007000") end) then require(
--第五魔法·青
function c1007001.initial_effect(c)
mfszy.qing(c,1007002)
aux.AddCodeList(c,1007002)
--Activate
--SpecialSummon
local e2=Effect.CreateEffect(c)
......
......@@ -5,6 +5,7 @@ xpcall(function() require("expansions/script/c1110198") end,function() require("
cm.named_with_Butterfly=true
--
function c1111301.initial_effect(c)
aux.AddCodeList(c,1110151)
--
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......@@ -27,8 +28,6 @@ function c1111301.initial_effect(c)
--
end
--
c1111301.fit_monster={1110151}
--
function c1111301.filter(c,e,tp,m)
if bit.band(c:GetType(),0x81)~=0x81 or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end
if c.mat_filter then
......
......@@ -2,6 +2,7 @@
local m=11800059
local cm=_G["c"..m]
function cm.initial_effect(c)
aux.AddCodeList(c,11800011)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
--天草四郎阵中旗
function c22000800.initial_effect(c)
aux.AddCodeList(c,22000250)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......@@ -11,7 +12,6 @@ function c22000800.initial_effect(c)
e1:SetOperation(c22000800.activate)
c:RegisterEffect(e1)
end
c22000800.fit_monster={22000250}
function c22000800.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.PayLPCost(tp,math.floor(Duel.GetLP(tp)/2))
......
......@@ -2,6 +2,7 @@
Duel.LoadScript("c22280001.lua")
c22281301.named_with_Spar=true
function c22281301.initial_effect(c)
aux.AddCodeList(c,22280002,22280005)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22281301,0))
......@@ -23,7 +24,6 @@ function c22281301.initial_effect(c)
e2:SetOperation(c22281301.op)
c:RegisterEffect(e2)
end
c22281301.fit_monster={22280002,22280005}
function c22281301.filter(c,e,tp,m1,ft)
if not c:IsCode(22280002,22280005) or bit.band(c:GetType(),0x81)~=0x81 or not c:IsCanBeSpecialSummoned(e,SUMMON_TYPE_RITUAL,tp,false,true) then return false end
local mg=m1:Filter(Card.IsCanBeRitualMaterial,c,c)
......
......@@ -3,6 +3,7 @@ local m=37564224
local cm=_G["c"..m]
Duel.LoadScript("c37564765.lua")
function cm.initial_effect(c)
aux.AddCodeList(c,37564225)
--activate
Auxiliary.AddCodeList(c,m+1)
local e1=Effect.CreateEffect(c)
......
--群星的仪式-梦幻召唤
local m=4231005
local cm=_G["c"..m]
cm.fit_monster={4231004}
function cm.initial_effect(c)
aux.AddCodeList(c,4231004)
iFunc(c).c("RegisterEffect",iFunc(c)
.e("SetCategory",CATEGORY_SPECIAL_SUMMON)
.e("SetType",EFFECT_TYPE_ACTIVATE)
......@@ -76,7 +76,7 @@ function cm.thfilter(c)
return c:IsCode(4231004) and c:IsAbleToHand()
end
function cm.mfilter(c,ft)
return c:GetEquipGroup():IsExists(function(c) return c:IsCode(4231006) end,1,nil)
return c:GetEquipGroup():IsExists(function(c) return c:IsCode(4231006) end,1,nil)
and c:GetEquipGroup():IsExists(function(c) return c:IsCode(4231007) end,1,nil)
and (not((c:GetSequence()==5 or c:GetSequence()==6)and ft<=0) or ft>0)
end
......
......@@ -15,9 +15,9 @@ function cm.tg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.op(e,tp,eg,ep,ev,re,r,rp,chk)
local dc=Duel.TossDice(tp,1)
if dc==1 or dc==2 or dc==3 then
if dc==1 or dc==3 or dc==5 then
Duel.Recover(1-tp,300,REASON_EFFECT)
elseif dc==4 or dc==5 or dc==6 then
elseif dc==2 or dc==4 or dc==6 then
if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
Duel.Destroy(eg,REASON_EFFECT)
end
......
......@@ -32,7 +32,7 @@ function cm.op(e,tp,eg,ep,ev,re,r,rp)
local dc=Duel.TossDice(tp,1)
if dc<4 then
rsop.SelectSpecialSummon(tp,cm.spfilter,tp,LOCATION_DECK,0,1,1,nil,{},e,tp)
elseif dc<7 then
elseif dc>3 then
rsop.SelectToHand(tp,cm.thfilter,tp,LOCATION_DECK,0,1,1,nil,{})
end
end
......
--尸解"
function c53700000.initial_effect(c)
aux.AddCodeList(c,53700001)
aux.AddCodeList(c,53700002)
aux.AddCodeList(c,53700003)
aux.AddCodeList(c,53700004)
aux.AddCodeList(c,53700001,53700002,53700003,53700004)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
......@@ -3,6 +3,7 @@ local m=62200033
local cm=_G["c"..m]
cm.fit_monster={62200040}
function cm.initial_effect(c)
aux.AddCodeList(c,62200040)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(m,0))
......
--戏法骗局
function c69601002.initial_effect(c)
aux.AddCodeList(c,69601001)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(69601002,1))
......@@ -93,7 +94,7 @@ function c69601002.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function c69601002.thcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
return Duel.GetTurnPlayer()~=tp
end
function c69601002.thfilter(c)
return c.toss_dice and c:IsAbleToHand()
......
--荷鲁斯之眼
function c76121043.initial_effect(c)
aux.AddCodeList(c,76121040)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
--伊莉雅的解封仪式
function c85402110.initial_effect(c)
aux.AddCodeList(c,85402120)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(85402110,1))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
......
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