Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
0dd66618
Commit
0dd66618
authored
Oct 08, 2017
by
Momobako
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Push by Appveyor
parent
ceda8ece
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
expansions/script/c22240121.lua
expansions/script/c22240121.lua
+1
-1
expansions/script/c22241501.lua
expansions/script/c22241501.lua
+1
-1
No files found.
expansions/script/c22240121.lua
View file @
0dd66618
...
@@ -64,7 +64,7 @@ function c22240121.xyzop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -64,7 +64,7 @@ function c22240121.xyzop(e,tp,eg,ep,ev,re,r,rp,c)
end
end
end
end
function
c22240121
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22240121
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
not
bit
.
band
(
re
:
GetActivateLocation
(),
LOCATION_ONFIELD
)
~
=
0
return
rp
~=
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
bit
.
band
(
re
:
GetActivateLocation
(),
LOCATION_ONFIELD
)
=
=
0
end
end
function
c22240121
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22240121
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
1
,
REASON_COST
)
end
if
chk
==
0
then
return
Duel
.
CheckRemoveOverlayCard
(
tp
,
1
,
0
,
1
,
REASON_COST
)
end
...
...
expansions/script/c22241501.lua
View file @
0dd66618
...
@@ -42,7 +42,7 @@ function c22241501.filter1(c)
...
@@ -42,7 +42,7 @@ function c22241501.filter1(c)
return
bit
.
band
(
c
:
GetReason
(),
REASON_RELEASE
)
~=
0
and
c
:
IsAbleToHand
()
return
bit
.
band
(
c
:
GetReason
(),
REASON_RELEASE
)
~=
0
and
c
:
IsAbleToHand
()
end
end
function
c22241501
.
filter2
(
c
,
e
,
tp
)
function
c22241501
.
filter2
(
c
,
e
,
tp
)
return
bit
.
band
(
c
:
GetOriginalType
(),
0x81
)
==
0x81
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
return
bit
.
band
(
c
:
GetOriginalType
(),
0x81
)
==
0x81
and
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
not
c
:
IsType
(
TYPE_PENDULUM
)
end
end
function
c22241501
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c22241501
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
Duel
.
GetMatchingGroupCount
(
c22241501
.
filter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
>
0
or
Duel
.
GetMatchingGroupCount
(
c22241501
.
filter2
,
tp
,
LOCATION_SZONE
,
0
,
nil
,
e
,
tp
)
>
0
)
end
if
chk
==
0
then
return
(
Duel
.
GetMatchingGroupCount
(
c22241501
.
filter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
>
0
or
Duel
.
GetMatchingGroupCount
(
c22241501
.
filter2
,
tp
,
LOCATION_SZONE
,
0
,
nil
,
e
,
tp
)
>
0
)
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