Commit 67edc39f authored by POLYMER's avatar POLYMER

update 260105 wd

parent ecfa91dc
......@@ -7081,6 +7081,10 @@
52720011 0
17337380 0
65133158 0
17339150 0
17339160 0
17339170 0
62500000 0
#limit
33403513 1
82204250 0
......
No preview for this file type
expansions/pics/17337400.jpg

113 KB | W: | H:

expansions/pics/17337400.jpg

34.1 KB | W: | H:

expansions/pics/17337400.jpg
expansions/pics/17337400.jpg
expansions/pics/17337400.jpg
expansions/pics/17337400.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337410.jpg

37.4 KB | W: | H:

expansions/pics/17337410.jpg

37.4 KB | W: | H:

expansions/pics/17337410.jpg
expansions/pics/17337410.jpg
expansions/pics/17337410.jpg
expansions/pics/17337410.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337420.jpg

38.9 KB | W: | H:

expansions/pics/17337420.jpg

39 KB | W: | H:

expansions/pics/17337420.jpg
expansions/pics/17337420.jpg
expansions/pics/17337420.jpg
expansions/pics/17337420.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337430.jpg

40.3 KB | W: | H:

expansions/pics/17337430.jpg

40.9 KB | W: | H:

expansions/pics/17337430.jpg
expansions/pics/17337430.jpg
expansions/pics/17337430.jpg
expansions/pics/17337430.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337440.jpg

39.9 KB | W: | H:

expansions/pics/17337440.jpg

40.6 KB | W: | H:

expansions/pics/17337440.jpg
expansions/pics/17337440.jpg
expansions/pics/17337440.jpg
expansions/pics/17337440.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337450.jpg

39 KB | W: | H:

expansions/pics/17337450.jpg

39.6 KB | W: | H:

expansions/pics/17337450.jpg
expansions/pics/17337450.jpg
expansions/pics/17337450.jpg
expansions/pics/17337450.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337460.jpg

40.6 KB | W: | H:

expansions/pics/17337460.jpg

40.6 KB | W: | H:

expansions/pics/17337460.jpg
expansions/pics/17337460.jpg
expansions/pics/17337460.jpg
expansions/pics/17337460.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337470.jpg

42.9 KB | W: | H:

expansions/pics/17337470.jpg

42.3 KB | W: | H:

expansions/pics/17337470.jpg
expansions/pics/17337470.jpg
expansions/pics/17337470.jpg
expansions/pics/17337470.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337480.jpg

105 KB | W: | H:

expansions/pics/17337480.jpg

108 KB | W: | H:

expansions/pics/17337480.jpg
expansions/pics/17337480.jpg
expansions/pics/17337480.jpg
expansions/pics/17337480.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337490.jpg

40.3 KB | W: | H:

expansions/pics/17337490.jpg

40.9 KB | W: | H:

expansions/pics/17337490.jpg
expansions/pics/17337490.jpg
expansions/pics/17337490.jpg
expansions/pics/17337490.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337500.jpg

113 KB | W: | H:

expansions/pics/17337500.jpg

115 KB | W: | H:

expansions/pics/17337500.jpg
expansions/pics/17337500.jpg
expansions/pics/17337500.jpg
expansions/pics/17337500.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337510.jpg

42.8 KB | W: | H:

expansions/pics/17337510.jpg

42.8 KB | W: | H:

expansions/pics/17337510.jpg
expansions/pics/17337510.jpg
expansions/pics/17337510.jpg
expansions/pics/17337510.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337520.jpg

39.1 KB | W: | H:

expansions/pics/17337520.jpg

39.7 KB | W: | H:

expansions/pics/17337520.jpg
expansions/pics/17337520.jpg
expansions/pics/17337520.jpg
expansions/pics/17337520.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337530.jpg

42.7 KB | W: | H:

expansions/pics/17337530.jpg

43.4 KB | W: | H:

expansions/pics/17337530.jpg
expansions/pics/17337530.jpg
expansions/pics/17337530.jpg
expansions/pics/17337530.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337540.jpg

41 KB | W: | H:

expansions/pics/17337540.jpg

41.1 KB | W: | H:

expansions/pics/17337540.jpg
expansions/pics/17337540.jpg
expansions/pics/17337540.jpg
expansions/pics/17337540.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337550.jpg

35.4 KB | W: | H:

expansions/pics/17337550.jpg

36.7 KB | W: | H:

expansions/pics/17337550.jpg
expansions/pics/17337550.jpg
expansions/pics/17337550.jpg
expansions/pics/17337550.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337560.jpg

42.9 KB | W: | H:

expansions/pics/17337560.jpg

42.6 KB | W: | H:

expansions/pics/17337560.jpg
expansions/pics/17337560.jpg
expansions/pics/17337560.jpg
expansions/pics/17337560.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337570.jpg

41.4 KB | W: | H:

expansions/pics/17337570.jpg

41.6 KB | W: | H:

expansions/pics/17337570.jpg
expansions/pics/17337570.jpg
expansions/pics/17337570.jpg
expansions/pics/17337570.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337580.jpg

37.2 KB | W: | H:

expansions/pics/17337580.jpg

36.2 KB | W: | H:

expansions/pics/17337580.jpg
expansions/pics/17337580.jpg
expansions/pics/17337580.jpg
expansions/pics/17337580.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337590.jpg

44.4 KB | W: | H:

expansions/pics/17337590.jpg

44.4 KB | W: | H:

expansions/pics/17337590.jpg
expansions/pics/17337590.jpg
expansions/pics/17337590.jpg
expansions/pics/17337590.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337600.jpg

37.1 KB | W: | H:

expansions/pics/17337600.jpg

37.2 KB | W: | H:

expansions/pics/17337600.jpg
expansions/pics/17337600.jpg
expansions/pics/17337600.jpg
expansions/pics/17337600.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337610.jpg

35.1 KB | W: | H:

expansions/pics/17337610.jpg

35.1 KB | W: | H:

expansions/pics/17337610.jpg
expansions/pics/17337610.jpg
expansions/pics/17337610.jpg
expansions/pics/17337610.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337620.jpg

114 KB | W: | H:

expansions/pics/17337620.jpg

117 KB | W: | H:

expansions/pics/17337620.jpg
expansions/pics/17337620.jpg
expansions/pics/17337620.jpg
expansions/pics/17337620.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337630.jpg

36.2 KB | W: | H:

expansions/pics/17337630.jpg

36.2 KB | W: | H:

expansions/pics/17337630.jpg
expansions/pics/17337630.jpg
expansions/pics/17337630.jpg
expansions/pics/17337630.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337640.jpg

40.6 KB | W: | H:

expansions/pics/17337640.jpg

40.9 KB | W: | H:

expansions/pics/17337640.jpg
expansions/pics/17337640.jpg
expansions/pics/17337640.jpg
expansions/pics/17337640.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337650.jpg

40.8 KB | W: | H:

expansions/pics/17337650.jpg

40.8 KB | W: | H:

expansions/pics/17337650.jpg
expansions/pics/17337650.jpg
expansions/pics/17337650.jpg
expansions/pics/17337650.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337660.jpg

41 KB | W: | H:

expansions/pics/17337660.jpg

41.6 KB | W: | H:

expansions/pics/17337660.jpg
expansions/pics/17337660.jpg
expansions/pics/17337660.jpg
expansions/pics/17337660.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337670.jpg

38.4 KB | W: | H:

expansions/pics/17337670.jpg

38.5 KB | W: | H:

expansions/pics/17337670.jpg
expansions/pics/17337670.jpg
expansions/pics/17337670.jpg
expansions/pics/17337670.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337680.jpg

41.8 KB | W: | H:

expansions/pics/17337680.jpg

41.8 KB | W: | H:

expansions/pics/17337680.jpg
expansions/pics/17337680.jpg
expansions/pics/17337680.jpg
expansions/pics/17337680.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337690.jpg

40.7 KB | W: | H:

expansions/pics/17337690.jpg

40.8 KB | W: | H:

expansions/pics/17337690.jpg
expansions/pics/17337690.jpg
expansions/pics/17337690.jpg
expansions/pics/17337690.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337700.jpg

37.4 KB | W: | H:

expansions/pics/17337700.jpg

37.7 KB | W: | H:

expansions/pics/17337700.jpg
expansions/pics/17337700.jpg
expansions/pics/17337700.jpg
expansions/pics/17337700.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337710.jpg

40.5 KB | W: | H:

expansions/pics/17337710.jpg

41 KB | W: | H:

expansions/pics/17337710.jpg
expansions/pics/17337710.jpg
expansions/pics/17337710.jpg
expansions/pics/17337710.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337720.jpg

107 KB | W: | H:

expansions/pics/17337720.jpg

108 KB | W: | H:

expansions/pics/17337720.jpg
expansions/pics/17337720.jpg
expansions/pics/17337720.jpg
expansions/pics/17337720.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337730.jpg

41.9 KB | W: | H:

expansions/pics/17337730.jpg

42 KB | W: | H:

expansions/pics/17337730.jpg
expansions/pics/17337730.jpg
expansions/pics/17337730.jpg
expansions/pics/17337730.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337740.jpg

37.4 KB | W: | H:

expansions/pics/17337740.jpg

38.3 KB | W: | H:

expansions/pics/17337740.jpg
expansions/pics/17337740.jpg
expansions/pics/17337740.jpg
expansions/pics/17337740.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337750.jpg

39.8 KB | W: | H:

expansions/pics/17337750.jpg

40.5 KB | W: | H:

expansions/pics/17337750.jpg
expansions/pics/17337750.jpg
expansions/pics/17337750.jpg
expansions/pics/17337750.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337760.jpg

37.4 KB | W: | H:

expansions/pics/17337760.jpg

38.1 KB | W: | H:

expansions/pics/17337760.jpg
expansions/pics/17337760.jpg
expansions/pics/17337760.jpg
expansions/pics/17337760.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337770.jpg

37.7 KB | W: | H:

expansions/pics/17337770.jpg

37.9 KB | W: | H:

expansions/pics/17337770.jpg
expansions/pics/17337770.jpg
expansions/pics/17337770.jpg
expansions/pics/17337770.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337780.jpg

41 KB | W: | H:

expansions/pics/17337780.jpg

41.1 KB | W: | H:

expansions/pics/17337780.jpg
expansions/pics/17337780.jpg
expansions/pics/17337780.jpg
expansions/pics/17337780.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337790.jpg

110 KB | W: | H:

expansions/pics/17337790.jpg

113 KB | W: | H:

expansions/pics/17337790.jpg
expansions/pics/17337790.jpg
expansions/pics/17337790.jpg
expansions/pics/17337790.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337800.jpg

119 KB | W: | H:

expansions/pics/17337800.jpg

102 KB | W: | H:

expansions/pics/17337800.jpg
expansions/pics/17337800.jpg
expansions/pics/17337800.jpg
expansions/pics/17337800.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337810.jpg

116 KB | W: | H:

expansions/pics/17337810.jpg

118 KB | W: | H:

expansions/pics/17337810.jpg
expansions/pics/17337810.jpg
expansions/pics/17337810.jpg
expansions/pics/17337810.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337820.jpg

104 KB | W: | H:

expansions/pics/17337820.jpg

104 KB | W: | H:

expansions/pics/17337820.jpg
expansions/pics/17337820.jpg
expansions/pics/17337820.jpg
expansions/pics/17337820.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337830.jpg

36.8 KB | W: | H:

expansions/pics/17337830.jpg

36.8 KB | W: | H:

expansions/pics/17337830.jpg
expansions/pics/17337830.jpg
expansions/pics/17337830.jpg
expansions/pics/17337830.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337840.jpg

117 KB | W: | H:

expansions/pics/17337840.jpg

119 KB | W: | H:

expansions/pics/17337840.jpg
expansions/pics/17337840.jpg
expansions/pics/17337840.jpg
expansions/pics/17337840.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337850.jpg

103 KB | W: | H:

expansions/pics/17337850.jpg

105 KB | W: | H:

expansions/pics/17337850.jpg
expansions/pics/17337850.jpg
expansions/pics/17337850.jpg
expansions/pics/17337850.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337860.jpg

111 KB | W: | H:

expansions/pics/17337860.jpg

111 KB | W: | H:

expansions/pics/17337860.jpg
expansions/pics/17337860.jpg
expansions/pics/17337860.jpg
expansions/pics/17337860.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337870.jpg

38.2 KB | W: | H:

expansions/pics/17337870.jpg

38.4 KB | W: | H:

expansions/pics/17337870.jpg
expansions/pics/17337870.jpg
expansions/pics/17337870.jpg
expansions/pics/17337870.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337880.jpg

34.9 KB | W: | H:

expansions/pics/17337880.jpg

35.1 KB | W: | H:

expansions/pics/17337880.jpg
expansions/pics/17337880.jpg
expansions/pics/17337880.jpg
expansions/pics/17337880.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337890.jpg

37.5 KB | W: | H:

expansions/pics/17337890.jpg

37.7 KB | W: | H:

expansions/pics/17337890.jpg
expansions/pics/17337890.jpg
expansions/pics/17337890.jpg
expansions/pics/17337890.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337900.jpg

102 KB | W: | H:

expansions/pics/17337900.jpg

103 KB | W: | H:

expansions/pics/17337900.jpg
expansions/pics/17337900.jpg
expansions/pics/17337900.jpg
expansions/pics/17337900.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337910.jpg

114 KB | W: | H:

expansions/pics/17337910.jpg

116 KB | W: | H:

expansions/pics/17337910.jpg
expansions/pics/17337910.jpg
expansions/pics/17337910.jpg
expansions/pics/17337910.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337930.jpg

45.2 KB | W: | H:

expansions/pics/17337930.jpg

45.2 KB | W: | H:

expansions/pics/17337930.jpg
expansions/pics/17337930.jpg
expansions/pics/17337930.jpg
expansions/pics/17337930.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337940.jpg

44.9 KB | W: | H:

expansions/pics/17337940.jpg

45 KB | W: | H:

expansions/pics/17337940.jpg
expansions/pics/17337940.jpg
expansions/pics/17337940.jpg
expansions/pics/17337940.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337950.jpg

43.1 KB | W: | H:

expansions/pics/17337950.jpg

43.2 KB | W: | H:

expansions/pics/17337950.jpg
expansions/pics/17337950.jpg
expansions/pics/17337950.jpg
expansions/pics/17337950.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17337990.jpg

47.3 KB | W: | H:

expansions/pics/17337990.jpg

47.6 KB | W: | H:

expansions/pics/17337990.jpg
expansions/pics/17337990.jpg
expansions/pics/17337990.jpg
expansions/pics/17337990.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338000.jpg

38.6 KB | W: | H:

expansions/pics/17338000.jpg

38.7 KB | W: | H:

expansions/pics/17338000.jpg
expansions/pics/17338000.jpg
expansions/pics/17338000.jpg
expansions/pics/17338000.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338100.jpg

38.8 KB | W: | H:

expansions/pics/17338100.jpg

39.6 KB | W: | H:

expansions/pics/17338100.jpg
expansions/pics/17338100.jpg
expansions/pics/17338100.jpg
expansions/pics/17338100.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338130.jpg

38.9 KB | W: | H:

expansions/pics/17338130.jpg

39.7 KB | W: | H:

expansions/pics/17338130.jpg
expansions/pics/17338130.jpg
expansions/pics/17338130.jpg
expansions/pics/17338130.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338140.jpg

44.1 KB | W: | H:

expansions/pics/17338140.jpg

44.7 KB | W: | H:

expansions/pics/17338140.jpg
expansions/pics/17338140.jpg
expansions/pics/17338140.jpg
expansions/pics/17338140.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338150.jpg

35.7 KB | W: | H:

expansions/pics/17338150.jpg

36.6 KB | W: | H:

expansions/pics/17338150.jpg
expansions/pics/17338150.jpg
expansions/pics/17338150.jpg
expansions/pics/17338150.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338160.jpg

45.4 KB | W: | H:

expansions/pics/17338160.jpg

46.3 KB | W: | H:

expansions/pics/17338160.jpg
expansions/pics/17338160.jpg
expansions/pics/17338160.jpg
expansions/pics/17338160.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338170.jpg

119 KB | W: | H:

expansions/pics/17338170.jpg

35.9 KB | W: | H:

expansions/pics/17338170.jpg
expansions/pics/17338170.jpg
expansions/pics/17338170.jpg
expansions/pics/17338170.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338180.jpg

35 KB | W: | H:

expansions/pics/17338180.jpg

34.8 KB | W: | H:

expansions/pics/17338180.jpg
expansions/pics/17338180.jpg
expansions/pics/17338180.jpg
expansions/pics/17338180.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338190.jpg

44 KB | W: | H:

expansions/pics/17338190.jpg

45.1 KB | W: | H:

expansions/pics/17338190.jpg
expansions/pics/17338190.jpg
expansions/pics/17338190.jpg
expansions/pics/17338190.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338300.jpg

39.6 KB | W: | H:

expansions/pics/17338300.jpg

40.4 KB | W: | H:

expansions/pics/17338300.jpg
expansions/pics/17338300.jpg
expansions/pics/17338300.jpg
expansions/pics/17338300.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338520.jpg

109 KB | W: | H:

expansions/pics/17338520.jpg

112 KB | W: | H:

expansions/pics/17338520.jpg
expansions/pics/17338520.jpg
expansions/pics/17338520.jpg
expansions/pics/17338520.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17338960.jpg

39.1 KB | W: | H:

expansions/pics/17338960.jpg

40.2 KB | W: | H:

expansions/pics/17338960.jpg
expansions/pics/17338960.jpg
expansions/pics/17338960.jpg
expansions/pics/17338960.jpg
  • 2-up
  • Swipe
  • Onion skin
expansions/pics/17339020.jpg

40.9 KB | W: | H:

expansions/pics/17339020.jpg

41.1 KB | W: | H:

expansions/pics/17339020.jpg
expansions/pics/17339020.jpg
expansions/pics/17339020.jpg
expansions/pics/17339020.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -29,10 +29,9 @@ function s.initial_effect(c)
e3:SetDescription(1153)
e3:SetCategory(CATEGORY_TOGRAVE)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_BE_MATERIAL)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,id+2)
e3:SetCondition(s.setcon3)
e3:SetTarget(s.settg3)
e3:SetOperation(s.setop3)
c:RegisterEffect(e3)
......@@ -75,23 +74,62 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
Duel.RegisterEffect(e1,tp)
end
end
function s.splimit(e,c)
return not c:IsSetCard(0x3f50)
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.setcon3(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_LINK and e:GetHandler():GetReasonCard():IsSetCard(0x5f50)
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end
end
function s.setfilter(c)
return c:IsCode(17337630) and c:IsSSetable()
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop3(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_DECK,0,1,1,nil)
if #g>0 then
Duel.SSet(tp,g:GetFirst())
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
--艾米莉亚
local s,id=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17337510,17337500)
aux.AddCodeList(c,17337510,17337500,17337400)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
......@@ -20,7 +20,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
end
function s.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x5f50) and c:IsType(TYPE_MONSTER)
return c:IsFaceup() and c:IsSetCard(0x5f50) or aux.IsCodeListed(c,17337400) and c:IsType(TYPE_MONSTER)
end
function s.spfilter2(c)
return c:IsFaceup() and c:IsCode(17337500)
......
--加菲尔
local s,id=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17337550,17337670)
aux.AddCodeList(c,17337550,17337670,17337400)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
......@@ -21,7 +21,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
end
function s.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x5f50) and c:IsType(TYPE_MONSTER)
return c:IsFaceup() and c:IsSetCard(0x5f50) or aux.IsCodeListed(c,17337400) and c:IsType(TYPE_MONSTER)
end
function s.spfilter2(c)
return c:IsFaceup() and c:IsCode(17337550,17337670)
......
......@@ -13,7 +13,8 @@ function s.initial_effect(c)
local e2=Effect.CreateEffect(c)
e2:SetDescription(1190)
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_HAND)
e2:SetCountLimit(1,id)
e2:SetCost(s.thcost)
......
--罗兹瓦尔
local s,id=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17337400)
local e1=Effect.CreateEffect(c)
e1:SetDescription(1118)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_HANDES)
......@@ -121,9 +122,9 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(s.cfilter,1,e:GetHandler(),tp)
end
function s.desop(e,tp,eg,ep,ev,re,r,rp)
if Duel.IsExistingMatchingCard(function(c) return c:IsSetCard(0x5f50) and c:IsFaceupEx() and c:IsType(TYPE_MONSTER) end,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil) then
if Duel.IsExistingMatchingCard(function(c) return c:IsSetCard(0x5f50) or aux.IsCodeListed(c,17337400) and c:IsFaceupEx() and c:IsType(TYPE_MONSTER) end,tp,LOCATION_HAND+LOCATION_MZONE,0,1,nil) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsSetCard(0x5f50) and c:IsFaceupEx() and c:IsType(TYPE_MONSTER) end,
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsSetCard(0x5f50) or aux.IsCodeListed(c,17337400) and c:IsFaceupEx() and c:IsType(TYPE_MONSTER) end,
tp,LOCATION_HAND+LOCATION_MZONE,0,1,1,nil)
if Duel.Destroy(g,REASON_EFFECT)==0 then
Duel.BreakEffect()
......
--奥托
local s,id=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17337400)
local e1=Effect.CreateEffect(c)
e1:SetDescription(1190)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
......@@ -10,6 +11,11 @@ function s.initial_effect(c)
e1:SetTarget(s.thtg1)
e1:SetOperation(s.thop1)
c:RegisterEffect(e1)
local e1a=e1:Clone()
e1a:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e1a)
local e2=Effect.CreateEffect(c)
e2:SetDescription(1153)
e2:SetType(EFFECT_TYPE_IGNITION)
......@@ -42,7 +48,9 @@ function s.setcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel.Release(e:GetHandler(),REASON_COST)
end
function s.setfilter(c)
return c:IsSetCard(0x3f50) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
return (c:IsSetCard(0x3f50) or aux.IsCodeListed(c,17337400))
and c:IsType(TYPE_SPELL+TYPE_TRAP)
and c:IsSSetable()
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end
......
--贝阿托莉丝
local s,id=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17337400)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
......@@ -22,7 +23,7 @@ function s.initial_effect(c)
c:RegisterEffect(e2)
end
function s.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x5f50) and c:IsType(TYPE_MONSTER)
return c:IsFaceup() and c:IsSetCard(0x5f50) or aux.IsCodeListed(c,17337400) and c:IsType(TYPE_MONSTER)
end
function s.spcon(e,c)
if c==nil then return true end
......
--帕特拉修
local s,id=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17337400)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
......@@ -31,7 +32,7 @@ function s.initial_effect(c)
c:RegisterEffect(e3)
end
function s.spfilter(c)
return c:IsFaceup() and c:IsSetCard(0x5f50)
return c:IsFaceup() and c:IsSetCard(0x5f50) or aux.IsCodeListed(c,17337400)
end
function s.spcon(e,c)
if c==nil then return true end
......
......@@ -28,10 +28,9 @@ function s.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetDescription(1153)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_BE_MATERIAL)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,id+o*2)
e3:SetCondition(s.setcon)
e3:SetTarget(s.settg)
e3:SetOperation(s.setop)
c:RegisterEffect(e3)
......@@ -111,18 +110,62 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_LINK and e:GetHandler():GetReasonCard():IsSetCard(0x5f50)
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
......@@ -31,10 +31,9 @@ function s.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetDescription(1153)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_BE_MATERIAL)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,id+o*2)
e3:SetCondition(s.setcon)
e3:SetTarget(s.settg)
e3:SetOperation(s.setop)
c:RegisterEffect(e3)
......@@ -75,18 +74,62 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_LINK and e:GetHandler():GetReasonCard():IsSetCard(0x5f50)
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
......@@ -42,10 +42,9 @@ function s.initial_effect(c)
local e4=Effect.CreateEffect(c)
e4:SetDescription(1153)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_BE_MATERIAL)
e4:SetCode(EVENT_TO_GRAVE)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCountLimit(1,id+o*2)
e4:SetCondition(s.setcon)
e4:SetTarget(s.settg)
e4:SetOperation(s.setop)
c:RegisterEffect(e4)
......@@ -111,18 +110,120 @@ function s.rcop(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(p,d,REASON_EFFECT)
end
end
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_LINK and e:GetHandler():GetReasonCard():IsSetCard(0x5f50)
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
endfunction s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
......@@ -40,10 +40,9 @@ function s.initial_effect(c)
local e4=Effect.CreateEffect(c)
e4:SetDescription(1153)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_BE_MATERIAL)
e4:SetCode(EVENT_TO_GRAVE)
e4:SetProperty(EFFECT_FLAG_DELAY)
e4:SetCountLimit(1,id+o)
e4:SetCondition(s.setcon)
e4:SetTarget(s.settg)
e4:SetOperation(s.setop)
c:RegisterEffect(e4)
......@@ -110,18 +109,91 @@ end
function s.subaru_pick(c)
return aux.IsCodeListed(c,17337400) and not c:IsCode(id) and (c:IsAbleToHand() or c:IsAbleToGrave())
end
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_LINK and e:GetHandler():GetReasonCard():IsSetCard(0x5f50)
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.settg3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_DECK,0,1,nil) end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,1,tp,LOCATION_DECK)
end
function s.setop3(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstMatchingCard(s.setfilter,tp,LOCATION_DECK,0,nil)
if tc then
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
end
end
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
......@@ -32,10 +32,9 @@ function s.initial_effect(c)
local e3=Effect.CreateEffect(c)
e3:SetDescription(1153)
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e3:SetCode(EVENT_BE_MATERIAL)
e3:SetCode(EVENT_TO_GRAVE)
e3:SetProperty(EFFECT_FLAG_DELAY)
e3:SetCountLimit(1,id+o*2)
e3:SetCondition(s.setcon)
e3:SetTarget(s.settg)
e3:SetOperation(s.setop)
c:RegisterEffect(e3)
......@@ -98,18 +97,62 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
function s.setcon(e,tp,eg,ep,ev,re,r,rp)
return e:GetHandler():IsLocation(LOCATION_GRAVE) and r==REASON_LINK and e:GetHandler():GetReasonCard():IsSetCard(0x5f50)
function s.setfilter(c)
return c:IsCode(17337630) and c:IsType(TYPE_FIELD) and not c:IsForbidden()
end
function s.spfilter2(c,e,tp)
return c:IsType(TYPE_MONSTER) and c:IsSetCard(0x5f50) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.settg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,nil) end
if chk==0 then
return Duel.IsExistingMatchingCard(s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
end
Duel.SetOperationInfo(0,CATEGORY_LEAVE_DECK,nil,0,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED)
end
function s.setop(e,tp,eg,ep,ev,re,r,rp)
if Duel.GetLocationCount(tp,LOCATION_SZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local g=Duel.SelectMatchingCard(tp,function(c) return c:IsCode(17337630) and c:IsSSetable() end,tp,LOCATION_DECK,0,1,1,nil)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOFIELD)
local g=Duel.SelectMatchingCard(tp,s.setfilter,tp,LOCATION_HAND+LOCATION_DECK+LOCATION_GRAVE+LOCATION_REMOVED,0,1,1,nil)
if #g==0 then return end
local tc=g:GetFirst()
if tc then
Duel.SSet(tp,tc)
if not tc then return end
local fc=Duel.GetFieldCard(tp,LOCATION_FZONE,0)
if fc then
Duel.SendtoGrave(fc,REASON_RULE)
end
local loc=tc:GetLocation()
if loc==LOCATION_HAND then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_DECK then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_GRAVE then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
elseif loc==LOCATION_REMOVED then
Duel.MoveToField(tc,tp,tp,LOCATION_FZONE,POS_FACEUP,true)
end
local te=tc:GetActivateEffect()
if te then
te:UseCountLimit(tp,1,true)
local tep=tc:GetControler()
local cost=te:GetCost()
if cost then
cost(te,tep,eg,ep,ev,re,r,rp,1)
end
Duel.RaiseEvent(tc,4179255,te,0,tp,tp,Duel.GetCurrentChain())
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter2,tp,LOCATION_DECK,0,1,nil,e,tp) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,s.spfilter2,tp,LOCATION_DECK,0,1,1,nil,e,tp)
if #sg>0 then
Duel.SpecialSummon(sg,0,tp,tp,false,false,POS_FACEUP)
end
end
end
\ No newline at end of file
--新卡16:权能解放 阿尔迪巴兰
--权能解放 阿尔迪巴兰
local s,id,o=GetID()
function s.initial_effect(c)
c:SetUniqueOnField(1,1,id)
......@@ -47,7 +47,7 @@ function s.initial_effect(c)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_MZONE)
e4:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e4:SetCountLimit(1,id+o)
e4:SetCountLimit(1)
e4:SetCost(s.bancost)
e4:SetTarget(s.bantg)
e4:SetOperation(s.banop)
......@@ -63,7 +63,7 @@ function s.spreg(e,tp,eg,ep,ev,re,r,rp)
end
function s.aclimit(e,re,tp)
local rc=re:GetHandler()
return not rc:IsSetCard(0x5f52) -- 世界意志字段
return not rc:IsSetCard(0x5f52)
end
function s.cfilter(c,tp)
return c:IsSetCard(0x5f52) and c:IsAbleToRemoveAsCost()
......@@ -71,21 +71,18 @@ end
function s.rmcost(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then
-- 必须包含这张卡
if not c:IsAbleToRemoveAsCost() then return false end
local loc=LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE
local g=Duel.GetMatchingGroup(s.cfilter,tp,loc,0,nil)
local loc=LOCATION_HAND+LOCATION_DECK+LOCATION_ONFIELD+LOCATION_GRAVE
local g=Duel.GetMatchingGroup(s.cfilter,tp,loc,0,nil,tp,e)
return g:GetCount()>0 and g:IsContains(c)
end
local loc=LOCATION_HAND+LOCATION_DECK+LOCATION_MZONE+LOCATION_GRAVE
local g=Duel.GetMatchingGroup(s.cfilter,tp,loc,0,nil)
-- 确保包含这张卡
local loc=LOCATION_HAND+LOCATION_DECK+LOCATION_ONFIELD+LOCATION_GRAVE
local g=Duel.GetMatchingGroup(s.cfilter,tp,loc,0,nil,tp,e)
if not g:IsContains(c) then return false end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:SelectSubGroup(tp,aux.dncheck,false,1,5)
-- 再次确保包含这张卡
if not sg:IsContains(c) then
-- 如果不包含,强制添加
sg:AddCard(c)
end
e:SetLabel(sg:GetCount())
......@@ -99,7 +96,6 @@ end
function s.rmop(e,tp,eg,ep,ev,re,r,rp)
local ct=e:GetLabel()
if Duel.Damage(1-tp,1000,REASON_EFFECT)>0 and ct>0 then
-- 添加"那之后,可以"的选择
if Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
local g=Duel.GetFieldGroup(tp,0,LOCATION_EXTRA)
if #g>0 then
......
--思绪 共赴蜜月
local s,id=GetID()
function s.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
e1:SetCondition(s.condition)
e1:SetTarget(s.target1)
e1:SetOperation(s.operation1)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e2:SetRange(LOCATION_HAND)
e2:SetCode(EVENT_CHAINING)
e2:SetProperty(EFFECT_FLAG_DELAY)
e2:SetCountLimit(1,id+1)
e1:SetCondition(s.condition)
e2:SetCondition(s.spcon)
e2:SetTarget(s.sptg)
e2:SetOperation(s.spop)
c:RegisterEffect(e2)
--
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e3:SetRange(LOCATION_MZONE)
e3:SetTargetRange(LOCATION_MZONE,LOCATION_MZONE)
e3:SetTarget(s.indtg)
e3:SetValue(1)
c:RegisterEffect(e3)
end
function s.condition(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetFieldGroupCount(tp,LOCATION_EXTRA,0)==0
end
function s.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
end
function s.operation1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if not c:IsRelateToEffect(e) then return end
local fid=c:GetFieldID()
c:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END,0,1,fid)
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_PUBLIC)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_PUBLIC)
e2:SetRange(LOCATION_HAND)
e2:SetTargetRange(0,LOCATION_HAND)
e2:SetLabel(fid)
e2:SetLabelObject(c)
e2:SetCondition(s.publiccon)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
local e3=Effect.CreateEffect(c)
e3:SetType(EFFECT_TYPE_FIELD)
e3:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e3:SetCode(EFFECT_CANNOT_ACTIVATE)
e3:SetTargetRange(1,0)
e3:SetValue(s.aclimit)
Duel.RegisterEffect(e3,tp)
end
function s.publiccon(e)
local c=e:GetLabelObject()
return c:GetFlagEffectLabel(id)==e:GetLabel()
end
function s.aclimit(e,re,tp)
return not re:GetHandler():IsSetCard(0x6f52)
end
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return (re:IsActiveType(TYPE_SPELL) or re:IsActiveType(TYPE_TRAP)) and s.condition(e,tp,eg,ep,ev,re,r,rp)
end
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
if c:IsPublic() then
e:SetLabel(1)
else
e:SetLabel(0)
end
end
function s.setfilter(c)
return c:IsSetCard(0x6f52) and c:IsType(TYPE_SPELL+TYPE_TRAP) and c:IsSSetable()
end
function s.spop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)>0 then
local g=Duel.GetMatchingGroup(s.setfilter,tp,LOCATION_DECK,0,nil)
if e:GetLabel()==1 and #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
Duel.BreakEffect()
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SET)
local sg=g:Select(tp,1,1,nil)
local tc=sg:GetFirst()
Duel.SSet(tp,tc)
if tc:IsType(TYPE_QUICKPLAY) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetCode(EFFECT_QP_ACT_IN_SET_TURN)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
if tc:IsType(TYPE_TRAP) then
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TRAP_ACT_IN_SET_TURN)
e1:SetProperty(EFFECT_FLAG_SET_AVAILABLE)
e1:SetReset(RESET_EVENT+RESETS_STANDARD)
tc:RegisterEffect(e1)
end
end
end
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetTargetRange(1,0)
e1:SetValue(s.aclimit)
Duel.RegisterEffect(e1,tp)
end
function s.indtg(e,c)
local tc=e:GetHandler()
return c==tc or c==tc:GetBattleTarget()
end
\ No newline at end of file
--菲利克斯·阿盖尔
local s,id,o=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17339170)
--activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_RECOVER+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
e1:SetCondition(s.condition1)
e1:SetCost(s.cost1)
e1:SetTarget(s.target1)
e1:SetOperation(s.operation1)
c:RegisterEffect(e1)
local e4=e1:Clone()
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e4:SetCondition(s.condition1b)
c:RegisterEffect(e4)
--recover (from field)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_RECOVER)
e2:SetType(EFFECT_TYPE_QUICK_O)
e2:SetCode(EVENT_FREE_CHAIN)
e2:SetRange(LOCATION_MZONE)
e2:SetCountLimit(1,id+o)
e2:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e2:SetTarget(s.target2)
e2:SetOperation(s.operation2)
c:RegisterEffect(e2)
--protect (from field)
local e3=Effect.CreateEffect(c)
e3:SetDescription(aux.Stringid(id,2))
e3:SetCategory(CATEGORY_RECOVER)
e3:SetType(EFFECT_TYPE_QUICK_O)
e3:SetCode(EVENT_FREE_CHAIN)
e3:SetRange(LOCATION_MZONE)
e3:SetCountLimit(1,id+o)
e3:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e3:SetTarget(s.target3)
e3:SetOperation(s.operation3)
c:RegisterEffect(e3)
end
function s.cost1(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return not c:IsPublic() end
Duel.ConfirmCards(1-tp,c)
Duel.ShuffleHand(tp)
end
function s.kurusufilter(c)
return c:IsFaceup() and c:IsCode(17339170)
end
function s.condition1(e,tp,eg,ep,ev,re,r,rp)
return Duel.GetTurnPlayer()==tp
end
function s.condition1b(e,tp,eg,ep,ev,re,r,rp)
return Duel.IsExistingMatchingCard(s.kurusufilter,tp,LOCATION_MZONE,0,1,nil)
end
function s.target1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local b1=Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false)
local b2=true
return b1 or b2
end
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,0)
end
function s.operation1(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_CHAIN_SOLVED)
e1:SetCondition(s.recovercon)
e1:SetOperation(s.recoverop)
e1:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e1,tp)
local turn=Duel.GetTurnCount()
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_REFLECTION_HAND)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetTargetRange(1,0)
e2:SetLabel(turn)
e2:SetCondition(s.turncon)
e2:SetValue(1)
e2:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e2,tp)
local c=e:GetHandler()
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsRelateToEffect(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
Duel.BreakEffect()
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end
end
function s.recovercon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP) and re:GetHandler()~=e:GetHandler()
end
function s.recoverop(e,tp,eg,ep,ev,re,r,rp)
Duel.Hint(HINT_CARD,0,id)
Duel.Recover(tp,1000,REASON_EFFECT)
end
function s.turncon(e)
return Duel.GetTurnCount()>e:GetLabel()
end
function s.target2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return true end
Duel.SetOperationInfo(0,CATEGORY_RECOVER,nil,0,tp,8000)
end
function s.operation2(e,tp,eg,ep,ev,re,r,rp)
Duel.Recover(tp,8000,REASON_EFFECT)
end
function s.target3(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingTarget(aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local g=Duel.SelectTarget(tp,aux.TRUE,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil)
end
function s.operation3(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if not tc or not tc:IsRelateToEffect(e) then return end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
tc:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
tc:RegisterEffect(e2)
local e3=Effect.CreateEffect(e:GetHandler())
e3:SetType(EFFECT_TYPE_SINGLE)
e3:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e3:SetRange(LOCATION_MZONE)
e3:SetCode(EFFECT_AVOID_BATTLE_DAMAGE)
e3:SetValue(1)
e3:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
tc:RegisterEffect(e3)
local e4=Effect.CreateEffect(e:GetHandler())
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e4:SetCode(EVENT_CHAIN_SOLVED)
e4:SetLabelObject(tc)
e4:SetCondition(s.brecovercon)
e4:SetOperation(s.brecoverop)
e4:SetReset(RESET_PHASE+PHASE_END+RESET_OPPO_TURN,2)
Duel.RegisterEffect(e4,tc:GetControler())
tc:RegisterEffect(e4)
tc:RegisterFlagEffect(id,RESET_EVENT+RESETS_STANDARD,EFFECT_FLAG_CLIENT_HINT,1,0,aux.Stringid(id,4))
end
function s.brecovercon(e,tp,eg,ep,ev,re,r,rp)
return re:IsActiveType(TYPE_MONSTER+TYPE_SPELL+TYPE_TRAP) and re:GetHandler()~=e:GetHandler()
end
function s.brecoverop(e,tp,eg,ep,ev,re,r,rp)
local tc=e:GetLabelObject()
if tc and tc:IsLocation(LOCATION_MZONE) then
local owner=tc:GetOwner()
Duel.Hint(HINT_CARD,0,id)
Duel.Recover(owner,1000,REASON_EFFECT)
end
end
\ No newline at end of file
--库珥修·卡尔斯腾
local s,id,o=GetID()
function s.initial_effect(c)
aux.AddCodeList(c,17339170,17337400)
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e0:SetCode(EVENT_REMOVE)
e0:SetOperation(s.rmop0)
Duel.RegisterEffect(e0,0)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,id)
e1:SetCondition(s.spcon1)
e1:SetCost(s.spcost1)
e1:SetTarget(s.sptg1)
e1:SetOperation(s.spop1)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(id,1))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetCountLimit(1,id+1)
e2:SetTarget(s.sptg2)
e2:SetOperation(s.spop2)
c:RegisterEffect(e2)
local e3=e2:Clone()
e3:SetCode(EVENT_SPSUMMON_SUCCESS)
c:RegisterEffect(e3)
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(id,2))
e4:SetCategory(CATEGORY_DESTROY)
e4:SetType(EFFECT_TYPE_QUICK_O)
e4:SetCode(EVENT_FREE_CHAIN)
e4:SetRange(LOCATION_MZONE)
e4:SetCost(s.descost)
e4:SetTarget(s.destg)
e4:SetOperation(s.desop)
c:RegisterEffect(e4)
local e5=Effect.CreateEffect(c)
e5:SetDescription(aux.Stringid(id,3))
e5:SetCategory(CATEGORY_DRAW)
e5:SetType(EFFECT_TYPE_QUICK_O)
e5:SetCode(EVENT_FREE_CHAIN)
e5:SetRange(LOCATION_MZONE)
e5:SetCountLimit(1,id+3)
e5:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e5:SetTarget(s.drtg)
e5:SetOperation(s.drop)
c:RegisterEffect(e5)
Duel.AddCustomActivityCounter(id,ACTIVITY_SPSUMMON,s.counterfilter)
end
function s.checkremove(e,tp)
return Duel.GetFlagEffect(tp,id+100)==0
end
function s.rmop0(e,tp,eg,ep,ev,re,r,rp)
for tc in aux.Next(eg) do
local p=tc:GetControler()
if p and Duel.GetFlagEffect(p,id+100)==0 then
Duel.RegisterFlagEffect(p,id+100,RESET_PHASE+PHASE_END,0,1)
end
end
end
function s.counterfilter(c)
return not c:IsSummonLocation(LOCATION_EXTRA)
end
function s.spcon1(e,tp,eg,ep,ev,re,r,rp)
return (Duel.GetFieldGroupCount(tp,LOCATION_MZONE,0)==0 or Duel.GetFieldGroupCount(1-tp,LOCATION_MZONE,0)>0)
end
function s.spcost1(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
local extra_ok = Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
local remove_ok = Duel.GetFlagEffect(tp,id+100)==0
return extra_ok and remove_ok
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_REMOVE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e2:SetTargetRange(1,0)
e2:SetValue(1)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
end
function s.splimit(e,c)
return c:IsLocation(LOCATION_EXTRA)
end
function s.thfilter(c)
return aux.IsCodeListed(c,id) and c:IsAbleToHand()
end
function s.sptg1(e,tp,eg,ep,ev,re,r,rp,chk)
local c=e:GetHandler()
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,0)
end
function s.spop1(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if c:IsRelateToEffect(e) and Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)~=0 then
local g=Duel.GetMatchingGroup(s.thfilter,tp,LOCATION_DECK,0,nil)
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,4)) then
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
local sg=g:Select(tp,1,1,nil)
Duel.SendtoHand(sg,nil,REASON_EFFECT)
Duel.ConfirmCards(1-tp,sg)
end
end
end
function s.spfilter(c,e,tp)
return aux.IsCodeListed(c,id) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
end
function s.sptg2(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then
return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND+LOCATION_GRAVE,0,1,nil,e,tp)
and Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
and Duel.GetFlagEffect(tp,id+100)==0
end
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND+LOCATION_GRAVE)
end
function s.spop2(e,tp,eg,ep,ev,re,r,rp)
local extra_ok = Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
local remove_ok = Duel.GetFlagEffect(tp,id+100)==0
if not (extra_ok and remove_ok) then
return
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_REMOVE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e2:SetTargetRange(1,0)
e2:SetValue(1)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.spfilter),tp,LOCATION_HAND+LOCATION_GRAVE,0,1,1,nil,e,tp)
local tc=g:GetFirst()
if tc then
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
end
end
function s.descost(e,tp,eg,ep,ev,re,r,rp,chk)
local extra_ok = Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
local remove_ok = Duel.GetFlagEffect(tp,id+100)==0
if chk==0 then
return Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,LOCATION_HAND,0,1,nil)
and extra_ok and remove_ok
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_REMOVE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e2:SetTargetRange(1,0)
e2:SetValue(1)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
Duel.DiscardHand(tp,Card.IsDiscardable,1,1,REASON_COST+REASON_DISCARD)
end
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if chkc then return chkc:IsControler(1-tp) and chkc:IsOnField() end
if chk==0 then return Duel.IsExistingTarget(nil,tp,0,LOCATION_ONFIELD,1,nil) end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
local tc=Duel.SelectTarget(tp,nil,tp,0,LOCATION_ONFIELD,1,1,nil)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,tc,0,0,0)
end
function s.desfilter(c,tc,tp)
local seq=aux.GetColumn(tc,tp)
local seq2=aux.GetColumn(c,tp)
return seq2==seq
end
function s.desop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget()
if not tc or not tc:IsRelateToEffect(e) then return end
if not tc:IsLocation(LOCATION_FZONE) then
local g=Duel.GetMatchingGroup(s.desfilter,tp,0,LOCATION_ONFIELD,tc,tc,tp)
g:AddCard(tc)
Duel.Destroy(g,REASON_EFFECT)
else
Duel.Destroy(tc,REASON_EFFECT)
end
end
function s.drtg(e,tp,eg,ep,ev,re,r,rp,chk)
local extra_ok = Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
local remove_ok = Duel.GetFlagEffect(tp,id+100)==0
if chk==0 then
local ct=Duel.GetFieldGroupCount(1-tp,LOCATION_ONFIELD,0)
if ct<=0 or not Duel.IsPlayerCanDraw(tp,ct) then return false end
return extra_ok and remove_ok
end
local ct=Duel.GetFieldGroupCount(1-tp,LOCATION_ONFIELD,0)
Duel.SetTargetPlayer(tp)
Duel.SetTargetParam(ct)
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,ct)
end
function s.subarufilter(c)
return c:IsFaceup() and (c:IsCode(17337400) or aux.IsCodeListed(c,17337400))
end
function s.drop(e,tp,eg,ep,ev,re,r,rp)
local extra_ok = Duel.GetCustomActivityCount(id,tp,ACTIVITY_SPSUMMON)==0
local remove_ok = Duel.GetFlagEffect(tp,id+100)==0
if not (extra_ok and remove_ok) then
return
end
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetTargetRange(1,0)
e1:SetTarget(s.splimit)
e1:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e1,tp)
local e2=Effect.CreateEffect(e:GetHandler())
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_REMOVE)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_OATH)
e2:SetTargetRange(1,0)
e2:SetValue(1)
e2:SetReset(RESET_PHASE+PHASE_END)
Duel.RegisterEffect(e2,tp)
local p,d=Duel.GetChainInfo(0,CHAININFO_TARGET_PLAYER,CHAININFO_TARGET_PARAM)
if d>0 then
if Duel.Draw(p,d,REASON_EFFECT)>0 then
local g=Duel.GetMatchingGroup(s.subarufilter,tp,LOCATION_MZONE,0,nil)
if #g>0 and Duel.SelectYesNo(tp,aux.Stringid(id,5)) then
Duel.BreakEffect()
Duel.Draw(p,1,REASON_EFFECT)
end
end
end
end
\ No newline at end of file
--星之落 银羽
function c62500000.initial_effect(c)
--limit
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(62500000,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,62500000)
e1:SetCondition(c62500000.condition)
e1:SetCost(c62500000.cost)
e1:SetOperation(c62500000.activate)
c:RegisterEffect(e1)
end
function c62500000.condition(e,tp,eg,ep,ev,re,r,rp)
return rp==1-tp
end
function c62500000.cost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsDiscardable() end
local code=Duel.GetChainInfo(ev,CHAININFO_TRIGGERING_CODE)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CODE)
local ac=Duel.AnnounceCard(tp,code)
e:SetLabel(ac)
Duel.SendtoGrave(e:GetHandler(),REASON_COST+REASON_DISCARD)
end
function c62500000.activate(e,tp,eg,ep,ev,re,r,rp)
local e1=Effect.CreateEffect(e:GetHandler())
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(0,1)
e1:SetValue(c62500000.aclimit)
e1:SetLabel(e:GetLabel())
e1:SetReset(RESET_PHASE+PHASE_END,2)
Duel.RegisterEffect(e1,tp)
end
function c62500000.aclimit(e,re,tp)
local rc=re:GetHandler()
return rc:IsOriginalCodeRule(e:GetLabel())
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