Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
3eb88b5d
Commit
3eb88b5d
authored
Dec 26, 2024
by
a597449807
Committed by
GitHub
Dec 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 神光の龍 (#2784)
自身特殊召唤手续里增加可以“取消操作”的设置。
parent
1475352b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
3 deletions
+13
-3
c46186135.lua
c46186135.lua
+13
-3
No files found.
c46186135.lua
View file @
3eb88b5d
...
...
@@ -18,6 +18,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetCondition
(
s
.
spcon
)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
--remove
...
...
@@ -68,10 +69,19 @@ function s.spcon(e,c)
local
fg
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
return
fg
:
CheckSubGroup
(
s
.
fselect
,
2
,
2
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
cp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
cp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
cp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
cp
,
s
.
fselect
,
true
,
2
,
2
)
if
sg
then
sg
:
KeepAlive
()
e
:
SetLabelObject
(
sg
)
return
true
else
return
false
end
end
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
fg
=
Duel
.
GetMatchingGroup
(
s
.
fusfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
fg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
2
)
local
sg
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
sg
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
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