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
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
八宫一月
ygopro-scripts
Commits
a2b73a40
Commit
a2b73a40
authored
Apr 04, 2020
by
mallu11
Committed by
GitHub
Apr 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix アポクリフォート・キラー and 轟の王 ハール (#1378)
parent
387aa41c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
c27279764.lua
c27279764.lua
+7
-2
c68199168.lua
c68199168.lua
+6
-1
No files found.
c27279764.lua
View file @
a2b73a40
...
@@ -78,9 +78,14 @@ end
...
@@ -78,9 +78,14 @@ end
function
c27279764
.
adtg
(
e
,
c
)
function
c27279764
.
adtg
(
e
,
c
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c27279764
.
tgfilter
(
c
)
return
not
c
:
IsPublic
()
or
c
:
IsType
(
TYPE_MONSTER
)
end
function
c27279764
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c27279764
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
+
LOCATION_HAND
)
>
0
end
local
mc
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
0
,
LOCATION_MZONE
+
LOCATION_HAND
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
if
chk
==
0
then
return
mc
>
0
or
g
and
g
:
IsExists
(
c27279764
.
tgfilter
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
)
end
end
function
c27279764
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c27279764
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
,
TYPE_MONSTER
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
,
TYPE_MONSTER
)
...
...
c68199168.lua
View file @
a2b73a40
...
@@ -35,8 +35,13 @@ end
...
@@ -35,8 +35,13 @@ end
function
c68199168
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68199168
.
tgcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DRAW
and
eg
:
IsExists
(
c68199168
.
cfilter
,
1
,
nil
,
1
-
tp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DRAW
and
eg
:
IsExists
(
c68199168
.
cfilter
,
1
,
nil
,
1
-
tp
)
end
end
function
c68199168
.
tgfilter
(
c
)
return
not
c
:
IsPublic
()
or
c
:
IsType
(
TYPE_MONSTER
)
end
function
c68199168
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c68199168
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
+
LOCATION_HAND
)
>
0
end
local
mc
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_HAND
)
if
chk
==
0
then
return
mc
>
0
or
g
and
g
:
IsExists
(
c68199168
.
tgfilter
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
)
end
end
function
c68199168
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68199168
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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