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
1ecc9b13
You need to sign in or sign up before continuing.
Commit
1ecc9b13
authored
Feb 26, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
72d727d3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c1110005.lua
expansions/script/c1110005.lua
+1
-0
expansions/script/c1110121.lua
expansions/script/c1110121.lua
+1
-1
expansions/script/c1110122.lua
expansions/script/c1110122.lua
+3
-3
expansions/script/c12029031.lua
expansions/script/c12029031.lua
+3
-1
No files found.
expansions/222DIY.cdb
View file @
1ecc9b13
No preview for this file type
expansions/script/c1110005.lua
View file @
1ecc9b13
...
...
@@ -95,6 +95,7 @@ function c1110005.tfilter2_1(c,e,tp,tc)
end
function
c1110005
.
tfilter2_2
(
c
,
e
,
tp
,
lv
,
lg
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsLevel
(
lv
)
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
lg
,
c
)
>
0
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_SYNCHRO
,
tp
,
false
,
false
)
end
...
...
expansions/script/c1110121.lua
View file @
1ecc9b13
...
...
@@ -35,7 +35,7 @@ function c1110121.ovfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
1110001
)
end
function
c1110121
.
ofilter
(
c
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsType
(
TYPE_FIELD
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsFaceup
()
end
function
c1110121
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1110121
.
ofilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
expansions/script/c1110122.lua
View file @
1ecc9b13
...
...
@@ -35,7 +35,7 @@ function c1110122.ovfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
1110002
)
end
function
c1110122
.
ofilter
(
c
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsType
(
TYPE_FIELD
)
return
muxu
.
check_set_Urban
(
c
)
and
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsFaceup
()
end
function
c1110122
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c1110122
.
ofilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
@@ -84,7 +84,7 @@ function c1110122.op2(e,tp,eg,ep,ev,re,r,rp)
e2_1
:
SetCountLimit
(
1
)
e2_1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_END
)
e2_1
:
SetRange
(
LOCATION_GRAVE
)
--
e2_1:SetCondition(c1110122.con2_1)
--
e2_1:SetCondition(c1110122.con2_1)
e2_1
:
SetOperation
(
c1110122
.
op2_1
)
c
:
RegisterEffect
(
e2_1
)
end
...
...
@@ -94,7 +94,7 @@ function c1110122.cfilter2_1(c)
end
--
--function c1110122.con2_1(e,tp,eg,ep,ev,re,r,rp)
--
return Duel.IsExistingMatchingCard(c1110122.cfilter2_1,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
--
return Duel.IsExistingMatchingCard(c1110122.cfilter2_1,tp,LOCATION_GRAVE+LOCATION_REMOVED,0,1,nil)
--end
--
function
c1110122
.
op2_1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c12029031.lua
View file @
1ecc9b13
...
...
@@ -43,12 +43,14 @@ function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
leaveop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
e
:
GetHandler
():
IsFacedown
()
then
return
end
if
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
then
local
effp
=
e
:
GetHandler
():
GetControler
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SKIP_BP
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
+
RESET_SELF_TURN
,
1
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
\ No newline at end of file
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