Commit 088cb639 authored by Tachibana's avatar Tachibana

得得得得得

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