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
4
Merge Requests
4
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
536a5b22
Commit
536a5b22
authored
Dec 10, 2023
by
想象力很好的毛虫
Committed by
GitHub
Dec 10, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ホルスの先導-ハーピ (#2276)
* Fix ホルスの先導-ハーピ * Better logic
parent
695a21be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
c47330808.lua
c47330808.lua
+7
-7
No files found.
c47330808.lua
View file @
536a5b22
...
...
@@ -56,12 +56,12 @@ function c47330808.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
2
,
0
,
0
)
end
function
c47330808
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
tg
:
GetCount
()
==
2
and
tg
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
==
2
and
(
not
tg
:
FilterCount
(
Card
.
IsAbleToDeck
,
nil
)
==
2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
47330808
,
2
),
aux
.
Stringid
(
47330808
,
3
))
==
0
)
then
local
tg
=
Duel
.
GetTargetsRelateToChain
()
if
tg
:
GetCount
()
==
2
then
if
tg
:
FilterCount
(
Card
.
IsAbleToHand
,
nil
)
==
2
and
(
tg
:
FilterCount
(
Card
.
IsAbleToDeck
,
nil
)
<
2
or
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
47330808
,
2
),
aux
.
Stringid
(
47330808
,
3
))
==
0
)
then
Duel
.
SendtoHand
(
tg
,
nil
,
REASON_EFFECT
)
else
elseif
tg
:
FilterCount
(
Card
.
IsAbleToDeck
,
nil
)
==
2
then
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
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