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
10747df0
Commit
10747df0
authored
Mar 07, 2020
by
mallu11
Committed by
GitHub
Mar 07, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 戦華の徳-劉玄 (#1356)
parent
a593630a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
c40428851.lua
c40428851.lua
+2
-5
No files found.
c40428851.lua
View file @
10747df0
...
@@ -71,11 +71,8 @@ function c40428851.drcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,11 +71,8 @@ function c40428851.drcon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
ac
=
Duel
.
GetAttacker
()
local
ac
=
Duel
.
GetAttacker
()
local
tc
=
Duel
.
GetAttackTarget
()
local
tc
=
Duel
.
GetAttackTarget
()
if
ac
:
IsControler
(
tp
)
and
ac
:
IsSetCard
(
0x137
)
and
ac
~=
c
then
if
not
ac
:
IsControler
(
tp
)
then
ac
,
tc
=
tc
,
ac
end
return
true
return
ac
and
ac
:
IsControler
(
tp
)
and
ac
:
IsFaceup
()
and
ac
:
IsSetCard
(
0x137
)
and
ac
~=
c
elseif
tc
and
tc
:
IsControler
(
tp
)
and
tc
:
IsSetCard
(
0x137
)
and
tc
~=
c
then
return
true
else
return
false
end
end
end
function
c40428851
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c40428851
.
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
.
IsPlayerCanDraw
(
tp
,
1
)
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