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
f45e42d1
Commit
f45e42d1
authored
Dec 30, 2019
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix、
parent
dfc88a57
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
expansions/script/c26800012.lua
expansions/script/c26800012.lua
+1
-1
expansions/script/c33310101.lua
expansions/script/c33310101.lua
+9
-1
No files found.
expansions/script/c26800012.lua
View file @
f45e42d1
...
...
@@ -46,7 +46,7 @@ function c26800012.cfilter(c)
end
function
c26800012
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c26800012
.
thfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c26800012
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c26800012
.
thfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c26800012
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
local
cg
=
Duel
.
GetMatchingGroup
(
c26800012
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
cg
:
GetCount
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
expansions/script/c33310101.lua
View file @
f45e42d1
...
...
@@ -37,9 +37,16 @@ function cm.disop(e,tp)
end
end
function
cm
.
skipcon
(
e
,
tp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
rscon
.
excard2
(
rscf
.
CheckSetCard
,
LOCATION_MZONE
,
0
,
1
,
nil
,
"Cochrot"
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
and
rscon
.
excard2
(
rscf
.
CheckSetCard
,
LOCATION_MZONE
,
0
,
1
,
nil
,
"Cochrot"
)
(
e
,
tp
)
end
function
cm
.
skipop
(
e
,
tp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_CHAIN_END
)
e1
:
SetOperation
(
cm
.
skipop2
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
cm
.
skipop2
(
e
,
tp
)
local
p
=
Duel
.
GetTurnPlayer
()
Duel
.
SkipPhase
(
p
,
PHASE_MAIN1
,
RESET_PHASE
+
PHASE_END
,
1
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
@@ -49,4 +56,5 @@ function cm.skipop(e,tp)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_MAIN1
)
Duel
.
RegisterEffect
(
e2
,
p
)
e
:
Reset
()
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