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
9c01f8fe
Commit
9c01f8fe
authored
Nov 21, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c50224305.lua
parent
5299aa6b
Pipeline
#31278
passed with stages
in 44 minutes and 4 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c50224305.lua
expansions/script/c50224305.lua
+4
-4
No files found.
expansions/script/c50224305.lua
View file @
9c01f8fe
...
...
@@ -51,7 +51,7 @@ function c50224305.initial_effect(c)
e4
:
SetCondition
(
c50224305
.
imcon
)
e4
:
SetValue
(
c50224305
.
efilter
)
c
:
RegisterEffect
(
e4
)
--
to grave
--
xmaterial
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -115,7 +115,7 @@ function c50224305.pendop(e,tp,eg,ep,ev,re,r,rp,c,sg,og)
if
ft2
>
0
then
ft2
=
1
end
ft
=
1
end
local
ect
=
(
c
29724053
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29724053
)
and
c29724053
[
tp
])
or
ft
local
ect
=
(
c
50224305
and
Duel
.
IsPlayerAffectedByEffect
(
tp
,
50224305
)
and
c50224305
[
tp
])
or
ft
--受到效果影响导致能特召的最大数量
if
ect
~=
nil
then
ft
=
math.min
(
ft
,
ect
)
end
local
loc
=
0
...
...
@@ -202,12 +202,12 @@ function c50224305.xmcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c50224305
.
xmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCanOverlay
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
nil
)
end
end
function
c50224305
.
xmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCanOverlay
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
)
if
g
:
GetCount
()
>=
0
then
Duel
.
Overlay
(
e
:
GetHandler
(),
g
)
end
...
...
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