Commit 5de7e465 authored by IamIpanda's avatar IamIpanda

强度补正 2

parent 2003b4f7
Pipeline #38580 passed with stages
in 47 seconds
...@@ -137,11 +137,11 @@ SHUT UP!(172016014) 通常魔法 (Custom) ...@@ -137,11 +137,11 @@ SHUT UP!(172016014) 通常魔法 (Custom)
转瞬即逝的噩梦(172016018) 永续陷阱 (Custom) 转瞬即逝的噩梦(172016018) 永续陷阱 (Custom)
①:双方的主要阶段,支付1000基本分才能发动。手卡的这张卡在自己场上表侧表示放置。这个效果在1组连锁上只能发动1次。 ①:双方的主要阶段,支付1000基本分才能发动。手卡的这张卡在自己场上表侧表示放置。这个效果在1组连锁上只能发动1次。
②:这张卡在场上表侧表示存在,场上有这张卡以外的魔法·陷阱卡存在的场合,支付1000基本分以那张卡为对象发动。那张卡破坏。这个效果在1组连锁上对每张卡只能发动1次。 ②:这张卡在场上表侧表示存在,场上有这张卡以外的魔法·陷阱卡存在的场合,支付1000基本分以那张卡为对象发动。那张卡破坏。这个效果在1组连锁上对每张卡只能发动1次。
③:结束阶段,场上没有「催眠妹妹」存在的场合,这张卡破坏,自己受到3000伤害。 ③:这张卡的②效果破坏过灵摆卡的回合的结束阶段,场上没有「催眠妹妹」存在的场合,这张卡破坏,自己受到3000伤害。
分类:常驻-DIY 分类:常驻-DIY
深渊的暗中谋划(172016019) 通常魔法 (Custom) 深渊的暗中谋划(172016019) 通常魔法 (Custom)
①:自己场上有「深渊的冥王」或者对方的场上有「冥界的魔王 哈·迪斯」存在的场合才能发动。从卡组选「技能抽取」「精神抽取」「灵魂抽取」各1张发动(Cost仍需照常支付) ①:从卡组选「技能抽取」「精神抽取」「灵魂抽取」各1张发动。自己场上有「深渊的冥王」或者对方的场上有「冥界的魔王 哈·迪斯」存在的场合,那次发动的Cost无需支付
分类:常驻-DIY 分类:常驻-DIY
# 暗黑界的减速康 # 暗黑界的减速康
......
--转瞬即逝的噩梦 --转瞬即逝的噩梦
local s,id,o=GetID() local s,id,o=GetID()
o=1e9
function s.initial_effect(c) function s.initial_effect(c)
--activate --activate
local e0=Effect.CreateEffect(c) local e0=Effect.CreateEffect(c)
...@@ -72,15 +73,17 @@ end ...@@ -72,15 +73,17 @@ end
function s.desop(e,tp,eg,ep,ev,re,r,rp) function s.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
Duel.Destroy(tc,REASON_EFFECT) if Duel.Destroy(tc,REASON_EFFECT)>0 and tc:IsType(TYPE_PENDULUM) then
e:GetHandler():RegisterFlagEffect(id+o,RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1)
end
end end
function s.sdcon(e,tp,eg,ep,ev,re,r,rp) function s.sdcon(e,tp,eg,ep,ev,re,r,rp)
return not Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,22200403) return e:GetHandler():GetFlagEffect(id+o)>0 and not Duel.IsExistingMatchingCard(Card.IsCode,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,22200403)
end end
function s.sdop(e,tp,eg,ep,ev,re,r,rp) function s.sdop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.Damage(tp,3000,REASON_EFFECT)>0 then if Duel.Damage(tp,3000,REASON_EFFECT)>0 then
Duel.Destroy(c,REASON_EFFECT) Duel.Destroy(c,REASON_EFFECT)
end end
end end
\ No newline at end of file
...@@ -21,9 +21,7 @@ function s.cfilter(c,id) ...@@ -21,9 +21,7 @@ function s.cfilter(c,id)
return c:IsFaceup() and c:IsCode(id) return c:IsFaceup() and c:IsCode(id)
end end
function s.condition(e,tp,eg,ep,ev,re,r,rp) function s.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetLocationCount(tp,LOCATION_SZONE)>=3 and ( return Duel.GetLocationCount(tp,LOCATION_SZONE)>=3
Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_ONFIELD,0,1,nil,53375573)
or Duel.IsExistingMatchingCard(s.cfilter,tp,0,LOCATION_ONFIELD,1,nil,53982768))
end end
function s.filter(c,tp,code) function s.filter(c,tp,code)
return c:IsCode(code) and c:GetActivateEffect():IsActivatable(tp,true,true) return c:IsCode(code) and c:GetActivateEffect():IsActivatable(tp,true,true)
...@@ -35,6 +33,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -35,6 +33,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function s.activate(e,tp,eg,ep,ev,re,r,rp) function s.activate(e,tp,eg,ep,ev,re,r,rp)
local skip=Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_ONFIELD,0,1,nil,53375573)
or Duel.IsExistingMatchingCard(s.cfilter,tp,0,LOCATION_ONFIELD,1,nil,53982768)
for _, tid in ipairs({82732705,73599290,68937720}) do for _, tid in ipairs({82732705,73599290,68937720}) do
local tc=Duel.SelectMatchingCard(tp,s.filter,tp,LOCATION_DECK,0,1,1,nil,tp,tid):GetFirst() local tc=Duel.SelectMatchingCard(tp,s.filter,tp,LOCATION_DECK,0,1,1,nil,tp,tid):GetFirst()
if tc then if tc then
...@@ -42,8 +42,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -42,8 +42,10 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local te=tc:GetActivateEffect() local te=tc:GetActivateEffect()
te:UseCountLimit(tp,1,true) te:UseCountLimit(tp,1,true)
local tep=tc:GetControler() local tep=tc:GetControler()
local cost=te:GetCost() if not skip then
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end local cost=te:GetCost()
if cost then cost(te,tep,eg,ep,ev,re,r,rp,1) end
end
Duel.RaiseEvent(tc,tid,te,0,tp,tp,Duel.GetCurrentChain()) Duel.RaiseEvent(tc,tid,te,0,tp,tp,Duel.GetCurrentChain())
else else
return return
......
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