Commit 088cb639 authored by Tachibana's avatar Tachibana

得得得得得

parent 048b6fc8
Pipeline #12510 passed with stages
in 21 minutes and 45 seconds
......@@ -46,8 +46,8 @@ function cm.initial_effect(c)
e2:SetOperation(cm.spop)
c:RegisterEffect(e2)
end
c12030002.halo_yatori=1
function c12030002.named_with_yatori(c)
cm.halo_yatori=1
function cm.named_with_yatori(c)
local m=_G["c"..c:GetCode()]
return m and m.halo_yatori
end
......
......@@ -28,7 +28,7 @@ function cm.initial_effect(c)
e2:SetValue(POS_FACEUP_ATTACK+POS_FACEDOWN_DEFENSE)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_GRANT)
e3:SetRange(LOCATION_FZONE)
e3:SetRange(LOCATION_SZONE)
e3:SetTargetRange(LOCATION_HAND+LOCATION_ONFIELD,0)
e3:SetTarget(cm.advtg)
e3:SetLabelObject(e2)
......
......@@ -91,14 +91,14 @@ function c17061090.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_DAMAGE,nil,0,PLAYER_ALL,300)
end
function c80666118.filter(c,atk)
function c17061090.filter(c,atk)
return c:IsSummonType(SUMMON_TYPE_PENDULUM)
end
function c17061090.damop(e,tp,eg,ep,ev,re,r,rp)
Duel.Damage(tp,300,REASON_EFFECT,true)
Duel.Damage(1-tp,300,REASON_EFFECT,true)
Duel.RDComplete()
local g=Duel.GetMatchingGroup(c80666118.filter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
local g=Duel.GetMatchingGroup(c17061090.filter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
local ct=#g
for i=2,ct do
Duel.Damage(tp,300,REASON_EFFECT,true)
......
......@@ -91,7 +91,6 @@ function c85400005.op3(e,tp,eg,ep,ev,re,r,rp)
if sel==2 then
local c=e:GetHandler()
if Duel.Remove(c,POS_FACEUP,REASON_EFFECT)~=0 then
c:RegisterFlagEffect(85400005,RESET_PHASE+PHASE_END,0,1)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_PHASE_START+PHASE_END)
......@@ -105,7 +104,6 @@ function c85400005.op3(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
local g=Duel.SelectMatchingCard(tp,c85400005.fll1,tp,LOCATION_REMOVED,0,1,1,nil)
local tc=g:GetFirst()
tc:RegisterFlagEffect(85400006,RESET_PHASE+PHASE_END,0,1)
g:AddCard(c)
Duel.SendtoDeck(g,tp,2,REASON_EFFECT)
local e2=Effect.CreateEffect(tc)
......@@ -119,7 +117,7 @@ function c85400005.op3(e,tp,eg,ep,ev,re,r,rp)
----------回合结束特殊召唤
end
end
end
end
end
function c85400005.ctop1(e,tp,eg,ep,ev,re,r,rp)
if e:GetHandler():IsAbleToGrave() then
......
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