Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
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
Commits
fa83cbd6
Commit
fa83cbd6
authored
Oct 28, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
db524cc7
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
c69402394.lua
c69402394.lua
+1
-0
c80764541.lua
c80764541.lua
+1
-0
No files found.
c69402394.lua
View file @
fa83cbd6
...
@@ -26,6 +26,7 @@ function c69402394.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,6 +26,7 @@ function c69402394.activate(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
69402394
,
0
))
then
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
69402394
,
0
))
then
Duel
.
DiscardHand
(
1
-
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
Duel
.
DiscardHand
(
1
-
tp
,
aux
.
TRUE
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
,
nil
)
Duel
.
NegateEffect
(
0
)
Duel
.
NegateEffect
(
0
)
return
end
end
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
<
2
or
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
<
2
then
return
end
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_HAND
,
0
)
<
2
or
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_HAND
)
<
2
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DISCARD
)
...
...
c80764541.lua
View file @
fa83cbd6
...
@@ -38,6 +38,7 @@ function c80764541.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -38,6 +38,7 @@ function c80764541.desop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
80764541
,
1
))
then
and
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
80764541
,
1
))
then
Duel
.
PayLPCost
(
1
-
tp
,
1000
)
Duel
.
PayLPCost
(
1
-
tp
,
1000
)
Duel
.
NegateEffect
(
0
)
Duel
.
NegateEffect
(
0
)
return
end
end
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
...
...
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