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
Ai
ygopro-222DIY-cards
Commits
3f3818aa
Commit
3f3818aa
authored
Jan 16, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix k2
parent
63f99584
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
expansions/script/c47530035.lua
expansions/script/c47530035.lua
+1
-0
expansions/script/c66915003.lua
expansions/script/c66915003.lua
+5
-4
expansions/script/c66915004.lua
expansions/script/c66915004.lua
+2
-2
No files found.
expansions/script/c47530035.lua
View file @
3f3818aa
...
...
@@ -66,6 +66,7 @@ function c47530035.tetg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOEXTRA
,
nil
,
1
,
tp
,
LOCATION_PZONE
)
end
function
c47530035
.
teop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
47530035
,
3
))
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c47530035
.
tefilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/c66915003.lua
View file @
3f3818aa
...
...
@@ -11,7 +11,7 @@ function c66915003.initial_effect(c)
e22
:
SetType
(
EFFECT_TYPE_FIELD
)
e22
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e22
:
SetRange
(
LOCATION_SZONE
)
e22
:
SetTargetRange
(
LOCATION_MZONE
,
LOCATION_MZONE
)
e22
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e22
:
SetTarget
(
c66915003
.
tgtg
)
e22
:
SetValue
(
1000
)
c
:
RegisterEffect
(
e22
)
...
...
@@ -31,6 +31,7 @@ function c66915003.initial_effect(c)
e55
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e55
:
SetTarget
(
c66915003
.
eftg
)
e55
:
SetLabelObject
(
e222
)
c
:
RegisterEffect
(
e55
)
--chain attack
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
...
...
@@ -63,7 +64,7 @@ function c66915003.eftg(e,c)
local
seq
=
c
:
GetSequence
()
return
c
:
IsSetCard
(
0x1374
)
and
seq
<
5
and
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
0
or
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==-
1
e
:
GetHandler
():
GetSequence
()
-
seq
==
1
end
function
c66915003
.
sumlimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
)
return
c
:
IsLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsSetCard
(
0x1374
)
...
...
@@ -86,6 +87,6 @@ end
function
c66915003
.
tgtg
(
e
,
c
)
local
seq
=
c
:
GetSequence
()
return
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsSetCard
(
0x1374
)
and
seq
<
5
and
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
0
or
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==-
1
and
seq
<
5
and
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
0
or
e
:
GetHandler
():
GetSequence
()
-
seq
==
1
end
\ No newline at end of file
expansions/script/c66915004.lua
View file @
3f3818aa
...
...
@@ -79,7 +79,7 @@ function c66915004.eftg(e,c)
local
seq
=
c
:
GetSequence
()
return
c
:
IsSetCard
(
0x1374
)
and
seq
<
5
and
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
0
or
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
1
e
:
GetHandler
():
GetSequence
()
-
seq
==-
1
end
function
c66915004
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
66915001
)
...
...
@@ -88,7 +88,7 @@ function c66915004.tgtg(e,c)
local
seq
=
c
:
GetSequence
()
return
c
:
IsType
(
TYPE_EFFECT
)
and
c
:
IsSetCard
(
0x1374
)
and
seq
<
5
and
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
0
or
math.abs
(
e
:
GetHandler
():
GetSequence
()
-
seq
)
==
1
e
:
GetHandler
():
GetSequence
()
-
seq
==-
1
end
function
c66915004
.
tglimit
(
e
,
c
)
return
c
~=
e
:
GetHandler
()
...
...
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