Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
d797d171
Commit
d797d171
authored
May 30, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
19a52e56
Pipeline
#13300
passed with stages
in 27 minutes and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c92369041.lua
expansions/script/c92369041.lua
+4
-4
No files found.
expansions/script/c92369041.lua
View file @
d797d171
...
...
@@ -20,7 +20,7 @@ function cm.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
ckfilter1
(
c
,
tp
,
seq
)
local
seq1
=
4
-
aux
.
MZoneSequence
(
c
:
GetSequence
())
return
c
:
IsFaceup
()
and
math.abs
(
seq
-
seq1
)
<=
1
return
c
:
IsFaceup
()
and
math.abs
(
seq
-
seq1
)
<=
1
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
@@ -39,7 +39,7 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
cfilter2
(
c
,
seq2
)
local
seq1
=
aux
.
MZoneSequence
(
c
:
GetSequence
())
return
c
:
IsFaceup
()
and
c
:
IsCode
(
92369048
)
and
seq1
==
4
-
seq2
return
c
:
IsFaceup
()
and
c
:
IsCode
(
92369048
)
and
math.abs
(
seq2
-
seq1
)
==
0
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
@@ -60,8 +60,8 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
while
tc
do
local
preatk
=
tc
:
GetAttack
()
local
predef
=
tc
:
GetDefense
()
local
seq1
=
aux
.
MZoneSequence
(
tc
:
GetSequence
())
if
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
seq
)
then
local
seq1
=
4
-
aux
.
MZoneSequence
(
tc
:
GetSequence
())
if
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
seq
1
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
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