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
b2e2467f
Commit
b2e2467f
authored
Jun 17, 2024
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 42s yuukofox effect triggertype,select target,cdb description
parent
043dc0aa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
10 deletions
+12
-10
expansions/FiNALE.cdb
expansions/FiNALE.cdb
+0
-0
expansions/script/c4210051.lua
expansions/script/c4210051.lua
+1
-2
expansions/script/c4270009.lua
expansions/script/c4270009.lua
+11
-8
No files found.
expansions/FiNALE.cdb
View file @
b2e2467f
No preview for this file type
expansions/script/c4210051.lua
View file @
b2e2467f
...
...
@@ -13,8 +13,7 @@ function cm.initial_effect(c)
.
Return
()).
c
(
"RegisterEffect"
,
iFunc
(
c
)
.
e
(
"SetDescription"
,
aux
.
Stringid
(
m
,
1
))
.
e
(
"SetCategory"
,
CATEGORY_SPECIAL_SUMMON
)
.
e
(
"SetType"
,
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
.
e
(
"SetProperty"
,
EFFECT_FLAG_DAMAGE_STEP
)
.
e
(
"SetType"
,
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
.
e
(
"SetCode"
,
EVENT_TO_GRAVE
)
.
e
(
"SetTarget"
,
cm
.
target
)
.
e
(
"SetOperation"
,
cm
.
operation
)
...
...
expansions/script/c4270009.lua
View file @
b2e2467f
...
...
@@ -21,21 +21,24 @@ function c4270009.initial_effect(c)
e2
:
SetOperation
(
c4270009
.
operation2
)
c
:
RegisterEffect
(
e2
)
end
function
c4270009
.
filter
(
c
,
tp
)
return
c
:
IsSetCard
(
0xa28
)
and
c
:
IsAbleToRemove
()
and
Duel
.
IsExistingTarget
(
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
2
,
c
)
function
c4270009
.
filter
(
c
)
return
c
:
IsAbleToRemove
()
end
function
c4270009
.
filter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xa28
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
c4270009
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c4270009
.
rmfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c4270009
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c4270009
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
2
,
2
,
g
)
g
:
Merge
(
g2
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c4270009
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
4270009
,
2
))
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
(),
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
2
,
g
)
g
:
Merge
(
g2
)
end
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
3
,
0
,
0
)
end
function
c4270009
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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