Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
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
Ai
ygopro-222DIY-cards
Commits
38169888
Commit
38169888
authored
Jan 04, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c11ff287
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c33310101.lua
expansions/script/c33310101.lua
+5
-5
expansions/script/c33310102.lua
expansions/script/c33310102.lua
+1
-1
No files found.
expansions/script/c33310101.lua
View file @
38169888
...
...
@@ -3,7 +3,7 @@ if not pcall(function() require("expansions/script/c10199990") end) then require
local
m
,
cm
=
rsof
.
DefineCard
(
33310101
)
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
0x1
},
"tg"
,
nil
,
LOCATION_SZONE
,
nil
,
nil
,
rsop
.
target2
(
cm
.
fun
,
cm
.
copyfilter
,
"tg"
,
LOCATION_DECK
),
cm
.
copyop
)
local
e2
=
rsef
.
QO
(
c
,
nil
,{
m
,
0
},{
1
,
0x1
},
"tg"
,
nil
,
LOCATION_SZONE
,
nil
,
nil
,
rsop
.
target2
(
cm
.
fun
,
cm
.
copyfilter
,
"tg"
,
LOCATION_DECK
+
LOCATION_HAND
),
cm
.
copyop
)
local
e3
=
rsef
.
QO
(
c
,
nil
,{
m
,
1
},{
1
,
0x1
},
"dis"
,
nil
,
LOCATION_SZONE
,
rscon
.
excard2
(
Card
.
IsType
,
LOCATION_MZONE
,
0
,
1
,
nil
,
TYPE_RITUAL
),
nil
,
rsop
.
target
(
aux
.
disfilter1
,
"dis"
,
0
,
LOCATION_ONFIELD
),
cm
.
disop
)
local
e4
=
rsef
.
QO
(
c
,
nil
,{
m
,
2
},{
1
,
0x1
},
nil
,
nil
,
LOCATION_SZONE
,
cm
.
skipcon
,
nil
,
nil
,
cm
.
skipop
)
end
...
...
@@ -13,7 +13,7 @@ function cm.copyfilter(c,e,tp)
end
function
cm
.
copyop
(
e
,
tp
)
rsof
.
SelectHint
(
tp
,
"tg"
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
copyfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
copyfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
not
tc
or
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
<=
0
or
not
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
return
end
local
te
=
tc
:
GetActivateEffect
()
local
op
=
te
:
GetOperation
()
...
...
@@ -25,13 +25,13 @@ function cm.disop(e,tp)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
disfilter1
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
):
GetFirst
()
if
not
tc
then
return
end
Duel
.
HintSelection
(
rsgf
.
Mix2
(
tc
))
local
e1
,
e2
=
rsef
.
SV_LIMIT
({
c
,
tc
},
"dis,dise"
,
nil
,
nil
,
rsreset
.
est
)
local
e1
,
e2
=
rsef
.
SV_LIMIT
({
c
,
tc
},
"dis,dise"
,
nil
,
nil
,
rsreset
.
est
_pend
)
Duel
.
AdjustInstantly
(
c
)
if
tc
:
IsDisabled
()
and
tc
:
IsType
(
TYPE_MONSTER
)
then
local
e3
=
rsef
.
SV_INDESTRUCTABLE
({
c
,
tc
},
"battle"
,
nil
,
nil
,
rsreset
.
est
)
local
e3
=
rsef
.
SV_INDESTRUCTABLE
({
c
,
tc
},
"battle"
,
nil
,
nil
,
rsreset
.
est
_pend
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetReset
(
rsreset
.
est
)
e4
:
SetReset
(
rsreset
.
est
_pend
)
e4
:
SetCode
(
EFFECT_MUST_ATTACK
)
tc
:
RegisterEffect
(
e4
)
end
...
...
expansions/script/c33310102.lua
View file @
38169888
...
...
@@ -3,7 +3,7 @@ if not pcall(function() require("expansions/script/c10199990") end) then require
local
m
,
cm
=
rsof
.
DefineCard
(
33310102
)
function
cm
.
initial_effect
(
c
)
local
e1
=
rsef
.
ACT
(
c
,
nil
,
nil
,
nil
,
"sp,rm"
,
nil
,
nil
,
nil
,
cm
.
tg
,
cm
.
act
)
local
e2
=
rsef
.
I
(
c
,{
m
,
0
},
nil
,
"td,th"
,
"tg"
,
LOCATION_GRAVE
,
nil
,
nil
,
rstg
.
target
({
cm
.
tdfilter
,
"td"
,
LOCATION_REMOVED
},
rsop
.
list
(
Card
.
IsAbleToHand
,
"th"
)),
cm
.
tdop
)
local
e2
=
rsef
.
I
(
c
,{
m
,
0
},
{
1
,
m
}
,
"td,th"
,
"tg"
,
LOCATION_GRAVE
,
nil
,
nil
,
rstg
.
target
({
cm
.
tdfilter
,
"td"
,
LOCATION_REMOVED
},
rsop
.
list
(
Card
.
IsAbleToHand
,
"th"
)),
cm
.
tdop
)
end
function
cm
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
c
:
CheckSetCard
(
"Cochrot"
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
matfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
c
,
c
,
e
,
tp
)
...
...
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