Commit 4e9188b4 authored by 聖園ミカ's avatar 聖園ミカ 🐟

hop

parent 4cb3cf33
Pipeline #31101 passed with stages
in 24 minutes and 7 seconds
No preview for this file type
expansions/pics/12400018.jpg

96.3 KB | W: | H:

expansions/pics/12400018.jpg

126 KB | W: | H:

expansions/pics/12400018.jpg
expansions/pics/12400018.jpg
expansions/pics/12400018.jpg
expansions/pics/12400018.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/12400022.jpg

72.4 KB | W: | H:

expansions/pics/12400022.jpg

95.3 KB | W: | H:

expansions/pics/12400022.jpg
expansions/pics/12400022.jpg
expansions/pics/12400022.jpg
expansions/pics/12400022.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -31,7 +31,7 @@ function cm.descost(e,tp,eg,ep,ev,re,r,rp,chk)
and Duel.IsExistingMatchingCard(cm.cfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DISCARD)
local g=Duel.SelectMatchingCard(tp,cm.cfilter,tp,LOCATION_HAND,0,1,1,e:GetHandler())
e:SetLabel(g:GetFirst())
e:SetLabelObject(g:GetFirst())
g:AddCard(e:GetHandler())
Duel.SendtoGrave(g,REASON_DISCARD+REASON_COST)
end
......@@ -50,7 +50,7 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
Duel.HintSelection(g)
Duel.Destroy(g,REASON_EFFECT)
local sg=Duel.GetMatchingGroup(cm.spfilter,tp,LOCATION_DECK,0,nil,e,tp)
local pc=e:GetLabel()
local pc=e:GetLabelObject()
if (pc:IsSetCard(0x2aa) and pc:IsType(TYPE_COUNTER)) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and #sg>0
and Duel.SelectYesNo(tp,aux.Stringid(m,2)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
......
......@@ -21,7 +21,8 @@ function cm.initial_effect(c)
c:RegisterEffect(e3)
end
function cm.condition(e,tp,eg,ep,ev,re,r,rp)
return tp~=ep and Duel.GetCurrentChain()==0
return aux.NegateSummonCondition()
and tp~=ep and Duel.GetCurrentChain()==0
end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1)
......@@ -47,8 +48,7 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
Duel.SendtoDeck(c,nil,2,REASON_EFFECT)
end
end
if aux.NegateSummonCondition()
and Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
if Duel.IsPlayerAffectedByEffect(tp,12492002) and Duel.GetFlagEffect(tp,m)==0 and Duel.SelectYesNo(tp,aux.Stringid(12492002,2)) then
Duel.NegateSummon(eg)
Duel.RegisterFlagEffect(tp,m,RESET_PHASE+PHASE_END,0,1)
Duel.Destroy(eg,REASON_EFFECT)
......
......@@ -126,11 +126,11 @@ function cm.sprcon(e,c)
if c==nil then return true end
local tp=c:GetControler()
local g=Group.CreateGroup()
local g1=Duel.GetMatchingGroup(cm.sprfilter1,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g2=Duel.GetMatchingGroup(cm.sprfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g3=Duel.GetMatchingGroup(cm.sprfilter3,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g4=Duel.GetMatchingGroup(cm.sprfilter4,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g5=Duel.GetMatchingGroup(cm.sprfilter5,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g1=Duel.GetMatchingGroup(cm.sprfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g2=Duel.GetMatchingGroup(cm.sprfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g3=Duel.GetMatchingGroup(cm.sprfilter3,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g4=Duel.GetMatchingGroup(cm.sprfilter4,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g5=Duel.GetMatchingGroup(cm.sprfilter5,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
g:Merge(g1)
g:Merge(g2)
g:Merge(g3)
......@@ -140,11 +140,11 @@ function cm.sprcon(e,c)
end
function cm.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
local g=Group.CreateGroup()
local g1=Duel.GetMatchingGroup(cm.sprfilter1,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g2=Duel.GetMatchingGroup(cm.sprfilter2,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g3=Duel.GetMatchingGroup(cm.sprfilter3,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g4=Duel.GetMatchingGroup(cm.sprfilter4,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g5=Duel.GetMatchingGroup(cm.sprfilter5,tp,LOCATION_MZONE+LOCATION_GRAVE,LOCATION_MZONE+LOCATION_GRAVE,e:GetHandler())
local g1=Duel.GetMatchingGroup(cm.sprfilter1,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g2=Duel.GetMatchingGroup(cm.sprfilter2,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g3=Duel.GetMatchingGroup(cm.sprfilter3,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g4=Duel.GetMatchingGroup(cm.sprfilter4,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
local g5=Duel.GetMatchingGroup(cm.sprfilter5,tp,LOCATION_MZONE,LOCATION_MZONE,e:GetHandler())
g:Merge(g1)
g:Merge(g2)
g:Merge(g3)
......@@ -267,7 +267,7 @@ function cm.etop(e,tp,eg,ep,ev,re,r,rp)
e15:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e15:SetCode(EFFECT_CANNOT_SUMMON)
e15:SetReset(RESET_PHASE+PHASE_END)
e15:SetTargetRange(1,0)
e15:SetTargetRange(1,1)
Duel.RegisterEffect(e15,tp)
local e16=e15:Clone()
e16:SetCode(EFFECT_CANNOT_FLIP_SUMMON)
......@@ -362,7 +362,7 @@ function cm.etop2(e,tp,eg,ep,ev,re,r,rp)
e15:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e15:SetCode(EFFECT_CANNOT_SUMMON)
e15:SetReset(RESET_PHASE+PHASE_END)
e15:SetTargetRange(1,0)
e15:SetTargetRange(1,1)
Duel.RegisterEffect(e15,tp)
local e16=e15:Clone()
e16:SetCode(EFFECT_CANNOT_FLIP_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