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
Soulgamer
ygopro-222DIY-cards
Commits
dad41925
Commit
dad41925
authored
Oct 16, 2023
by
songtongtong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
5c223ea4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
expansions/script/c16172004.lua
expansions/script/c16172004.lua
+1
-1
expansions/script/c16199990.lua
expansions/script/c16199990.lua
+0
-1
No files found.
expansions/script/c16172004.lua
View file @
dad41925
...
@@ -74,7 +74,7 @@ function cm.con1(e,tp)
...
@@ -74,7 +74,7 @@ function cm.con1(e,tp)
Duel
.
DisableActionCheck
(
true
)
Duel
.
DisableActionCheck
(
true
)
local
dc
=
Duel
.
CreateToken
(
tp
,
m
+
1
)
local
dc
=
Duel
.
CreateToken
(
tp
,
m
+
1
)
Duel
.
DisableActionCheck
(
false
)
Duel
.
DisableActionCheck
(
false
)
return
dc
:
GetActivateEffect
():
IsActivatable
(
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
rlfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
c
,
tp
)
return
Duel
.
GetTurnPlayer
()
==
tp
and
dc
:
GetActivateEffect
():
IsActivatable
(
tp
,
false
,
false
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
rlfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_HAND
,
0
,
1
,
c
,
tp
)
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
end
end
function
cm
.
opdo
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
opdo
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c16199990.lua
View file @
dad41925
...
@@ -286,7 +286,6 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -286,7 +286,6 @@ function rk.backop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsFacedown
()
then
if
c
:
IsFacedown
()
then
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
Duel
.
ConfirmCards
(
1
-
tp
,
Group
.
FromCards
(
c
))
end
end
c
:
ReplaceEffect
(
tcode
,
0
,
0
)
Duel
.
Hint
(
HINT_CARD
,
0
,
tcode
)
Duel
.
Hint
(
HINT_CARD
,
0
,
tcode
)
if
c
:
IsLocation
(
LOCATION_HAND
)
then
if
c
:
IsLocation
(
LOCATION_HAND
)
then
local
sp
=
c
:
GetControler
()
local
sp
=
c
:
GetControler
()
...
...
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