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
61590f09
Commit
61590f09
authored
Jun 11, 2024
by
wind2009
Committed by
GitHub
Jun 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ЯRUM-レイド・ラプターズ・フォース (#2569)
parent
26351e86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
c38044854.lua
c38044854.lua
+3
-2
No files found.
c38044854.lua
View file @
61590f09
...
@@ -17,7 +17,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -17,7 +17,7 @@ function s.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
or
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
or
Duel
.
GetTurnPlayer
()
~=
tp
and
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
end
end
function
s
.
filter1
(
c
,
e
)
function
s
.
filter1
(
c
,
e
)
return
c
:
GetRank
()
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xba
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
GetRank
()
>
0
and
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xba
)
and
c
:
IsCanBeEffectTarget
(
e
)
and
not
c
:
IsForbidden
()
end
end
function
s
.
filter2
(
c
,
e
,
tp
,
mg
)
function
s
.
filter2
(
c
,
e
,
tp
,
mg
)
local
rk
=
mg
:
GetSum
(
Card
.
GetRank
)
local
rk
=
mg
:
GetSum
(
Card
.
GetRank
)
...
@@ -45,7 +45,8 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -45,7 +45,8 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
sg
:
GetFirst
()
local
sc
=
sg
:
GetFirst
()
if
sc
and
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
if
sc
and
Duel
.
SpecialSummon
(
sc
,
SUMMON_TYPE_XYZ
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
~=
0
then
sc
:
CompleteProcedure
()
sc
:
CompleteProcedure
()
for
tc
in
aux
.
Next
(
tg
)
do
local
og
=
tg
:
Filter
(
Card
.
IsCanOverlay
,
nil
)
for
tc
in
aux
.
Next
(
og
)
do
local
mg
=
tc
:
GetOverlayGroup
()
local
mg
=
tc
:
GetOverlayGroup
()
if
mg
:
GetCount
()
~=
0
then
if
mg
:
GetCount
()
~=
0
then
Duel
.
Overlay
(
sc
,
mg
)
Duel
.
Overlay
(
sc
,
mg
)
...
...
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