Skip to content

Commit 2eb2cbe

Browse files
committed
added new rush cards
1 parent 61b9ded commit 2eb2cbe

File tree

11 files changed

+537
-0
lines changed

11 files changed

+537
-0
lines changed

rush/c160025007.lua

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
--報道合戦スクーピーズ[L]
2+
--Reporter War Scoopies [L]
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Excavate and inflict damage
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_RECOVER)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetCountLimit(1)
13+
e1:SetTarget(s.target)
14+
e1:SetOperation(s.operation)
15+
c:RegisterEffect(e1)
16+
c:AddSideMaximumHandler(e1)
17+
end
18+
s.MaximumSide="Left"
19+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
20+
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)>0 end
21+
end
22+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
23+
local c=e:GetHandler()
24+
--Requirement
25+
local cardtype=nil
26+
local op=Duel.SelectOption(tp,70,71,72)
27+
if op==0 then cardtype=TYPE_MONSTER elseif op==1 then cardtype=TYPE_SPELL elseif op==2 then cardtype=TYPE_TRAP end
28+
if not cardtype then return end
29+
--Effect
30+
Duel.ConfirmDecktop(1-tp,1)
31+
local tc=Duel.GetDecktopGroup(1-tp,1):GetFirst()
32+
if tc:IsType(cardtype) then
33+
Duel.Recover(tp,400,REASON_EFFECT)
34+
if c:IsMaximumMode() and Duel.IsExistingMatchingCard(Card.IsNotMaximumModeSide,tp,0,LOCATION_ONFIELD,1,nil)
35+
and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
36+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_DESTROY)
37+
local g=Duel.SelectMatchingCard(tp,Card.IsNotMaximumModeSide,tp,0,LOCATION_ONFIELD,1,1,nil)
38+
local g2=g:AddMaximumCheck()
39+
Duel.HintSelection(g2)
40+
Duel.BreakEffect()
41+
Duel.Destroy(g,REASON_EFFECT)
42+
end
43+
end
44+
end

rush/c160025008.lua

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
--報道合戦スクーピーズ
2+
--Reporter War Scoopies
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Maximum Procedure
7+
Maximum.AddProcedure(c,nil,s.filter1,s.filter2)
8+
c:AddMaximumAtkHandler()
9+
--Excavate and inflict damage
10+
local e1=Effect.CreateEffect(c)
11+
e1:SetDescription(aux.Stringid(id,0))
12+
e1:SetCategory(CATEGORY_ATKCHANGE)
13+
e1:SetType(EFFECT_TYPE_IGNITION)
14+
e1:SetRange(LOCATION_MZONE)
15+
e1:SetCountLimit(1)
16+
e1:SetTarget(s.target)
17+
e1:SetOperation(s.operation)
18+
c:RegisterEffect(e1)
19+
end
20+
s.MaximumAttack=3000
21+
s.listed_names={160025007,160025009}
22+
function s.filter1(c)
23+
return c:IsCode(160025007)
24+
end
25+
function s.filter2(c)
26+
return c:IsCode(160025009)
27+
end
28+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
29+
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)>0 end
30+
end
31+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
32+
local c=e:GetHandler()
33+
--Effect
34+
Duel.ConfirmDecktop(1-tp,1)
35+
local tc=Duel.GetDecktopGroup(1-tp,1):GetFirst()
36+
if tc:IsMonster() then
37+
local e1=Effect.CreateEffect(c)
38+
e1:SetType(EFFECT_TYPE_SINGLE)
39+
e1:SetCode(EFFECT_UPDATE_ATTACK)
40+
e1:SetValue(800)
41+
e1:SetReset(RESETS_STANDARD_PHASE_END)
42+
c:RegisterEffect(e1)
43+
if c:IsMaximumMode() then
44+
local e2=Effect.CreateEffect(c)
45+
e2:SetType(EFFECT_TYPE_SINGLE)
46+
e2:SetCode(EFFECT_UPDATE_ATTACK)
47+
e2:SetValue(1000)
48+
e2:SetReset(RESETS_STANDARD_PHASE_END)
49+
c:RegisterEffect(e2)
50+
c:AddPiercing(RESETS_STANDARD_PHASE_END)
51+
end
52+
end
53+
end

rush/c160025009.lua

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
--報道合戦スクーピーズ[R]
2+
--Reporter War Scoopies [R]
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Excavate and inflict damage
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_RECOVER)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetCountLimit(1)
13+
e1:SetCondition(s.condition)
14+
e1:SetTarget(s.target)
15+
e1:SetOperation(s.operation)
16+
c:RegisterEffect(e1)
17+
c:AddSideMaximumHandler(e1)
18+
end
19+
s.MaximumSide="Right"
20+
function s.condition(e,tp,eg,ep,ev,re,r,rp)
21+
return Duel.GetFieldGroupCount(tp,LOCATION_DECK,0)>=10
22+
end
23+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
24+
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)>0 end
25+
end
26+
function s.cfilter(c)
27+
return c:IsCode(160007048) and c:IsAbleToDeck()
28+
end
29+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
30+
local c=e:GetHandler()
31+
--Effect
32+
Duel.ConfirmDecktop(1-tp,1)
33+
local tc=Duel.GetDecktopGroup(1-tp,1):GetFirst()
34+
if tc:IsMonster() then
35+
Duel.DiscardDeck(tp,3,REASON_EFFECT)
36+
if Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
37+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
38+
local g=Duel.SelectMatchingCard(tp,s.cfilter,tp,LOCATION_GRAVE,0,1,2,nil)
39+
Duel.HintSelection(g)
40+
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
41+
local g2=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_DECK)
42+
if #g2>1 then
43+
Duel.SortDecktop(tp,tp,#g2)
44+
end
45+
end
46+
end
47+
end

rush/c160025010.lua

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
--報道記人テレコロイド
2+
--Reporter Recorder
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Add card to hand
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetCountLimit(1)
13+
e1:SetCondition(s.condition)
14+
e1:SetTarget(s.target)
15+
e1:SetOperation(s.operation)
16+
c:RegisterEffect(e1)
17+
end
18+
s.listed_names={CARD_FUSION,160007029}
19+
function s.cfilter(c)
20+
return c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_EARTH)
21+
end
22+
function s.condition(e,tp,eg,ep,ev,re,r,rp)
23+
return e:GetHandler():IsStatus(STATUS_SUMMON_TURN) and Duel.IsExistingMatchingCard(s.cfilter,tp,LOCATION_GRAVE,0,2,nil)
24+
end
25+
function s.thfilter(c)
26+
return c:IsCode(CARD_FUSION,160007029) and c:IsAbleToHand()
27+
end
28+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
29+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_GRAVE,0,1,nil) end
30+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_GRAVE)
31+
end
32+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
33+
--Effect
34+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
35+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_GRAVE,0,1,1,nil)
36+
if #g>0 then
37+
Duel.SendtoHand(g,nil,REASON_EFFECT)
38+
Duel.ConfirmCards(1-tp,g)
39+
if Duel.IsExistingMatchingCard(Card.IsAbleToDeck,tp,0,LOCATION_GRAVE,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
40+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
41+
local g=Duel.SelectMatchingCard(tp,Card.IsAbleToDeck,tp,0,LOCATION_GRAVE,1,1,nil)
42+
if #g==0 then return end
43+
Duel.HintSelection(g)
44+
Duel.BreakEffect()
45+
Duel.SendtoDeck(g,nil,SEQ_DECKTOP,REASON_EFFECT)
46+
end
47+
end
48+
end

rush/c160025011.lua

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
--報道魔嬢キャスタリン
2+
--Reporter Lilim
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Excavate
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_DRAW)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetCountLimit(1)
13+
e1:SetTarget(s.target)
14+
e1:SetOperation(s.operation)
15+
c:RegisterEffect(e1)
16+
end
17+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
18+
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)>0 end
19+
end
20+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
21+
local c=e:GetHandler()
22+
--Requirement
23+
local cardtype=nil
24+
local op=Duel.SelectOption(tp,70,71,72)
25+
if op==0 then cardtype=TYPE_MONSTER elseif op==1 then cardtype=TYPE_SPELL elseif op==2 then cardtype=TYPE_TRAP end
26+
if not cardtype then return end
27+
--Effect
28+
Duel.ConfirmDecktop(1-tp,1)
29+
local tc=Duel.GetDecktopGroup(1-tp,1):GetFirst()
30+
if tc:IsType(cardtype) and Duel.IsPlayerCanDraw(tp,1) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
31+
Duel.BreakEffect()
32+
if Duel.Draw(tp,1,REASON_EFFECT)>0 then
33+
local e1=Effect.CreateEffect(c)
34+
e1:SetType(EFFECT_TYPE_FIELD)
35+
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
36+
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
37+
e1:SetTargetRange(1,0)
38+
e1:SetValue(s.aclimit)
39+
e1:SetReset(RESET_PHASE|PHASE_END)
40+
Duel.RegisterEffect(e1,tp)
41+
end
42+
end
43+
end
44+
function s.aclimit(e,re,tp)
45+
return re:GetHandler():IsCode(id)
46+
end

rush/c160025012.lua

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
--速撮マシンENG
2+
--High-Speed Machine ENG
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Excavate
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetCountLimit(1)
13+
e1:SetTarget(s.target)
14+
e1:SetOperation(s.operation)
15+
c:RegisterEffect(e1)
16+
end
17+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
18+
if chk==0 then return Duel.GetFieldGroupCount(tp,0,LOCATION_DECK)>0 end
19+
end
20+
function s.thfilter(c)
21+
return c:IsRace(RACE_MACHINE) and c:IsAttribute(ATTRIBUTE_EARTH) and c:IsAbleToHand()
22+
end
23+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
24+
local c=e:GetHandler()
25+
--Requirement
26+
local cardtype=nil
27+
local op=Duel.SelectOption(tp,70,71,72)
28+
if op==0 then cardtype=TYPE_MONSTER elseif op==1 then cardtype=TYPE_SPELL elseif op==2 then cardtype=TYPE_TRAP end
29+
if not cardtype then return end
30+
--Effect
31+
Duel.ConfirmDecktop(1-tp,1)
32+
local tc=Duel.GetDecktopGroup(1-tp,1):GetFirst()
33+
if tc:IsType(cardtype) and Duel.IsExistingMatchingCard(aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE,0,1,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
34+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
35+
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_GRAVE,0,1,1,nil)
36+
if #g>0 then
37+
Duel.BreakEffect()
38+
Duel.SendtoHand(g,nil,REASON_EFFECT)
39+
Duel.ConfirmCards(1-tp,g)
40+
local e1=Effect.CreateEffect(c)
41+
e1:SetType(EFFECT_TYPE_FIELD)
42+
e1:SetCode(EFFECT_CANNOT_ACTIVATE)
43+
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
44+
e1:SetTargetRange(1,0)
45+
e1:SetValue(s.aclimit)
46+
e1:SetReset(RESET_PHASE|PHASE_END)
47+
Duel.RegisterEffect(e1,tp)
48+
end
49+
end
50+
end
51+
function s.aclimit(e,re,tp)
52+
return re:GetHandler():IsCode(id)
53+
end

rush/c160025013.lua

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
--突撃マシン・ヘッドホーン
2+
--Rampaging Machine Headhorn
3+
--scripted by YoshiDuels
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Place 1 face-down card on top of the Deck
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TODECK+CATEGORY_DAMAGE)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_MZONE)
12+
e1:SetCountLimit(1)
13+
e1:SetCost(s.cost)
14+
e1:SetTarget(s.target)
15+
e1:SetOperation(s.operation)
16+
c:RegisterEffect(e1)
17+
end
18+
function s.costfilter(c)
19+
return c:IsFacedown() and c:IsAbleToGraveAsCost()
20+
end
21+
function s.cost(e,tp,eg,ep,ev,re,r,rp,chk)
22+
if chk==0 then return Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_ONFIELD,0,1,nil) end
23+
end
24+
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
25+
local dg=Duel.GetMatchingGroup(Card.IsFacedown,tp,0,LOCATION_ONFIELD,nil)
26+
if chk==0 then return #dg>0 end
27+
end
28+
function s.operation(e,tp,eg,ep,ev,re,r,rp)
29+
local c=e:GetHandler()
30+
--Requirement
31+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
32+
local rg=Duel.SelectMatchingCard(tp,s.costfilter,tp,LOCATION_ONFIELD,0,1,1,nil)
33+
if Duel.SendtoGrave(rg,REASON_COST)==0 then return end
34+
--Effect
35+
local dg=Duel.GetMatchingGroup(Card.IsFacedown,tp,0,LOCATION_ONFIELD,nil)
36+
if #dg>0 then
37+
local sg=dg:Select(tp,1,1,nil)
38+
Duel.HintSelection(sg)
39+
Duel.ConfirmCards(tp,sg:GetFirst())
40+
Duel.SendtoDeck(sg,nil,SEQ_DECKTOP,REASON_EFFECT)
41+
end
42+
end

0 commit comments

Comments
 (0)