Commit cbdc82c5 authored by Nemo Ma's avatar Nemo Ma

update 211107

130 cards
parent fd9ed100
No preview for this file type
expansions/pics/111006.jpg

387 KB | W: | H:

expansions/pics/111006.jpg

49.7 KB | W: | H:

expansions/pics/111006.jpg
expansions/pics/111006.jpg
expansions/pics/111006.jpg
expansions/pics/111006.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29002019.jpg

56.8 KB | W: | H:

expansions/pics/29002019.jpg

58.2 KB | W: | H:

expansions/pics/29002019.jpg
expansions/pics/29002019.jpg
expansions/pics/29002019.jpg
expansions/pics/29002019.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29002020.jpg

56.3 KB | W: | H:

expansions/pics/29002020.jpg

57 KB | W: | H:

expansions/pics/29002020.jpg
expansions/pics/29002020.jpg
expansions/pics/29002020.jpg
expansions/pics/29002020.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29010019.jpg

715 KB | W: | H:

expansions/pics/29010019.jpg

55.4 KB | W: | H:

expansions/pics/29010019.jpg
expansions/pics/29010019.jpg
expansions/pics/29010019.jpg
expansions/pics/29010019.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29010020.jpg

41.8 KB | W: | H:

expansions/pics/29010020.jpg

44.7 KB | W: | H:

expansions/pics/29010020.jpg
expansions/pics/29010020.jpg
expansions/pics/29010020.jpg
expansions/pics/29010020.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29065500.jpg

52.6 KB | W: | H:

expansions/pics/29065500.jpg

49.1 KB | W: | H:

expansions/pics/29065500.jpg
expansions/pics/29065500.jpg
expansions/pics/29065500.jpg
expansions/pics/29065500.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29065501.jpg

53.2 KB | W: | H:

expansions/pics/29065501.jpg

49.9 KB | W: | H:

expansions/pics/29065501.jpg
expansions/pics/29065501.jpg
expansions/pics/29065501.jpg
expansions/pics/29065501.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29065506.jpg

48.9 KB | W: | H:

expansions/pics/29065506.jpg

49.1 KB | W: | H:

expansions/pics/29065506.jpg
expansions/pics/29065506.jpg
expansions/pics/29065506.jpg
expansions/pics/29065506.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/29065512.jpg

49.8 KB | W: | H:

expansions/pics/29065512.jpg

50 KB | W: | H:

expansions/pics/29065512.jpg
expansions/pics/29065512.jpg
expansions/pics/29065512.jpg
expansions/pics/29065512.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200005.jpg

183 KB | W: | H:

expansions/pics/33200005.jpg

230 KB | W: | H:

expansions/pics/33200005.jpg
expansions/pics/33200005.jpg
expansions/pics/33200005.jpg
expansions/pics/33200005.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200008.jpg

149 KB | W: | H:

expansions/pics/33200008.jpg

188 KB | W: | H:

expansions/pics/33200008.jpg
expansions/pics/33200008.jpg
expansions/pics/33200008.jpg
expansions/pics/33200008.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200014.jpg

150 KB | W: | H:

expansions/pics/33200014.jpg

192 KB | W: | H:

expansions/pics/33200014.jpg
expansions/pics/33200014.jpg
expansions/pics/33200014.jpg
expansions/pics/33200014.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200032.jpg

138 KB | W: | H:

expansions/pics/33200032.jpg

173 KB | W: | H:

expansions/pics/33200032.jpg
expansions/pics/33200032.jpg
expansions/pics/33200032.jpg
expansions/pics/33200032.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200041.jpg

167 KB | W: | H:

expansions/pics/33200041.jpg

209 KB | W: | H:

expansions/pics/33200041.jpg
expansions/pics/33200041.jpg
expansions/pics/33200041.jpg
expansions/pics/33200041.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200261.jpg

123 KB | W: | H:

expansions/pics/33200261.jpg

152 KB | W: | H:

expansions/pics/33200261.jpg
expansions/pics/33200261.jpg
expansions/pics/33200261.jpg
expansions/pics/33200261.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200264.jpg

143 KB | W: | H:

expansions/pics/33200264.jpg

179 KB | W: | H:

expansions/pics/33200264.jpg
expansions/pics/33200264.jpg
expansions/pics/33200264.jpg
expansions/pics/33200264.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200400.jpg

154 KB | W: | H:

expansions/pics/33200400.jpg

216 KB | W: | H:

expansions/pics/33200400.jpg
expansions/pics/33200400.jpg
expansions/pics/33200400.jpg
expansions/pics/33200400.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200404.jpg

151 KB | W: | H:

expansions/pics/33200404.jpg

212 KB | W: | H:

expansions/pics/33200404.jpg
expansions/pics/33200404.jpg
expansions/pics/33200404.jpg
expansions/pics/33200404.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200407.jpg

159 KB | W: | H:

expansions/pics/33200407.jpg

226 KB | W: | H:

expansions/pics/33200407.jpg
expansions/pics/33200407.jpg
expansions/pics/33200407.jpg
expansions/pics/33200407.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200409.jpg

154 KB | W: | H:

expansions/pics/33200409.jpg

217 KB | W: | H:

expansions/pics/33200409.jpg
expansions/pics/33200409.jpg
expansions/pics/33200409.jpg
expansions/pics/33200409.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200411.jpg

142 KB | W: | H:

expansions/pics/33200411.jpg

200 KB | W: | H:

expansions/pics/33200411.jpg
expansions/pics/33200411.jpg
expansions/pics/33200411.jpg
expansions/pics/33200411.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200412.jpg

147 KB | W: | H:

expansions/pics/33200412.jpg

209 KB | W: | H:

expansions/pics/33200412.jpg
expansions/pics/33200412.jpg
expansions/pics/33200412.jpg
expansions/pics/33200412.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200413.jpg

158 KB | W: | H:

expansions/pics/33200413.jpg

224 KB | W: | H:

expansions/pics/33200413.jpg
expansions/pics/33200413.jpg
expansions/pics/33200413.jpg
expansions/pics/33200413.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200415.jpg

129 KB | W: | H:

expansions/pics/33200415.jpg

182 KB | W: | H:

expansions/pics/33200415.jpg
expansions/pics/33200415.jpg
expansions/pics/33200415.jpg
expansions/pics/33200415.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200418.jpg

162 KB | W: | H:

expansions/pics/33200418.jpg

229 KB | W: | H:

expansions/pics/33200418.jpg
expansions/pics/33200418.jpg
expansions/pics/33200418.jpg
expansions/pics/33200418.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200419.jpg

160 KB | W: | H:

expansions/pics/33200419.jpg

226 KB | W: | H:

expansions/pics/33200419.jpg
expansions/pics/33200419.jpg
expansions/pics/33200419.jpg
expansions/pics/33200419.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200420.jpg

160 KB | W: | H:

expansions/pics/33200420.jpg

225 KB | W: | H:

expansions/pics/33200420.jpg
expansions/pics/33200420.jpg
expansions/pics/33200420.jpg
expansions/pics/33200420.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/33200421.jpg

169 KB | W: | H:

expansions/pics/33200421.jpg

238 KB | W: | H:

expansions/pics/33200421.jpg
expansions/pics/33200421.jpg
expansions/pics/33200421.jpg
expansions/pics/33200421.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/76029000.jpg

393 KB | W: | H:

expansions/pics/76029000.jpg

381 KB | W: | H:

expansions/pics/76029000.jpg
expansions/pics/76029000.jpg
expansions/pics/76029000.jpg
expansions/pics/76029000.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/76029002.jpg

391 KB | W: | H:

expansions/pics/76029002.jpg

358 KB | W: | H:

expansions/pics/76029002.jpg
expansions/pics/76029002.jpg
expansions/pics/76029002.jpg
expansions/pics/76029002.jpg
  • 2-up
  • Swipe
  • Onion skin
--
local m=111006
local cm=_G["c"..m]
cm.named_with_Arknight=1
function cm.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsSynchroType,TYPE_SYNCHRO),1)
......
--方舟骑士-塞雷娅
c115020.named_with_Arknight=1
function c115020.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--SpecialSummon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCode(EVENT_RECOVER)
e1:SetRange(LOCATION_PZONE)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCountLimit(1,115020)
e1:SetCost(c115020.spcost)
e1:SetTarget(c115020.sptg)
e1:SetOperation(c115020.spop)
c:RegisterEffect(e1)
--indes
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,115021)
e2:SetCost(c115020.incost)
e2:SetTarget(c115020.intg)
e2:SetOperation(c115020.inop)
c:RegisterEffect(e2)
--Recover
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_RECOVER)
e4:SetCode(EVENT_DESTROYED)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCountLimit(1,115022)
e4:SetTarget(c115020.rectg)
e4:SetOperation(c115020.recop)
c:RegisterEffect(e4)
end
function c115020.thfil(c)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_MONSTER) and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand()
end
function c115020.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.CheckLPCost(tp,Duel.GetLP(tp)/2) end
Duel.PayLPCost(tp,Duel.GetLP(tp)/2)
end
function c115020.spfil(c,e,tp)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_MONSTER) and c:IsType(TYPE_PENDULUM) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0
end
function c115020.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local check=Duel.GetLocationCount(tp,LOCATION_MZONE)>0
if chk==0 then return Duel.IsExistingMatchingCard(c115020.thfil,tp,LOCATION_DECK,0,1,nil,e,tp,check) end
end
function c115020.spop(e,tp,eg,ep,ev,re,r,rp)
local check=Duel.GetLocationCount(tp,LOCATION_MZONE)>0
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_OPERATECARD)
local g=Duel.SelectMatchingCard(tp,c115020.thfil,tp,LOCATION_DECK,0,1,1,nil,e,tp,check)
local tc=g:GetFirst()
if tc then
if tc:IsAbleToHand() and (not (check and tc:IsCanBeSpecialSummoned(e,0,tp,false,false)) or Duel.SelectOption(tp,1190,1152)==0) then
Duel.SendtoHand(tc,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tc)
else
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
end
function c115020.incost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
function c115020.intg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
end
function c115020.inop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetTargetRange(LOCATION_MZONE,0)
e1:SetReset(RESET_PHASE+PHASE_END)
e1:SetTarget(c115020.imtg)
e1:SetValue(1)
Duel.RegisterEffect(e1,tp)
local e2=e1:Clone()
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
Duel.RegisterEffect(e2,tp)
end
function c115020.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and e:GetHandler():IsReason(REASON_EFFECT) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,LOCATION_HAND)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,0)
end
function c115020.recop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCountFromEx(tp,tp,nil,c)<=0 then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) then
Duel.BreakEffect()
local atk=c:GetAttack()
Duel.Recover(tp,atk,REASON_EFFECT)
end
end
function c115020.imtg(e,c)
return c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight
end
\ No newline at end of file
--方舟骑士-临光
c115023.named_with_Arknight=1
function c115023.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--SpecialSummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCountLimit(1,115023)
e1:SetTarget(c115023.sptg1)
e1:SetOperation(c115023.spop1)
c:RegisterEffect(e1)
c115023.summon_effect=e1
--SpecialSummon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_DESTROYED)
e2:SetRange(LOCATION_HAND)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,115024)
e2:SetCondition(c115023.spcon)
e2:SetTarget(c115023.sptg)
e2:SetOperation(c115023.spop)
c:RegisterEffect(e2)
end
function c115023.cfilter2(c,tp)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsReason(REASON_EFFECT) and c:IsPreviousLocation(LOCATION_ONFIELD)
and c:GetPreviousControler()==tp and c:IsPreviousPosition(POS_FACEUP)
end
function c115023.spcon(e,tp,eg,ep,ev,re,r,rp)
if eg:IsContains(e:GetHandler()) then return false end
return eg:IsExists(c115023.cfilter2,1,nil,tp)
end
function c115023.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,LOCATION_HAND)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,800)
end
function c115023.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
if Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) then
Duel.BreakEffect()
Duel.Recover(tp,800,REASON_EFFECT)
end
end
function c115023.spfil(c,e,tp)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_PENDULUM) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function c115023.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c115023.spfil,tp,LOCATION_DECK,0,1,nil,e,tp) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
end
function c115023.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local g=Duel.GetMatchingGroup(c115023.spfil,tp,LOCATION_DECK,0,nil,e,tp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 or g:GetCount()<=0 then return end
local sg=g:Select(tp,1,1,nil)
if Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP) then
--
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_TRIGGER)
e2:SetProperty(EFFECT_FLAG_IGNORE_RANGE)
e2:SetTarget(c115023.actfilter)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
end
end
function c115023.actfilter(e,c)
return c:GetControler()==e:GetHandlerPlayer() and not (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_MONSTER)
end
\ No newline at end of file
--方舟骑士-瑕光
c115025.named_with_Arknight=1
function c115025.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_RECOVER)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,115025)
e1:SetCost(c115025.thcost)
e1:SetTarget(c115025.thtg)
e1:SetOperation(c115025.thop)
c:RegisterEffect(e1)
--set
local e3=Effect.CreateEffect(c)
e3:SetCategory(CATEGORY_DESTROY)
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCode(EVENT_RECOVER)
e3:SetRange(LOCATION_PZONE)
e3:SetCountLimit(1,115026)
e3:SetTarget(c115025.sttg)
e3:SetOperation(c115025.stop)
c:RegisterEffect(e3)
end
function c115025.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReleasable() end
Duel.Release(e:GetHandler(),REASON_COST)
end
function c115025.thfil(c)
return c:IsAbleToHand() and (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_MONSTER) and c:IsType(TYPE_PENDULUM)
end
function c115025.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c115025.thfil,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,0)
end
function c115025.thop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(c115025.thfil,tp,LOCATION_DECK,0,nil)
if g:GetCount()<=0 then return end
local tg=g:Select(tp,1,1,nil)
Duel.SendtoHand(tg,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tg)
local tc=tg:GetFirst()
Duel.Recover(tp,tc:GetAttack()/2,REASON_EFFECT)
end
function c115025.stfil(c)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_PENDULUM) and c:IsType(TYPE_MONSTER) and not c:IsForbidden()
end
function c115025.xgfilter(c)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight)
end
function c115025.sttg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c115025.xgfilter,tp,LOCATION_PZONE,0,1,nil) and ep==tp and re:GetHandler():IsSetCard(0x87af)or _G["c"..re:GetHandler():GetCode()].named_with_Arknight and Duel.IsExistingMatchingCard(c115025.stfil,tp,LOCATION_DECK,0,2,nil) end
local g=Duel.GetFieldGroup(tp,LOCATION_PZONE,0)
Duel.SetTargetCard(g)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,2,tp,LOCATION_PZONE)
end
function c115025.stop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local g1=Duel.GetMatchingGroup(c115025.stfil,tp,LOCATION_DECK,0,nil)
if Duel.Destroy(g,REASON_EFFECT) and g1:GetCount()>1 then
local tg=g1:Select(tp,2,2,nil)
local tc=tg:GetFirst()
while tc do
Duel.MoveToField(tc,tp,tp,LOCATION_PZONE,POS_FACEUP,true)
tc=tg:GetNext()
end
end
end
\ No newline at end of file
--方舟骑士-哞
c115027.named_with_Arknight=1
function c115027.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--Recover
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCategory(CATEGORY_RECOVER)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_PZONE)
e1:SetTarget(c115027.rectg)
e1:SetOperation(c115027.recop)
c:RegisterEffect(e1)
--SpecialSummon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_DESTROYED)
e2:SetRange(LOCATION_HAND)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,115027)
e2:SetCondition(c115027.spcon)
e2:SetTarget(c115027.sptg)
e2:SetOperation(c115027.spop)
c:RegisterEffect(e2)
--Recover
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCategory(CATEGORY_TOHAND+CATEGORY_RECOVER)
e4:SetCode(EVENT_DESTROYED)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCountLimit(1,115028)
e4:SetTarget(c115027.rectg1)
e4:SetOperation(c115027.recop1)
c:RegisterEffect(e4)
end
function c115027.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(800)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,800)
end
function c115027.recop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Recover(p,d,REASON_EFFECT)
end
function c115027.cfilter2(c,tp)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and (c:IsReason(REASON_EFFECT) or c:IsReason(REASON_BATTLE)) and c:IsPreviousLocation(LOCATION_ONFIELD)
and c:GetPreviousControler()==tp and c:IsPreviousPosition(POS_FACEUP)
end
function c115027.spcon(e,tp,eg,ep,ev,re,r,rp)
if eg:IsContains(e:GetHandler()) then return false end
return eg:IsExists(c115027.cfilter2,1,nil,tp)
end
function c115027.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,LOCATION_HAND)
end
function c115027.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
function c115027.rthfil(c)
return c:IsType(TYPE_MONSTER) and (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_PENDULUM) and (c:IsLocation(LOCATION_GRAVE) or (c:IsLocation(LOCATION_EXTRA) and c:IsFaceup()))
end
function c115027.rectg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c115027.rthfil,tp,LOCATION_GRAVE+LOCATION_EXTRA,0,1,nil) and e:GetHandler():IsReason(REASON_EFFECT) end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1000)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,1000)
end
function c115027.recop1(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
local g=Duel.GetMatchingGroup(c115027.rthfil,tp,LOCATION_GRAVE+LOCATION_EXTRA,0,nil)
if Duel.Recover(p,d,REASON_EFFECT) and g:GetCount()<=0 then return end
Duel.BreakEffect()
local tg=g:Select(tp,1,1,nil)
Duel.SendtoHand(tg,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tg)
end
\ No newline at end of file
--方舟骑士-苏苏洛
function c115029.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,115029)
e1:SetTarget(c115029.thtg)
e1:SetOperation(c115029.thop)
c:RegisterEffect(e1)
--Recover
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCategory(CATEGORY_RECOVER)
e4:SetCode(EVENT_DESTROYED)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetTarget(c115029.rectg)
e4:SetOperation(c115029.recop)
c:RegisterEffect(e4)
--SpecialSummon
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetCode(EVENT_RECOVER)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetRange(LOCATION_HAND)
e4:SetCountLimit(1,115030)
e4:SetTarget(c115029.sptg1)
e4:SetOperation(c115029.spop1)
c:RegisterEffect(e4)
end
function c115029.thfil(c)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsType(TYPE_PENDULUM) and c:IsAbleToHand()
end
function c115029.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c115029.thfil,tp,LOCATION_DECK,0,1,nil) end
local g=Duel.GetFieldGroup(tp,LOCATION_PZONE,0,nil)
Duel.SetTargetCard(g)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,2,tp,LOCATION_PZONE)
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,0)
end
function c115029.thop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetChainInfo(0,CHAININFO_TARGET_CARDS)
local g1=Duel.GetMatchingGroup(c115029.thfil,tp,LOCATION_DECK,0,1,nil)
if Duel.Destroy(g,REASON_EFFECT) and g1:GetCount()>0 then
local tg=g1:Select(tp,1,1,nil)
Duel.SendtoHand(tg,tp,REASON_EFFECT)
Duel.ConfirmCards(1-tp,tg)
if Duel.GetFieldGroupCount(tp,LOCATION_GRAVE,0)==0 then
Duel.BreakEffect()
Duel.Draw(tp,1,REASON_EFFECT)
end
end
end
function c115029.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsReason(REASON_EFFECT) end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(800)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,800)
end
function c115029.recop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Recover(p,d,REASON_EFFECT)
end
function c115029.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and ep==tp end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,LOCATION_HAND)
end
function c115029.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
\ No newline at end of file
--方舟骑士-末药
function c115031.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--SpecialSummon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY)
e1:SetRange(LOCATION_PZONE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,115031)
e1:SetTarget(c115031.sptg)
e1:SetOperation(c115031.spop)
c:RegisterEffect(e1)
--Recover
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCategory(CATEGORY_RECOVER)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetTarget(c115031.rectg)
e2:SetOperation(c115031.recop)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3)
c115031.summon_effect=e2
--SpecialSummon
local e4=Effect.CreateEffect(c)
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
e4:SetCode(EVENT_RECOVER)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetRange(LOCATION_HAND)
e4:SetCountLimit(1,115032)
e4:SetTarget(c115031.sptg1)
e4:SetOperation(c115031.spop1)
c:RegisterEffect(e4)
end
function c115031.myfilter(c)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight)
end
function c115031.spfil(c,e,tp)
return (c:IsSetCard(0x87af) or _G["c"..c:GetCode()].named_with_Arknight) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and ((c:IsLocation(LOCATION_HAND+LOCATION_GRAVE) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 ) or (c:IsLocation(LOCATION_EXTRA) and c:IsFaceup() and Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 ))
end
function c115031.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c115031.myfilter,tp,LOCATION_PZONE,0,1,nil) and Duel.IsExistingMatchingCard(nil,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil) and Duel.IsExistingMatchingCard(c115031.spfil,tp,LOCATION_HAND+LOCATION_GRAVE+LOCATION_EXTRA,0,1,nil,e,tp) end
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,tp,0)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,0)
end
function c115031.spop(e,tp,eg,ep,ev,re,r,rp)
local g=Duel.GetMatchingGroup(nil,tp,LOCATION_HAND+LOCATION_ONFIELD,0,1,nil)
if g:GetCount()<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local dg=g:Select(tp,1,1,nil)
Duel.Destroy(dg,REASON_EFFECT)
local g1=Duel.GetMatchingGroup(c115031.spfil,tp,LOCATION_HAND+LOCATION_GRAVE+LOCATION_EXTRA,0,nil,e,tp)
if g1:GetCount()<=0 then return end
Duel.BreakEffect()
local sg=g1:Select(tp,1,1,nil)
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
function c115031.rectg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(1000)
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,1000)
end
function c115031.recop(e,tp,eg,ep,ev,re,r,rp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
Duel.Recover(p,d,REASON_EFFECT)
end
function c115031.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and ep==tp end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,LOCATION_HAND)
end
function c115031.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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