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
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
Vee4
ygopro-scripts-888
Commits
13424c9c
Commit
13424c9c
authored
Sep 17, 2022
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix カラクリ粉
parent
74834426
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
c16708652.lua
c16708652.lua
+11
-5
No files found.
c16708652.lua
View file @
13424c9c
...
...
@@ -16,16 +16,22 @@ function c16708652.condition(e,tp,eg,ep,ev,re,r,rp)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
aux
.
dscon
()
end
function
c16708652
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
()
and
c
:
IsSetCard
(
0x11
)
function
c16708652
.
filter1
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanChangePosition
()
end
function
c16708652
.
filter2
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
end
function
c16708652
.
chkfilter
(
c
,
tp
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanChangePosition
()
and
Duel
.
IsExistingTarget
(
c16708652
.
filter2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
)
end
function
c16708652
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c16708652
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
2
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c16708652
.
chkfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
16708652
,
0
))
local
g1
=
Duel
.
SelectTarget
(
tp
,
c16708652
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c16708652
.
filter
1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
16708652
,
1
))
local
g2
=
Duel
.
SelectTarget
(
tp
,
c16708652
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
g1
:
GetFirst
())
local
g2
=
Duel
.
SelectTarget
(
tp
,
c16708652
.
filter
2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
g1
:
GetFirst
())
e
:
SetLabelObject
(
g1
:
GetFirst
())
end
function
c16708652
.
activate
(
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