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
Ai
ygopro-222DIY-cards
Commits
3c6479af
Commit
3c6479af
authored
Aug 02, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0afc0f1a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c10901003.lua
expansions/script/c10901003.lua
+2
-2
expansions/script/c33400000.lua
expansions/script/c33400000.lua
+4
-4
No files found.
expansions/script/c10901003.lua
View file @
3c6479af
...
...
@@ -43,7 +43,7 @@ function cm.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCondition
(
cm
.
searcon
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetTarget
(
cm
.
target
)
e2
:
SetTarget
(
cm
.
target
1
)
e2
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e2
)
local
e5
=
e2
:
Clone
()
...
...
@@ -98,7 +98,7 @@ end
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x234
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
target
1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
...
...
expansions/script/c33400000.lua
View file @
3c6479af
...
...
@@ -42,7 +42,7 @@ end
if
not
XY
.
zs
then
XY
.
zs
=
true
local
ge1
=
Effect
.
GlobalEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
ge1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
ge1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
ge1
:
SetCondition
(
XY
.
zscon1
)
ge1
:
SetOperation
(
XY
.
zsop1
)
...
...
@@ -56,10 +56,10 @@ function XY.zsckfilter1(c,rp,re)
return
c
:
GetSummonPlayer
()
==
rp
and
not
c
:
IsCode
(
33403500
)
and
(
re
and
not
re
:
GetHandler
():
IsSetCard
(
0x5349
))
end
function
XY
.
zscon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
XY
.
zsfilter1
,
1
,
nil
,
rp
)
return
eg
:
IsExists
(
XY
.
zsfilter1
,
1
,
nil
,
rp
)
end
function
XY
.
zsop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
eg
:
IsExists
(
XY
.
zsckfilter1
,
1
,
nil
,
rp
,
re
)
then
if
eg
:
IsExists
(
XY
.
zsckfilter1
,
1
,
nil
,
rp
,
re
)
then
Duel
.
RegisterFlagEffect
(
rp
,
33443500
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
...
...
@@ -96,7 +96,7 @@ local ss=Duel.GetFlagEffect(tp,33403501)
sx
=
sx
+
1
ss
=
ss
+
1
end
return
Duel
.
GetFlagEffect
(
tp
,
33413501
)
<
sx
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
20000
)
==
0
return
Duel
.
GetFlagEffect
(
tp
,
33413501
)
<
sx
and
Duel
.
GetFlagEffect
(
tp
,
c
:
GetCode
()
+
20000
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
33443500
)
==
0
end
function
XY
.
REstfilter
(
c
,
m
)
return
c
:
IsSetCard
(
0x5349
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
and
not
c
:
IsCode
(
m
)
...
...
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