Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro-rush-duel
Commits
87bf802f
Commit
87bf802f
authored
Mar 02, 2021
by
AntiMetaman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicates
parent
b9d012b9
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
163 deletions
+0
-163
script/c120150052.lua
script/c120150052.lua
+0
-36
script/c120155201.lua
script/c120155201.lua
+0
-21
script/c120155202.lua
script/c120155202.lua
+0
-17
script/c120155203.lua
script/c120155203.lua
+0
-43
script/c120155205.lua
script/c120155205.lua
+0
-46
No files found.
script/c120150052.lua
deleted
100644 → 0
View file @
b9d012b9
--拡がるささやき
--Echoing Whispers
--Scripted by Yuno
function
c120150052
.
initial_effect
(
c
)
--Shuffle into deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_MSET
)
e1
:
SetCondition
(
c120150052
.
condition
)
e1
:
SetTarget
(
c120150052
.
target
)
e1
:
SetOperation
(
c120150052
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Requirement
function
c120150052
.
filter1
(
c
)
return
c
:
IsSummonPlayer
(
1
-
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_HAND
)
end
function
c120150052
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c120150052
.
filter1
,
1
,
nil
,
tp
)
end
--Effect
function
c120150052
.
filter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeck
()
end
function
c120150052
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c120150052
.
filter2
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
c120150052
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c120150052
.
filter2
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
5
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c120155201.lua
deleted
100644 → 0
View file @
b9d012b9
--幻竜重騎ウォームExカベーター
--Wurm Ex-Cavator the Heavy Mequestrian Wyrm
--Scripted by Yuno
function
c120155201
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
120155202
,
120155203
)
--Maximum Summon
RushDuel
.
AddMaximumProcedure
(
c
,
3500
,
120155202
,
120155203
)
--Cannot be destroyed by traps
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
RushDuel
.
IsMaximumMode
)
e1
:
SetValue
(
c120155201
.
efilter
)
c
:
RegisterEffect
(
e1
)
end
--Cannot be destroyed by traps
function
c120155201
.
efilter
(
e
,
re
,
rp
)
return
rp
==
1
-
e
:
GetHandlerPlayer
()
and
re
:
IsActiveType
(
TYPE_TRAP
)
end
\ No newline at end of file
script/c120155202.lua
deleted
100644 → 0
View file @
b9d012b9
--幻竜重騎ウォームExカベーター[L]
--Wurm Ex-Cavator the Heavy Mequestrian Wyrm [L]
--Scripted by Yuno
function
c150155202
.
initial_effect
(
c
)
--Gain ATK
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
RushDuel
.
IsMaximumMode
)
e1
:
SetValue
(
c150155202
.
value
)
c
:
RegisterEffect
(
e1
)
end
function
c150155202
.
value
(
e
,
c
)
return
Duel
.
GetFieldGroupCount
(
c
:
GetControler
(),
LOCATION_HAND
,
0
)
*
300
end
\ No newline at end of file
script/c120155203.lua
deleted
100644 → 0
View file @
b9d012b9
--幻竜重騎ウォームExカベーター[R]
--Wurm Ex-Cavator the Heavy Mequestrian Wyrm [R]
--Scripted by Yuno
function
c150155203
.
initial_effect
(
c
)
--Gain ATK
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
150155203
,
0
))
e1
:
SetCategory
(
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
RushDuel
.
IsMaximumMode
)
e1
:
SetCost
(
c150155203
.
cost
)
e1
:
SetTarget
(
c150155203
.
target
)
e1
:
SetOperation
(
c150155203
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Requirement
function
c150155203
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToDeckAsCost
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeckAsCost
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
1
,
REASON_COST
)
end
--Effect
function
c150155203
.
filter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c150155203
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c150155203
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
1
,
tp
,
1
)
end
function
c150155203
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c150155203
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
sg
=
g
:
GetFirst
()
if
Duel
.
Destroy
(
sg
,
REASON_EFFECT
)
~=
0
and
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
~=
0
then
if
sg
:
IsType
(
TYPE_SPELL
+
TYPE_FIELD
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
150155203
,
0
))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
script/c120155205.lua
deleted
100644 → 0
View file @
b9d012b9
--鋼機神ミラーイノベイター
--Steeltek Deity Mirror Innovator
--Scripted by Yuno
function
c120155205
.
initial_effect
(
c
)
--Gain ATK and shuffle into deck
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_ATKCHANGE
+
CATEGORY_TODECK
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetTarget
(
c120155205
.
target
)
e1
:
SetOperation
(
c120155205
.
operation
)
c
:
RegisterEffect
(
e1
)
end
--Effect
function
c120155205
.
filter
(
c
,
race
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsRace
(
race
)
and
c
:
IsAbleToDeck
()
end
function
c120155205
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
race
=
e
:
GetHandler
():
GetRace
()
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c120155205
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
race
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
c120155205
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
race
=
e
:
GetHandler
():
GetRace
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c120155205
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
3
,
nil
,
race
)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
level
=
g
:
GetSum
(
Card
.
GetLevel
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
level
*
100
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
Duel
.
BreakEffect
()
local
prcon
=
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
if
prcon
==
1
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_PIERCE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e1
)
end
end
end
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment