Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Amiya
pre-release-database-cdb
Commits
aa1ca5fb
Commit
aa1ca5fb
authored
Oct 27, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 急袭猛禽魔法:
https://github.com/Fluorohydride/ygopro-pre-script/pull/1219
parent
97744f9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
script/c101203056.lua
script/c101203056.lua
+4
-0
script/c101203057.lua
script/c101203057.lua
+2
-2
No files found.
script/c101203056.lua
View file @
aa1ca5fb
...
...
@@ -19,6 +19,8 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
filter1
(
c
,
e
,
tp
)
return
c
:
GetRank
()
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xba
)
function
s
.
filter1
(
c
,
e
)
return
c
:
GetRank
()
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xba
)
and
c
:
IsCanBeEffectTarget
(
e
)
end
function
s
.
filter2
(
c
,
e
,
tp
,
mg
)
local
rk
=
0
...
...
@@ -33,6 +35,8 @@ end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
and
s
.
filter1
(
chkc
,
e
,
tp
)
end
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
filter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
chkc
then
return
false
end
local
rg
=
Duel
.
GetMatchingGroup
(
s
.
filter1
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
,
e
)
if
chk
==
0
then
return
rg
:
CheckSubGroup
(
s
.
fselect
,
2
,
99
,
tp
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
sg
=
rg
:
SelectSubGroup
(
tp
,
s
.
fselect
,
false
,
2
,
99
,
tp
,
e
)
...
...
script/c101203057.lua
View file @
aa1ca5fb
...
...
@@ -34,11 +34,11 @@ end
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
c
:
IsCode
(
id
)
and
c
:
IsAbleToHand
()
end
function
s
.
cfilter
(
c
)
function
s
.
cfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsControler
(
tp
)
and
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
cfilter
,
1
,
nil
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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