Commit c63c36c0 authored by Huangnan's avatar Huangnan

fix

parent fcc4f93d
Pipeline #37225 passed with stages
in 28 minutes and 15 seconds
No preview for this file type
expansions/pics/11800070.jpg

19.5 KB | W: | H:

expansions/pics/11800070.jpg

91.8 KB | W: | H:

expansions/pics/11800070.jpg
expansions/pics/11800070.jpg
expansions/pics/11800070.jpg
expansions/pics/11800070.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600301.jpg

82.6 KB | W: | H:

expansions/pics/99600301.jpg

71.8 KB | W: | H:

expansions/pics/99600301.jpg
expansions/pics/99600301.jpg
expansions/pics/99600301.jpg
expansions/pics/99600301.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600302.jpg

80.8 KB | W: | H:

expansions/pics/99600302.jpg

95.8 KB | W: | H:

expansions/pics/99600302.jpg
expansions/pics/99600302.jpg
expansions/pics/99600302.jpg
expansions/pics/99600302.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600303.jpg

82.1 KB | W: | H:

expansions/pics/99600303.jpg

73.3 KB | W: | H:

expansions/pics/99600303.jpg
expansions/pics/99600303.jpg
expansions/pics/99600303.jpg
expansions/pics/99600303.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600304.jpg

80.2 KB | W: | H:

expansions/pics/99600304.jpg

79.5 KB | W: | H:

expansions/pics/99600304.jpg
expansions/pics/99600304.jpg
expansions/pics/99600304.jpg
expansions/pics/99600304.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600305.jpg

82.3 KB | W: | H:

expansions/pics/99600305.jpg

80 KB | W: | H:

expansions/pics/99600305.jpg
expansions/pics/99600305.jpg
expansions/pics/99600305.jpg
expansions/pics/99600305.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600306.jpg

80.9 KB | W: | H:

expansions/pics/99600306.jpg

80.6 KB | W: | H:

expansions/pics/99600306.jpg
expansions/pics/99600306.jpg
expansions/pics/99600306.jpg
expansions/pics/99600306.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600307.jpg

80.3 KB | W: | H:

expansions/pics/99600307.jpg

86.3 KB | W: | H:

expansions/pics/99600307.jpg
expansions/pics/99600307.jpg
expansions/pics/99600307.jpg
expansions/pics/99600307.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600308.jpg

81.8 KB | W: | H:

expansions/pics/99600308.jpg

78.8 KB | W: | H:

expansions/pics/99600308.jpg
expansions/pics/99600308.jpg
expansions/pics/99600308.jpg
expansions/pics/99600308.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600309.jpg

81.5 KB | W: | H:

expansions/pics/99600309.jpg

74.8 KB | W: | H:

expansions/pics/99600309.jpg
expansions/pics/99600309.jpg
expansions/pics/99600309.jpg
expansions/pics/99600309.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600310.jpg

78.9 KB | W: | H:

expansions/pics/99600310.jpg

90.1 KB | W: | H:

expansions/pics/99600310.jpg
expansions/pics/99600310.jpg
expansions/pics/99600310.jpg
expansions/pics/99600310.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600311.jpg

79.7 KB | W: | H:

expansions/pics/99600311.jpg

92.8 KB | W: | H:

expansions/pics/99600311.jpg
expansions/pics/99600311.jpg
expansions/pics/99600311.jpg
expansions/pics/99600311.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/99600312.jpg

78.4 KB | W: | H:

expansions/pics/99600312.jpg

81.5 KB | W: | H:

expansions/pics/99600312.jpg
expansions/pics/99600312.jpg
expansions/pics/99600312.jpg
expansions/pics/99600312.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -76,7 +76,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +76,7 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
end end
-- --
function s.tg1(e,tp,eg,ep,ev,re,r,rp,chk) function s.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetMZoneCount(tp)>0 if chk==0 then return Duel.GetMZoneCount(tp)>0 and tp==Duel.GetTurnPlayer()
and Duel.IsPlayerCanSpecialSummonMonster(tp,12400064,0,0x4011,3000,3000,6,RACE_PSYCHO,ATTRIBUTE_DARK) end and Duel.IsPlayerCanSpecialSummonMonster(tp,12400064,0,0x4011,3000,3000,6,RACE_PSYCHO,ATTRIBUTE_DARK) end
Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TOKEN,nil,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0) Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,0,0)
......
...@@ -94,11 +94,7 @@ function cm.advop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -94,11 +94,7 @@ function cm.advop(e,tp,eg,ep,ev,re,r,rp,c)
cm.check_s = false cm.check_s = false
end end
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c:IsFaceup() and c~=e:GetHandler()) then return false end return c:IsFaceup() and c~=e:GetHandler()
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e:SetLabel(1) e:SetLabel(1)
......
...@@ -73,11 +73,7 @@ function cm.initial_effect(c) ...@@ -73,11 +73,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -75,11 +75,7 @@ function cm.initial_effect(c) ...@@ -75,11 +75,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -69,11 +69,7 @@ function cm.initial_effect(c) ...@@ -69,11 +69,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -70,11 +70,7 @@ function cm.initial_effect(c) ...@@ -70,11 +70,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -63,11 +63,7 @@ function cm.initial_effect(c) ...@@ -63,11 +63,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -109,11 +109,7 @@ function cm.initial_effect(c) ...@@ -109,11 +109,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -85,7 +85,7 @@ end ...@@ -85,7 +85,7 @@ end
function cm.adcheck(c) function cm.adcheck(c)
return c:IsFaceup() and c:IsCode(m) return c:IsFaceup() and c:IsCode(m)
end end
function cm.adconop(e,tp) function cm.adconop(e,tp,eg)
for tc in aux.Next(eg) do for tc in aux.Next(eg) do
if tc:IsFaceup() and tc:IsCode(m) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m)<1 then if tc:IsFaceup() and tc:IsCode(m) and Duel.GetFlagEffect(tc:GetSummonPlayer(),m)<1 then
Duel.RegisterFlagEffect(tc:GetSummonPlayer(),m,0,0,0) Duel.RegisterFlagEffect(tc:GetSummonPlayer(),m,0,0,0)
......
...@@ -76,11 +76,7 @@ function cm.initial_effect(c) ...@@ -76,11 +76,7 @@ function cm.initial_effect(c)
end end
--summon with s/t --summon with s/t
function cm.rtg(e,c) function cm.rtg(e,c)
if not (c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)) then return false end return c~=e:GetHandler() and c:IsType(TYPE_SPELL+TYPE_TRAP)
if Duel.GetCurrentChain()<2 then
return not c:IsStatus(STATUS_LEAVE_CONFIRMED) and not c:IsStatus(STATUS_ACTIVATE_DISABLED)
end
return true
end end
--summon/set with 1 tribute --summon/set with 1 tribute
function cm.otcon(e,c,minc) function cm.otcon(e,c,minc)
......
...@@ -22,6 +22,9 @@ function cm.initial_effect(c) ...@@ -22,6 +22,9 @@ function cm.initial_effect(c)
e1:SetTargetRange(1,0) e1:SetTargetRange(1,0)
e1:SetTarget(cm.splimit) e1:SetTarget(cm.splimit)
c:RegisterEffect(e1) c:RegisterEffect(e1)
local e1_1=e1:Clone()
e1_1:SetCode(EFFECT_CANNOT_SUMMON)
c:RegisterEffect(e1_1)
--Effect 2 --Effect 2
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(m,2)) e2:SetDescription(aux.Stringid(m,2))
......
This diff is collapsed.
...@@ -32,7 +32,7 @@ function s.initial_effect(c) ...@@ -32,7 +32,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3) c:RegisterEffect(e3)
end end
function s.XyzFilter(c) function s.XyzFilter(c)
return c:IsSetCard(0x5ce1) and c:IsType(TYPE_MONSTER) and c:IsType(TYPE_MONSTER) return c:IsSetCard(0x5ce1) and c:IsType(TYPE_MONSTER) and c:IsRace(RACE_WARRIOR)
end end
function s.atkcon(e) function s.atkcon(e)
return Duel.IsBattlePhase() return Duel.IsBattlePhase()
......
...@@ -41,7 +41,7 @@ function s.mttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -41,7 +41,7 @@ function s.mttg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local tg=Duel.SelectTarget(tp,s.filter2,tp,LOCATION_ONFIELD+LOCATION_GRAVE,LOCATION_ONFIELD+LOCATION_GRAVE,1,1,nil,e,tp) local tg=Duel.SelectTarget(tp,s.filter2,tp,LOCATION_ONFIELD+LOCATION_GRAVE,LOCATION_ONFIELD+LOCATION_GRAVE,1,1,nil,e,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g=Duel.SelectTarget(tp,s.filter1,tp,LOCATION_MZONE,0,1,1,tg,e,tp) local g=Duel.SelectTarget(tp,s.filter1,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,tg,e,tp)
local tc=g:GetFirst() local tc=g:GetFirst()
e:SetLabelObject(tc) e:SetLabelObject(tc)
end end
...@@ -51,6 +51,10 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp) ...@@ -51,6 +51,10 @@ function s.mtop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject() local tc=e:GetLabelObject()
local oc=tg:Filter(aux.TRUE,tc):GetFirst() local oc=tg:Filter(aux.TRUE,tc):GetFirst()
if oc:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup() then if oc:IsRelateToEffect(e) and tc:IsRelateToEffect(e) and tc:IsFaceup() then
local og=oc:GetOverlayGroup()
if og:GetCount()>0 then
Duel.SendtoGrave(og,REASON_RULE)
end
Duel.Overlay(tc,Group.FromCards(oc)) Duel.Overlay(tc,Group.FromCards(oc))
end end
end end
......
...@@ -53,6 +53,7 @@ function s.aufilter(c) ...@@ -53,6 +53,7 @@ function s.aufilter(c)
return c:IsSetCard(0x5420) return c:IsSetCard(0x5420)
end end
function s.atkval(e) function s.atkval(e)
local tp=e:GetHandlerPlayer()
return Duel.GetMatchingGroupCount(nil,tp,LOCATION_DECK,0,nil)*100 return Duel.GetMatchingGroupCount(nil,tp,LOCATION_DECK,0,nil)*100
end end
-- --
......
...@@ -5,6 +5,7 @@ function s.initial_effect(c) ...@@ -5,6 +5,7 @@ function s.initial_effect(c)
c:SetUniqueOnField(1,1,id) c:SetUniqueOnField(1,1,id)
--synchro summon --synchro summon
--aux.AddSynchroProcedure(c,s.sfliter,aux.TRUE,1)
aux.AddSynchroProcedure(c,s.sfliter,aux.NonTuner(nil),1) aux.AddSynchroProcedure(c,s.sfliter,aux.NonTuner(nil),1)
c:EnableReviveLimit() c:EnableReviveLimit()
--cannot special summon --cannot special summon
...@@ -41,9 +42,8 @@ function s.initial_effect(c) ...@@ -41,9 +42,8 @@ function s.initial_effect(c)
e3:SetCategory(CATEGORY_SPECIAL_SUMMON) e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
e3:SetType(EFFECT_TYPE_QUICK_O) e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_CHAINING) e3:SetCode(EVENT_CHAINING)
--e3:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e3:SetRange(LOCATION_GRAVE+LOCATION_REMOVED) e3:SetRange(LOCATION_GRAVE+LOCATION_REMOVED)
--e3:SetCountLimit(1,EFFECT_COUNT_CODE_CHAIN) e3:SetCountLimit(1,EFFECT_COUNT_CODE_CHAIN)
e3:SetCondition(s.gspcon) e3:SetCondition(s.gspcon)
e3:SetTarget(s.gsptg) e3:SetTarget(s.gsptg)
e3:SetOperation(s.gspop) e3:SetOperation(s.gspop)
...@@ -150,7 +150,7 @@ function s.effectfilter(e,ct) ...@@ -150,7 +150,7 @@ function s.effectfilter(e,ct)
return p==tp and te:GetHandler()==e:GetHandler() return p==tp and te:GetHandler()==e:GetHandler()
end end
function s.gtfilter(c,tp) function s.gtfilter(c,tp)
return c:IsControler(tp) and c.MoJin==true and c:IsType(TYPE_MONSTER) return c:IsControler(tp) and (c.MoJin or c:IsSetCard(0x23c)) and c:IsType(TYPE_MONSTER)
and c:IsLocation(LOCATION_MZONE) and c:IsAbleToHand() and c:IsLocation(LOCATION_MZONE) and c:IsAbleToHand()
end end
function s.gspcon(e,tp,eg,ep,ev,re,r,rp) function s.gspcon(e,tp,eg,ep,ev,re,r,rp)
...@@ -161,7 +161,7 @@ function s.gspcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -161,7 +161,7 @@ function s.gspcon(e,tp,eg,ep,ev,re,r,rp)
end end
function s.gspcon2(e,tp,eg,ep,ev,re,r,rp) function s.gspcon2(e,tp,eg,ep,ev,re,r,rp)
local d=Duel.GetAttackTarget() local d=Duel.GetAttackTarget()
return d:IsFaceup() and d.MoJin==true and d:IsControler(tp) return d:IsFaceup() and (c.MoJin or c:IsSetCard(0x23c)) and d:IsControler(tp)
and Duel.GetMZoneCount(tp,d,tp)>0 and d:IsAbleToHand() and Duel.GetMZoneCount(tp,d,tp)>0 and d:IsAbleToHand()
end end
function s.gsptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.gsptg(e,tp,eg,ep,ev,re,r,rp,chk)
...@@ -189,10 +189,9 @@ function s.gspop(e,tp,eg,ep,ev,re,r,rp) ...@@ -189,10 +189,9 @@ function s.gspop(e,tp,eg,ep,ev,re,r,rp)
local sg=tg:Filter(s.gstfilter,nil,e) local sg=tg:Filter(s.gstfilter,nil,e)
Duel.SendtoHand(sg,nil,REASON_EFFECT) Duel.SendtoHand(sg,nil,REASON_EFFECT)
if c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and c:IsFaceupEx() and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
--if Duel.SendtoHand(sg,nil,REASON_EFFECT)==0 then return end
--if c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and c:IsFaceupEx() and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then --if c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and c:IsFaceupEx() and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
if Duel.SendtoHand(sg,nil,REASON_EFFECT)==0 then return end
if c:IsLocation(LOCATION_GRAVE+LOCATION_REMOVED) and c:IsFaceupEx() and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local fid=c:GetFieldID() local fid=c:GetFieldID()
c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1,fid) c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,0,1,fid)
......
...@@ -26,23 +26,23 @@ function s.initial_effect(c) ...@@ -26,23 +26,23 @@ function s.initial_effect(c)
e2:SetOperation(s.thop) e2:SetOperation(s.thop)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function s.cfilter(c) function s.filter1(c,e,tp)
return c.MoJin and c:IsAbleToRemoveAsCost() return c.MoJin and c:IsAbleToRemoveAsCost() and Duel.GetLocationCountFromEx(tp,tp,c)>0 and Duel.IsExistingMatchingCard(s.filter2,tp,LOCATION_GRAVE+LOCATION_ONFIELD,LOCATION_GRAVE+LOCATION_ONFIELD,5,c) and c:IsFaceup()
end end
function s.fselect(g,e,tp) function s.filter2(c)
return Duel.IsExistingMatchingCard(s.sfilter,tp,LOCATION_EXTRA,0,1,nil,e,tp,g) return c.MoJin and c:IsAbleToRemoveAsCost() and c:IsFaceup() and c:IsFaceup()
end
function s.sfilter(c,e,tp,g)
return c:IsFacedown() and c.MoJin
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,g,c)>0
end end
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk) function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler() local c=e:GetHandler()
local g=Duel.GetMatchingGroup(s.cfilter,tp,LOCATION_ONFIELD+LOCATION_GRAVE,LOCATION_ONFIELD+LOCATION_GRAVE,c) if chk==0 then return Duel.IsExistingMatchingCard(s.filter1,tp,LOCATION_GRAVE+LOCATION_ONFIELD,LOCATION_GRAVE+LOCATION_ONFIELD,1,nil,e,tp) end
if chk==0 then return g:CheckSubGroup(s.fselect,5,5,e,tp) end Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local g1=Duel.SelectMatchingCard(tp,s.filter1,tp,LOCATION_GRAVE+LOCATION_ONFIELD,LOCATION_GRAVE+LOCATION_ONFIELD,1,1,c,e,tp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:SelectSubGroup(tp,s.fselect,false,5,5,e,tp) local sg=g1:Clone()
Duel.Remove(sg,POS_FACEUP,REASON_COST) sg:AddCard(c)
local g2=Duel.SelectMatchingCard(tp,s.filter2,tp,LOCATION_GRAVE+LOCATION_ONFIELD,LOCATION_GRAVE+LOCATION_ONFIELD,5,5,sg,e,tp)
g1:Merge(g2)
Duel.Remove(g1,POS_FACEUP,REASON_COST)
end end
function s.filter(c,e,tp) function s.filter(c,e,tp)
return c:IsFacedown() and c.MoJin return c:IsFacedown() and c.MoJin
......
...@@ -19,13 +19,12 @@ function s.initial_effect(c) ...@@ -19,13 +19,12 @@ function s.initial_effect(c)
e3:SetType(EFFECT_TYPE_IGNITION) e3:SetType(EFFECT_TYPE_IGNITION)
--e3:SetCode(EVENT_FREE_CHAIN) --e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_HAND) e3:SetRange(LOCATION_HAND)
--e3:SetCountLimit(1,id) e3:SetCountLimit(1,id)
e3:SetCost(aux.bfgcost) e3:SetCost(aux.bfgcost)
e3:SetTarget(s.target) e3:SetTarget(s.target)
e3:SetOperation(s.operation) e3:SetOperation(s.operation)
c:RegisterEffect(e3) c:RegisterEffect(e3)
local e4=e3:Clone() local e4=e3:Clone()
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_GRAVE) e4:SetRange(LOCATION_GRAVE)
e4:SetCountLimit(1,id) e4:SetCountLimit(1,id)
c:RegisterEffect(e4) c:RegisterEffect(e4)
...@@ -53,10 +52,10 @@ function s.val(e,c) ...@@ -53,10 +52,10 @@ function s.val(e,c)
return ct+1 return ct+1
end end
function s.mfilter1(c) function s.mfilter1(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToGrave() return c.MoJin==true and c:IsType(TYPE_MONSTER) and c:IsAbleToGrave()
end end
function s.mfilter2(c) function s.mfilter2(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToRemove() return c.MoJin==true and c:IsType(TYPE_MONSTER) and c:IsAbleToRemove()
end end
function s.sfselect(g,tp) function s.sfselect(g,tp)
return Duel.IsExistingMatchingCard(s.synfilter,tp,LOCATION_EXTRA,0,1,nil,g) return Duel.IsExistingMatchingCard(s.synfilter,tp,LOCATION_EXTRA,0,1,nil,g)
......
...@@ -78,7 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -78,7 +78,9 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local rc=c:GetReasonCard() local rc=c:GetReasonCard()
local e2=Effect.CreateEffect(c) local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,0))
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetProperty(EFFECT_FLAG_CLIENT_HINT)
e2:SetCode(EVENT_PHASE+PHASE_END) e2:SetCode(EVENT_PHASE+PHASE_END)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1) e2:SetCountLimit(1)
......
...@@ -131,7 +131,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -131,7 +131,7 @@ function s.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end if chk==0 then return true end
end end
function s.mtfilter(c,tp,e) function s.mtfilter(c,tp,e)
return c:IsImmuneToEffect(e) and (c:IsAbleToChangeControler() or c:IsControler(tp)) return not c:IsImmuneToEffect(e) and (c:IsAbleToChangeControler() or c:IsControler(tp))
end end
function s.rmop(e,tp,eg,ep,ev,re,r,rp) function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
......
...@@ -65,17 +65,17 @@ function s.chainfilter(re,tp,cid) ...@@ -65,17 +65,17 @@ function s.chainfilter(re,tp,cid)
return not re:IsHasCategory(CATEGORY_CONTROL) return not re:IsHasCategory(CATEGORY_CONTROL)
end end
-- --
function s.cfilter(c) function s.cfilter(c,tp)
return c:IsFaceup() and c:IsFusionType(TYPE_MONSTER) and ((c:IsSetCard(0x3529) and c:IsRace(RACE_WYRM)) or c:GetOwner()==1-tp) return c:IsFaceup() and c:IsFusionType(TYPE_MONSTER) and ((c:IsSetCard(0x3529) and c:IsRace(RACE_WYRM)) or c:GetOwner()==1-tp)
end end
function s.cfilter2(c) function s.cfilter2(c)
return c:IsFaceup() and c:IsFusionType(TYPE_MONSTER) and c:IsSetCard(0x3529) and c:IsRace(RACE_WYRM) and c:IsType(TYPE_FUSION) return c:IsFaceup() and c:IsFusionType(TYPE_MONSTER) and c:IsSetCard(0x3529) and c:IsRace(RACE_WYRM) and c:IsType(TYPE_FUSION)
end end
function s.spcon(e,tp,eg,ep,ev,re,r,rp) function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil) and not Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil,tp) and not Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_MZONE,0,1,nil)
end end
function s.spcon2(e,tp,eg,ep,ev,re,r,rp) function s.spcon2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_MZONE,0,1,nil) and Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_MZONE,0,1,nil) return Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_MZONE,0,1,nil,tp) and Duel.IsExistingMatchingCard(s.cfilter2,tp,LOCATION_MZONE,0,1,nil)
end end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk) function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
......
...@@ -6,7 +6,7 @@ function cm.initial_effect(c) ...@@ -6,7 +6,7 @@ function cm.initial_effect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN) e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(cm.cost) --e1:SetCost(cm.cost)
e1:SetTarget(cm.target) e1:SetTarget(cm.target)
e1:SetOperation(cm.activate) e1:SetOperation(cm.activate)
c:RegisterEffect(e1) c:RegisterEffect(e1)
...@@ -15,6 +15,7 @@ function cm.initial_effect(c) ...@@ -15,6 +15,7 @@ function cm.initial_effect(c)
e2:SetDescription(aux.Stringid(m,0)) e2:SetDescription(aux.Stringid(m,0))
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_QP_ACT_IN_NTPHAND) e2:SetCode(EFFECT_QP_ACT_IN_NTPHAND)
e2:SetCost(cm.cost)
e2:SetCondition(cm.handcon) e2:SetCondition(cm.handcon)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
...@@ -45,9 +46,10 @@ function cm.handcon(e) ...@@ -45,9 +46,10 @@ function cm.handcon(e)
end end
function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk) function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetTurnPlayer()==tp or Duel.IsExistingMatchingCard(cm.hcfil,tp,LOCATION_HAND,0,1,nil) end if chk==0 then return Duel.GetTurnPlayer()==tp or Duel.IsExistingMatchingCard(cm.hcfil,tp,LOCATION_HAND,0,1,nil) end
if Duel.GetTurnPlayer()==tp then
e:SetLabel(1) e:SetLabel(1)
else if Duel.GetTurnPlayer()~=tp then
--e:SetLabel(1)
--else
e:SetLabel(2) e:SetLabel(2)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
local g=Duel.GetMatchingGroup(cm.hcfil,tp,LOCATION_HAND,0,nil):Select(tp,1,1,nil) local g=Duel.GetMatchingGroup(cm.hcfil,tp,LOCATION_HAND,0,nil):Select(tp,1,1,nil)
......
...@@ -76,8 +76,7 @@ function c60151016.distg(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -76,8 +76,7 @@ function c60151016.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end end
end end
function c60151016.disop2(e,tp,eg,ep,ev,re,r,rp) function c60151016.disop2(e,tp,eg,ep,ev,re,r,rp)
Duel.NegateActivation(ev) if Duel.NegateActivation(ev) and re:GetHandler():IsRelateToEffect(re) then
if re:GetHandler():IsRelateToEffect(re) then
local tc=eg:GetFirst() local tc=eg:GetFirst()
if tc:IsType(TYPE_SPELL+TYPE_TRAP) then if tc:IsType(TYPE_SPELL+TYPE_TRAP) then
tc:CancelToGrave() tc:CancelToGrave()
...@@ -92,8 +91,7 @@ function c60151016.immcon(e,tp,eg,ep,ev,re,r,rp) ...@@ -92,8 +91,7 @@ function c60151016.immcon(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetCurrentChain()<2 and e:GetHandler():GetMaterial():FilterCount(c60151016.ccfilter,nil)>0 return Duel.GetCurrentChain()<2 and e:GetHandler():GetMaterial():FilterCount(c60151016.ccfilter,nil)>0
end end
function c60151016.efilter(e,te) function c60151016.efilter(e,te)
if te:IsActiveType(TYPE_SPELL+TYPE_TRAP) and te:IsHasType(EFFECT_TYPE_ACTIVATE) then return true end return te:GetOwner()~=e:GetOwner()
if te:IsActiveType(TYPE_MONSTER) and te:IsActivated() then return true end
end end
function c60151016.regcon(e,tp,eg,ep,ev,re,r,rp) function c60151016.regcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK) return e:GetHandler():IsSummonType(SUMMON_TYPE_LINK)
......
...@@ -76,7 +76,7 @@ function c60151411.eqop(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,7 +76,7 @@ function c60151411.eqop(e,tp,eg,ep,ev,re,r,rp)
tc:RegisterFlagEffect(60151411,RESET_EVENT+0x1fe0000,0,0) tc:RegisterFlagEffect(60151411,RESET_EVENT+0x1fe0000,0,0)
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE) e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_COPY_INHERIT+EFFECT_FLAG_OWNER_RELATE) e1:SetProperty(EFFECT_FLAG_OWNER_RELATE)
e1:SetCode(EFFECT_EQUIP_LIMIT) e1:SetCode(EFFECT_EQUIP_LIMIT)
e1:SetReset(RESET_EVENT+0x1fe0000) e1:SetReset(RESET_EVENT+0x1fe0000)
e1:SetValue(c60151411.eqlimit) e1:SetValue(c60151411.eqlimit)
......
...@@ -17,6 +17,7 @@ function c62699968.initial_effect(c) ...@@ -17,6 +17,7 @@ function c62699968.initial_effect(c)
e1:SetCategory(CATEGORY_DESTROY) e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,62699968) e1:SetCountLimit(1,62699968)
e1:SetCondition(c62699968.descon) e1:SetCondition(c62699968.descon)
e1:SetTarget(c62699968.destg) e1:SetTarget(c62699968.destg)
......
...@@ -24,7 +24,7 @@ function c62699988.initial_effect(c) ...@@ -24,7 +24,7 @@ function c62699988.initial_effect(c)
c:RegisterEffect(e00) c:RegisterEffect(e00)
--set s/t --set s/t
local e1=Effect.CreateEffect(c) local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_COUNTER) e1:SetCategory(CATEGORY_COUNTER+CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetProperty(EFFECT_FLAG_DELAY)
...@@ -79,18 +79,27 @@ function c62699988.hspop(e,tp,eg,ep,ev,re,r,rp,c) ...@@ -79,18 +79,27 @@ function c62699988.hspop(e,tp,eg,ep,ev,re,r,rp,c)
c:SetMaterial(Group.FromCards(tc)) c:SetMaterial(Group.FromCards(tc))
Duel.Release(tc,REASON_SPSUMMON) Duel.Release(tc,REASON_SPSUMMON)
end end
function c62699988.setfilter(c) function c62699988.setfilter(c,e,tp)
return aux.IsCodeListed(c,0x16df) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable() return aux.IsCodeListed(c,0x16df)
and (c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
or c:IsCanBeSpecialSummoned(e,0,tp,false,false,POS_FACEDOWN_DEFENSE) and Duel.GetMZoneCount(tp)>0)
end end
function c62699988.settg(e,tp,eg,ep,ev,re,r,rp,chk) function c62699988.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c62699988.setfilter,tp,LOCATION_DECK,0,1,nil) if chk==0 then return Duel.IsExistingMatchingCard(c62699988.setfilter,tp,LOCATION_DECK,0,1,nil,e,tp)
and Duel.IsExistingMatchingCard(Card.IsCanAddCounter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,0x16df,1) end and Duel.IsExistingMatchingCard(Card.IsCanAddCounter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,0x16df,1) end
end end
function c62699988.setop(e,tp,eg,ep,ev,re,r,rp) function c62699988.setop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local tc=Duel.SelectMatchingCard(tp,c62699988.setfilter,tp,LOCATION_DECK,0,1,1,nil):GetFirst() local tc=Duel.SelectMatchingCard(tp,c62699988.setfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp):GetFirst()
if tc and Duel.SSet(tp,tc)>0 then if tc then
local ck=0
if tc:IsType(0x1) and Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEDOWN_DEFENSE)>0 then
Duel.ConfirmCards(1-tp,tc)
ck=1
end
if tc:IsType(0x6) and Duel.SSet(tp,tc,tp,true)>0 then ck=1 end
if ck==1 then
local g=Duel.GetMatchingGroup(Card.IsCanAddCounter,tp,LOCATION_MZONE,LOCATION_MZONE,nil,0x16df,1) local g=Duel.GetMatchingGroup(Card.IsCanAddCounter,tp,LOCATION_MZONE,LOCATION_MZONE,nil,0x16df,1)
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
...@@ -111,6 +120,7 @@ function c62699988.setop(e,tp,eg,ep,ev,re,r,rp) ...@@ -111,6 +120,7 @@ function c62699988.setop(e,tp,eg,ep,ev,re,r,rp)
tc=g:GetNext() tc=g:GetNext()
end end
end end
end
local e3=Effect.CreateEffect(c) local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD) e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e3:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
......
...@@ -32,7 +32,7 @@ function s.initial_effect(c) ...@@ -32,7 +32,7 @@ function s.initial_effect(c)
end end
function s.chainfilter(re,tp,cid) function s.chainfilter(re,tp,cid)
local rc=re:GetHandler() local rc=re:GetHandler()
return not re:IsActiveType(TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP) return re:IsActiveType(TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP)
end end
function s.lkfilter(g,lc) function s.lkfilter(g,lc)
return g:GetClassCount(Card.GetLinkCode)==g:GetCount() return g:GetClassCount(Card.GetLinkCode)==g:GetCount()
......
...@@ -99,10 +99,13 @@ function cm.actcost(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -99,10 +99,13 @@ function cm.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST) e:GetHandler():RemoveOverlayCard(tp,1,1,REASON_COST)
end end
function cm.actcon1(e,tp,eg,ep,ev,re,r,rp) function cm.actcon1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp and not Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_MZONE,0,1,e:GetHandler(),TYPE_SYNCHRO) return Duel.GetTurnPlayer()==tp and not Duel.IsExistingMatchingCard(cm.actfilter,tp,LOCATION_MZONE,0,1,e:GetHandler())
end end
function cm.actcon2(e,tp,eg,ep,ev,re,r,rp) function cm.actcon2(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(Card.IsType,tp,LOCATION_MZONE,0,1,e:GetHandler(),TYPE_SYNCHRO) return Duel.IsExistingMatchingCard(cm.actfilter,tp,LOCATION_MZONE,0,1,e:GetHandler())
end
function cm.actfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsType(TYPE_SYNCHRO) and c:IsFaceup()
end end
function cm.thfilter(c) function cm.thfilter(c)
return c:IsType(TYPE_MONSTER) and c:IsAbleToHand() return c:IsType(TYPE_MONSTER) and c:IsAbleToHand()
......
...@@ -10,7 +10,7 @@ function cm.initial_effect(c) ...@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e2:SetType(EFFECT_TYPE_SINGLE) e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e2:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e2:SetRange(LOCATION_MZONE) e2:SetRange(LOCATION_MZONE)
e2:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e2:SetCode(EFFECT_IMMUNE_EFFECT)
e2:SetCondition(cm.intcon) e2:SetCondition(cm.intcon)
e2:SetValue(cm.efilter) e2:SetValue(cm.efilter)
c:RegisterEffect(e2) c:RegisterEffect(e2)
......
...@@ -81,7 +81,7 @@ end ...@@ -81,7 +81,7 @@ end
function s.csso(e,tp,eg,ep,ev,re,r,rp) function s.csso(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.tuner,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.tuner),tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -81,7 +81,7 @@ end ...@@ -81,7 +81,7 @@ end
function s.csso(e,tp,eg,ep,ev,re,r,rp) function s.csso(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.tuner,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.tuner),tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp)
local tc=g:GetFirst() local tc=g:GetFirst()
if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then if tc and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
local e1=Effect.CreateEffect(e:GetHandler()) local e1=Effect.CreateEffect(e:GetHandler())
......
...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -102,7 +102,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -102,7 +102,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -104,7 +104,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -104,7 +104,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -97,7 +97,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -102,7 +102,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -102,7 +102,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -101,7 +101,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -102,7 +102,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -102,7 +102,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk) ...@@ -105,7 +105,7 @@ function s.allt(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,g,g:GetCount(),0,0)
end end
function s.allo(e,tp,eg,ep,ev,re,r,rp) function s.allo(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(s.kado,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil) local g=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.kado),tp,LOCATION_GRAVE+LOCATION_REMOVED,0,nil)
Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT) Duel.SendtoDeck(g,nil,SEQ_DECKSHUFFLE,REASON_EFFECT)
end end
function s.kado(c) function s.kado(c)
......
...@@ -36,8 +36,8 @@ function s.rider(c) ...@@ -36,8 +36,8 @@ function s.rider(c)
return c:IsFaceup() and c:IsCode(99603100) return c:IsFaceup() and c:IsCode(99603100)
end end
function s.csso(e,tp,eg,ep,ev,re,r,rp) function s.csso(e,tp,eg,ep,ev,re,r,rp)
local m=Duel.GetMatchingGroup(s.time,tp,LOCATION_GRAVE,0,nil,e,tp) local m=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.time),tp,LOCATION_GRAVE,0,nil,e,tp)
local w=Duel.GetMatchingGroup(s.time,tp,0,LOCATION_GRAVE,nil,e,tp) local w=Duel.GetMatchingGroup(aux.NecroValleyFilter(s.time),tp,0,LOCATION_GRAVE,nil,e,tp)
local mz=Duel.GetLocationCount(m:GetFirst():GetOwner(),LOCATION_MZONE) local mz=Duel.GetLocationCount(m:GetFirst():GetOwner(),LOCATION_MZONE)
local wz=Duel.GetLocationCount(w:GetFirst():GetOwner(),LOCATION_MZONE) local wz=Duel.GetLocationCount(w:GetFirst():GetOwner(),LOCATION_MZONE)
if Duel.IsPlayerAffectedByEffect(tp,59822133) then if Duel.IsPlayerAffectedByEffect(tp,59822133) then
......
...@@ -71,7 +71,8 @@ function s.dead(c,e,tp) ...@@ -71,7 +71,8 @@ function s.dead(c,e,tp)
end end
function s.sumo(e,tp,eg,ep,ev,re,r,rp) function s.sumo(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local g=eg:Filter(s.dead,nil,e,tp) local g=eg:Filter(aux.NecroValleyFilter(s.dead),nil,e,tp)
if g:GetCount()<=0 then return end
local tc=g:GetFirst() local tc=g:GetFirst()
while tc do while tc do
local tp=tc:GetOwner() local tp=tc:GetOwner()
...@@ -120,7 +121,7 @@ function s.csso(e,tp,eg,ep,ev,re,r,rp) ...@@ -120,7 +121,7 @@ function s.csso(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,s.rider,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp) local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.rider),tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE,0,1,1,nil,e,tp)
if g:GetCount()>0 then if g:GetCount()>0 then
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
end 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