Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
xiaoye
ygopro-222DIY-cards
Commits
44b70027
Commit
44b70027
authored
Feb 21, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post
parent
c9d133c3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
374 additions
and
374 deletions
+374
-374
expansions/script/c14000031.lua
expansions/script/c14000031.lua
+1
-1
expansions/script/c60151731.lua
expansions/script/c60151731.lua
+110
-110
expansions/script/c60151732.lua
expansions/script/c60151732.lua
+127
-127
expansions/script/c60151733.lua
expansions/script/c60151733.lua
+136
-136
No files found.
expansions/script/c14000031.lua
View file @
44b70027
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
...
@@ -25,7 +25,7 @@ function cm.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
m
,
ACTIVITY_CHAIN
,
aux
.
FALSE
)
Duel
.
AddCustomActivityCounter
(
m
,
ACTIVITY_CHAIN
,
aux
.
FALSE
)
end
end
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
actcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsAbleToEnterBP
()
and
Duel
.
GetTurnPlayer
()
==
tp
and
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetDrawCount
(
tp
)
>
0
return
Duel
.
GetTurnPlayer
()
==
tp
and
not
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetDrawCount
(
tp
)
>
0
end
end
function
cm
.
counterfilter
(
c
)
function
cm
.
counterfilter
(
c
)
return
c
:
GetSummonLocation
()
~=
LOCATION_EXTRA
return
c
:
GetSummonLocation
()
~=
LOCATION_EXTRA
...
...
expansions/script/c60151731.lua
View file @
44b70027
...
@@ -89,10 +89,10 @@ end
...
@@ -89,10 +89,10 @@ end
function
c60151731
.
filter2
(
c
,
ft
)
function
c60151731
.
filter2
(
c
,
ft
)
if
ft
==
0
then
if
ft
==
0
then
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
(
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
else
else
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
(
))
or
c
:
IsLocation
(
LOCATION_HAND
))
and
((
c
:
IsLocation
(
LOCATION_MZONE
))
or
c
:
IsLocation
(
LOCATION_HAND
))
end
end
end
end
function
c60151731
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c60151731
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c60151732.lua
View file @
44b70027
...
@@ -106,10 +106,10 @@ end
...
@@ -106,10 +106,10 @@ end
function
c60151732
.
filter2
(
c
,
ft
)
function
c60151732
.
filter2
(
c
,
ft
)
if
ft
==
0
then
if
ft
==
0
then
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
(
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
else
else
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
(
))
or
c
:
IsLocation
(
LOCATION_HAND
))
and
((
c
:
IsLocation
(
LOCATION_MZONE
))
or
c
:
IsLocation
(
LOCATION_HAND
))
end
end
end
end
function
c60151732
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c60151732
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
expansions/script/c60151733.lua
View file @
44b70027
...
@@ -129,10 +129,10 @@ end
...
@@ -129,10 +129,10 @@ end
function
c60151733
.
filter2
(
c
,
ft
)
function
c60151733
.
filter2
(
c
,
ft
)
if
ft
==
0
then
if
ft
==
0
then
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
(
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
else
else
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDestructable
()
and
((
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFaceup
(
))
or
c
:
IsLocation
(
LOCATION_HAND
))
and
((
c
:
IsLocation
(
LOCATION_MZONE
))
or
c
:
IsLocation
(
LOCATION_HAND
))
end
end
end
end
function
c60151733
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c60151733
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
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