Commit b7cd185e authored by 聖園ミカ's avatar 聖園ミカ 🐟

byd

parent 6bb6c4ff
Pipeline #29793 failed with stages
in 22 minutes and 9 seconds
No preview for this file type
......@@ -1396,6 +1396,7 @@
50220135 1 --觉醒的伏龙-日珥
50221425 1 --符龙王-魔咒
50223155 1 --天王数码兽 钢铁海龙兽
50224185 1 --猫拳
50224505 2 --化学元素-氢
50224510 2 --化学元素-碳
50224605 1 --化学元素-氚
......@@ -1466,6 +1467,7 @@
53728014 0 --高速征啼鸟 最后通牒
53728021 0 --大征啼鸟 歼星激流
53731001 1 --狂喑祭月
53738006 1 --歼世指挥轮 策动者
53752001 0 --归来的黛博拉
53752002 0 --棘轮之基特拉
53752004 1 --昔日的圣徒 爱丽丝
......@@ -1552,6 +1554,8 @@
60002057 0 --缇雅·雅莉珂希德 困乏
60002058 0 --缇雅·雅莉珂希德 庆典
60002147 0 --月下狼王 华兹
60002182 1 --俱灭之白骨圣堂教主
60002376 1 --冥府的女主人·奈芙缇丝
60010029 1 --匹诺康尼-盛会之星-
60010032 0 --花火-焰锦游鱼-
60010047 1 --摇篮鸹
......
--命定融合
local m=13700017
local cm=_G["c"..m]
Duel.LoadScript("c81000000.lua")
function cm.initial_effect(c)
end
......@@ -134,7 +134,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1_2:SetValue(1)
token:RegisterEffect(e1_2,true)
token:CancelToGrave()
if Duel.Equip(tp,token,c,false) then return true
if Duel.Equip(tp,token,c,false) then
local e1_3=Effect.CreateEffect(token)
e1_3:SetType(EFFECT_TYPE_EQUIP)
e1_3:SetCode(EFFECT_UPDATE_ATTACK)
......@@ -147,7 +147,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
e1_4:SetCode(EFFECT_DESTROY_SUBSTITUTE)
e1_4:SetValue(cm.repval)
token:RegisterEffect(e1_4,true)
else Duel.SendtoGrave(token,REASON_RULE) return false end
else Duel.SendtoGrave(token,REASON_RULE) end
end
function cm.repval(e,re,r,rp)
return bit.band(r,REASON_EFFECT)~=0
......
--归0召唤
local m=30900632
local cm=_G["c"..m]
function cm.initial_effect(c)
local cm=_G["c"..m]
function cm.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
......
......@@ -13,17 +13,17 @@ local e1=Effect.CreateEffect(c)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetCustomActivityCount(m,tp,ACTIVITY_SPSUMMON)==0 end
if chk==0 then return Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0 end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTargetRange(1,0)
e1:SetTarget(cm.splimit)
e1:SetTarget(s.splimit)
Duel.RegisterEffect(e1,tp)
end
function cm.splimit(e,c)
function s.splimit(e,c)
return c:IsLocation(LOCATION_EXTRA) and not c:IsType(TYPE_LINK)
end
function s.spfilter(c,e,tp)
......
......@@ -35,21 +35,21 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(s.filter,tp,0,LOCATION_MZONE+LOCATION_GRAVE,nil)
Duel.SetOperationInfo(0,CATEGORY_REMOVE,g,g:GetCount(),0,0)
end
function cm.atkfilter(c)
function s.atkfilter(c)
return c:IsFaceup() and c:IsRace(RACE_PLANT)
end
function cm.atkfilter1(c)
function s.atkfilter1(c)
return c:IsFaceup() and c:IsRace(RACE_ZOMBIE)
end
function s.activate(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.filter,tp,0,LOCATION_MZONE+LOCATION_GRAVE,nil)
if Duel.Remove(g,POS_FACEUP,REASON_EFFECT) then
local ct=Duel.GetMatchingGroupCount(cm.atkfilter1,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
if Duel.IsExistingMatchingCard(cm.atkfilter,tp,LOCATION_MZONE,0,1,nil) and ct>0
local ct=Duel.GetMatchingGroupCount(s.atkfilter1,tp,LOCATION_REMOVED,LOCATION_REMOVED,nil)
if Duel.IsExistingMatchingCard(s.atkfilter,tp,LOCATION_MZONE,0,1,nil) and ct>0
and Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_FACEUP)
local g=Duel.SelectMatchingCard(tp,cm.atkfilter,tp,LOCATION_MZONE,0,1,1,nil)
local g=Duel.SelectMatchingCard(tp,s.atkfilter,tp,LOCATION_MZONE,0,1,1,nil)
Duel.HintSelection(g)
local tc=g:GetFirst()
local e1=Effect.CreateEffect(e:GetHandler())
......
......@@ -19,7 +19,6 @@ function s.specialsum(c)
e1:SetOperation(s.spsop)
c:RegisterEffect(e1)
end
end
function s.descheck(c,tp)
return c:IsFaceup() and c:IsRace(RACE_ROCK) and Duel.GetMZoneCount(tp,c)>0
end
......
--交界的异晶念灵 凛雾
local cm,m,o=GetID()
Duel.LoadScript("c35700200.lua")
local mc=mask_crystal
function cm.initial_effect(c)
aux.AddCodeList(c,35700212,35800183)
local e1 = mc.SS_L(c,cm.val1)
local e2 = {mc.T(c,{"G","H"},{"S","SP"},"SS",{mc.SS_Cos,"CON","DES"},{1,cm.con2,aux.Stringid(m,0)})}
local e3 = mc.CRE(c,{"TYP","RAN","CON",mc.tg["SS"],"DES","COS","TG","OP"},{0x40,{"G","H"},cm.con3,nil,aux.Stringid(m,1),cm.cos3,mc.SS_Cos_tg,mc.SS_Cos_op})
local e4 = mc.CRE(c,{"DES","TYP","COD","PRO","CTL","TG","OP"},{aux.Stringid(m,2),129,1102,65536,{2,m},cm.tg4,cm.op4})
local e5 = mc.CRE(c,{"DES","TYP","COD","PRO","CTL","TG","OP"},{aux.Stringid(m,2),129,1100,65536,{2,m},cm.tg4,cm.op4})
end
--e1
function cm.val1(e,se,sp,st)
return se:GetHandler():IsSetCard(0xb72,0xb81)
end
--e2
function cm.con2(e,tp,eg,ep,ev,re,r,rp)
return eg:Filter(Card.IsControler,nil,tp):Filter(Card.IsFaceup,nil):IsExists(Card.IsSetCard,1,nil,0xb72)
end
--e3
function cm.con3(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetMatchingGroupCount(Card.IsFaceup,tp,32,0,nil)>4
end
function cm.cos3(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(Card.IsSetCard,tp,4,0,nil,0xb81):Filter(Card.IsFaceup,nil):Filter(Card.IsAbleToDeckAsCost,nil)
if chk==0 then return #g>0 end
Duel.Hint(3,tp,507)
g=g:Select(tp,1,1,nil)
Duel.SendtoDeck(g,nil,2,128)
end
--e4
function cm.tgf4(c)
return c:IsCode(35700212,35800183) and c:IsSSetable()
end
function cm.tg4(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(cm.tgf4,tp,1,0,1,nil) end
end
function cm.op4(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(3,tp,510)
local g=Duel.SelectMatchingCard(tp,cm.tgf4,tp,1,0,1,1,nil)
local tc=g:GetFirst()
if tc and Duel.SSet(tp,tc)~=0 then
if tc:IsType(65536) then
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(1)
e1:SetProperty(256)
e1:SetCode(359)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
end
end
\ No newline at end of file
......@@ -71,11 +71,11 @@ function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local sg=Duel.GetMatchingGroup(cm.filter,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,aux.ExceptThisCard(e))
Duel.Destroy(sg,REASON_EFFECT)~=0
Duel.Destroy(sg,REASON_EFFECT)
local c=e:GetHandler()
local dmg=1600
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
local tc=g:GetFirst()
local tc=g:GetFirst()
while tc do
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
......
......@@ -91,18 +91,18 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCondition(cm.0spcon)
e1:SetOperation(cm.0spop)
e1:SetCondition(cm.pspcon)
e1:SetOperation(cm.pspop)
Duel.RegisterEffect(e1,tp)
end
end
function cm.cfilter(c,tp)
return c:IsSummonPlayer(tp)
end
function cm.0spcon(e,tp,eg,ep,ev,re,r,rp)
function cm.pspcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(cm.cfilter,1,nil,tp)
end
function cm.0spop(e,tp,eg,ep,ev,re,r,rp)
function cm.pspop(e,tp,eg,ep,ev,re,r,rp)
for c in aux.Next(eg) do
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
......
......@@ -42,6 +42,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
and Duel.IsPlayerCanSpecialSummonMonster(tp,60040024,0,TYPES_TOKEN_MONSTER,100,100,1,RACE_MACHINE,ATTRIBUTE_DARK,POS_FACEUP_DEFENSE) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,2,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,2,0,0)
end
function cm.activate(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=1 or not Duel.IsPlayerCanSpecialSummonMonster(tp,m+1,0,TYPES_TOKEN_MONSTER,100,100,1,RACE_MACHINE,ATTRIBUTE_DARK,POS_FACEUP_DEFENSE) or Duel.IsPlayerAffectedByEffect(tp,59822133) then return end
for i=1,2 do
......
......@@ -100,7 +100,7 @@ function c60152323.e2op(e,tp,eg,ep,ev,re,r,rp)
local g0=Duel.GetMatchingGroup(c60152323.e2tgfilter2,tp,LOCATION_MZONE,0,nil)
if g0:GetCount()>0 then
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(60152301,6))
local g1=Duel.SelectMatchingCard(tp,c60152323.e2tgfilter,tp,+LOCATION_GRAVE,0,1,1,nil,e)
local g1=Duel.SelectMatchingCard(tp,c60152323.e2tgfilter,tp,LOCATION_GRAVE,0,1,1,nil,e)
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(60152301,7))
local g2=Duel.SelectMatchingCard(tp,c60152323.e2tgfilter2,tp,LOCATION_MZONE,0,1,1,nil)
Duel.HintSelection(g2)
......
--尽灭黑洞龙
local m=96077020
local m=96077021
local cm=_G["c"..m]
function cm.initial_effect(c)
aux.AddCodeList(c,96077020)
aux.AddCodeList(c,96077020)
--xyz summon
aux.AddXyzProcedure(c,nil,7,2)
c:EnableReviveLimit()
......@@ -63,7 +63,7 @@ function cm.upcon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local tc=Duel.GetBattleMonster(1-tp)
return tc and tc:IsRelateToBattle() and (Duel.GetAttacker()==c or Duel.GetAttackTarget()==c)
end
end
function cm.uptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsLocation(LOCATION_MZONE) and aux.nzatk(chkc) end
if chk==0 then return Duel.IsExistingTarget(aux.nzatk,tp,0,LOCATION_MZONE,1,nil) end
......
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