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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
b06ec320
Commit
b06ec320
authored
Aug 10, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
39c9b99a
Pipeline
#514
failed with stages
in 12 minutes and 9 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
10 deletions
+18
-10
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c12044018.lua
expansions/script/c12044018.lua
+5
-9
expansions/script/c33500611.lua
expansions/script/c33500611.lua
+6
-0
expansions/script/c33500614.lua
expansions/script/c33500614.lua
+7
-1
No files found.
expansions/222DIY.cdb
View file @
b06ec320
No preview for this file type
expansions/script/c12044018.lua
View file @
b06ec320
...
...
@@ -114,19 +114,15 @@ function cm.ffilter(c)
return
not
c
:
IsReason
(
REASON_DRAW
)
and
c
:
IsPreviousLocation
(
LOCATION_DECK
)
end
function
cm
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Debug
.
Message
(
e
:
GetHandler
():
IsAbleToDeck
())
Debug
.
Message
(
rp
==
1
-
tp
)
Debug
.
Message
(
eg
:
IsExists
(
cm
.
ffilter
,
1
,
nil
))
return
e
:
GetHandler
():
IsAbleToDeck
()
and
rp
==
1
-
tp
and
eg
:
IsExists
(
cm
.
ffilter
,
1
,
nil
)
end
function
cm
.
spop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
then
Duel
.
Remove
(
eg
:
Filter
(
cm
.
ffilter
,
nil
),
POS_FACEUP
,
REASON_EFFECT
)
end
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
c
,
tp
,
2
,
REASON_EFFECT
)
c
:
ReverseInDeck
()
if
eg
then
if
Duel
.
Remove
(
eg
:
Filter
(
cm
.
ffilter
,
nil
),
POS_FACEUP
,
REASON_EFFECT
)
~=
0
then
Duel
.
SendtoDeck
(
c
,
tp
,
2
,
REASON_EFFECT
)
c
:
ReverseInDeck
()
end
end
end
function
cm
.
spcon
(
e
,
c
)
...
...
expansions/script/c33500611.lua
View file @
b06ec320
...
...
@@ -73,6 +73,7 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetTargetRange
(
1
,
1
)
e5
:
SetLabelObject
(
sc
)
e5
:
SetTarget
(
cm
.
sumlimit
)
e5
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e5
,
tp
)
local
e6
=
e5
:
Clone
()
...
...
@@ -81,4 +82,9 @@ function cm.rmop(e,tp,eg,ep,ev,re,r,rp)
sc
=
g
:
GetNext
()
end
end
end
function
cm
.
sumlimit
(
e
,
rc
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
local
c
=
e
:
GetHandler
()
local
sc
=
e
:
GetLabelObject
return
c
:
IsCode
(
sc
)
end
\ No newline at end of file
expansions/script/c33500614.lua
View file @
b06ec320
...
...
@@ -42,8 +42,14 @@ end
function
cm
.
sfilter2
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
end
--function cm.spcon(e,tp,eg,ep,ev,re,r,rp)
-- return ep==1-tp and eg:IsExists(Card.IsPreviousLocation,1,nil,LOCATION_HAND)
--end
function
cm
.
cfilter
(
c
,
tp
)
return
c
:
GetSummonPlayer
()
==
1
-
tp
and
c
:
IsPreviousLocation
(
LOCATION_HAND
)
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
p
==
1
-
tp
and
eg
:
IsExists
(
Card
.
IsPreviousLocation
,
1
,
nil
,
LOCATION_HAND
)
return
e
g
:
IsExists
(
cm
.
cfilter
,
1
,
nil
,
tp
)
end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
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