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
Soulgamer
ygopro-222DIY-cards
Commits
80c6cc37
Commit
80c6cc37
authored
Mar 31, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
3a8f1c66
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
expansions/script/c12064001.lua
expansions/script/c12064001.lua
+2
-2
expansions/script/c12064005.lua
expansions/script/c12064005.lua
+1
-1
expansions/script/c33200658.lua
expansions/script/c33200658.lua
+1
-2
expansions/script/c64831008.lua
expansions/script/c64831008.lua
+3
-3
No files found.
expansions/script/c12064001.lua
View file @
80c6cc37
...
...
@@ -28,8 +28,8 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
e1
:
SetCategory
(
CATEGORY_DRAW
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
F
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_
O
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
m
+
100
)
e1
:
SetTarget
(
cm
.
target
)
...
...
expansions/script/c12064005.lua
View file @
80c6cc37
...
...
@@ -54,7 +54,7 @@ function cm.counterfilter(c)
return
c
:
IsSetCard
(
0x6fa8
)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
120
50000
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsCode
(
120
64001
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c33200658.lua
View file @
80c6cc37
...
...
@@ -9,8 +9,7 @@ function c33200658.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_CONTROL
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
33200658
)
e1
:
SetCondition
(
c33200658
.
ccon
)
e1
:
SetTarget
(
c33200658
.
ctg
)
...
...
expansions/script/c64831008.lua
View file @
80c6cc37
...
...
@@ -72,7 +72,7 @@ function c64831008.filter(tc,c,tp)
local
res
=
Duel
.
IsExistingMatchingCard
(
c64831008
.
synfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
mg
)
c
:
ResetFlagEffect
(
64831008
)
e1
:
Reset
()
return
res
and
Duel
.
Get
LocationCountFromEx
(
tp
,
tp
,
tc
)
>
0
return
res
and
Duel
.
Get
MZoneCount
(
tp
,
mg
)
>
0
end
function
c64831008
.
synfilter
(
c
,
mg
)
return
c
:
IsSynchroSummonable
(
nil
,
mg
)
...
...
@@ -85,14 +85,14 @@ function c64831008.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
if
c64831008
.
filter
(
mc
,
e
:
GetHandler
(),
tp
)
then
check
=
1
end
mc
=
mg
:
GetNext
()
end
if
chk
==
0
then
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
e
:
GetHandler
())
>
0
and
check
==
1
end
if
chk
==
0
then
return
check
==
1
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c64831008
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c64831008
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
:
GetHandler
(),
tp
):
GetFirst
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
then
c
:
RegisterFlagEffect
(
64831008
,
0
,
0
,
1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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