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
03d0fc5b
Commit
03d0fc5b
authored
Oct 05, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byd
parent
acd9443b
Pipeline
#30200
passed with stages
in 30 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
expansions/script/c50223175.lua
expansions/script/c50223175.lua
+6
-11
No files found.
expansions/script/c50223175.lua
View file @
03d0fc5b
...
...
@@ -45,20 +45,15 @@ function c50223175.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
tgc
=
Duel
.
SelectMatchingCard
(
tp
,
c50223175
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
not
tgc
then
return
end
local
race
=
tgc
:
GetRace
()
local
attr
=
tgc
:
GetAttribute
()
local
level
=
tgc
:
GetLevel
()
if
Duel
.
Release
(
tgc
,
REASON_EFFECT
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
local
race
=
tgc
:
GetOriginalRace
()
local
attr
=
tgc
:
GetOriginalAttribute
()
local
level
=
tgc
:
GetOriginalLevel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
g
=
Duel
.
SelectMatchingCard
(
tp
,
c50223175
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
race
,
attr
,
level
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
if
tc
:
IsPreviousLocation
(
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
end
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c50223175
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
race
,
attr
,
level
,
e
,
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
Duel
.
BreakEffect
()
local
splv
=
tc
:
GetLevel
()
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
(
splv
-
level
)
*
500
)
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
(
g
:
GetFirst
():
GetLevel
()
-
level
)
*
500
)
end
end
function
c50223175
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
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