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
xiaoye
ygopro-222DIY-cards
Commits
7256d4ec
Commit
7256d4ec
authored
Dec 28, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c22600019.lua
parent
77a90996
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
expansions/script/c22600019.lua
expansions/script/c22600019.lua
+3
-0
No files found.
expansions/script/c22600019.lua
View file @
7256d4ec
...
...
@@ -94,6 +94,8 @@ function cm.retop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
Duel
.
ReturnToField
(
c
)
e
:
Reset
()
--Duel.Recover(1-tp,1000,REASON_EFFECT)
--e:Reset()
end
function
cm
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
...
...
@@ -111,6 +113,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
cm
.
filter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
local
p
=
g
:
GetFirst
():
GetControler
()
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
1
,
p
,
LOCATION_GRAVE
)
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