Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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-scripts-888
Commits
e7aa5c83
Commit
e7aa5c83
authored
Jun 10, 2022
by
Chrono-Genex
Committed by
GitHub
Jun 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1894)
parent
e59d9df9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
c95245544.lua
c95245544.lua
+5
-2
No files found.
c95245544.lua
View file @
e7aa5c83
...
@@ -65,7 +65,7 @@ function c95245544.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function c95245544.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c95245544
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c95245544
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCan
Remove
(
tp
)
and
Duel
.
IsPlayerCan
Draw
(
tp
,
1
)
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetTargetParam
(
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
...
@@ -88,6 +88,9 @@ function c95245544.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,6 +88,9 @@ function c95245544.drop(e,tp,eg,ep,ev,re,r,rp)
end
end
else
else
local
sg
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_HAND
,
0
)
local
sg
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_HAND
,
0
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
if
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_EFFECT
)
==
0
then
Duel
.
ConfirmCards
(
1
-
p
,
sg
)
Duel
.
ShuffleHand
(
p
)
end
end
end
end
end
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