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
Soulgamer
ygopro-222DIY-cards
Commits
6c0f15e7
Commit
6c0f15e7
authored
Apr 26, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
iidx gooooooooooooooooooold
parent
988d38a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
17 deletions
+23
-17
expansions/script/c14801935.lua
expansions/script/c14801935.lua
+8
-9
expansions/script/c33310160.lua
expansions/script/c33310160.lua
+1
-1
expansions/script/c60150621.lua
expansions/script/c60150621.lua
+14
-7
No files found.
expansions/script/c14801935.lua
View file @
6c0f15e7
...
@@ -30,7 +30,6 @@ function c14801935.initial_effect(c)
...
@@ -30,7 +30,6 @@ function c14801935.initial_effect(c)
e4
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e4
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCountLimit
(
1
)
e4
:
SetCondition
(
c14801935
.
negcon
)
e4
:
SetCondition
(
c14801935
.
negcon
)
e4
:
SetTarget
(
c14801935
.
negtg
)
e4
:
SetOperation
(
c14801935
.
negop
)
e4
:
SetOperation
(
c14801935
.
negop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--token
--token
...
@@ -66,15 +65,15 @@ function c14801935.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,15 +65,15 @@ function c14801935.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c14801935
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801935
.
negcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
==
LOCATION_SZONE
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChainDisablable
(
ev
)
return
rp
==
1
-
tp
and
bit
.
band
(
loc
,
LOCATION_SZONE
)
~=
0
and
re
:
IsActiveType
(
TYPE_TRAP
)
and
Duel
.
IsChainDisablable
(
ev
)
end
end
function
c14801935
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c14801935
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801934
,
1
))
if
Duel
.
NegateEffect
(
ev
)
then
end
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
14801935
,
1
))
function
c14801935
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
14801935
)
Duel
.
Hint
(
HINT_CARD
,
0
,
14801935
)
end
Duel
.
NegateEffect
(
ev
)
end
end
function
c14801935
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c14801935
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c33310160.lua
View file @
6c0f15e7
...
@@ -53,7 +53,7 @@ function c33310160.eftg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -53,7 +53,7 @@ function c33310160.eftg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
==
0
then
return
false
end
if
e
:
GetLabel
()
==
0
then
return
false
end
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
og
:
IsExists
(
c33310160
.
filter
,
tp
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
og
:
IsExists
(
c33310160
.
filter
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
local
tc
=
og
:
FilterSelect
(
tp
,
c33310160
.
filter
,
1
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
):
GetFirst
()
local
tc
=
og
:
FilterSelect
(
tp
,
c33310160
.
filter
,
1
,
1
,
nil
,
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
):
GetFirst
()
Duel
.
SendtoGrave
(
tc
,
REASON_COST
)
Duel
.
SendtoGrave
(
tc
,
REASON_COST
)
...
...
expansions/script/c60150621.lua
View file @
6c0f15e7
...
@@ -114,16 +114,23 @@ function c60150621.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -114,16 +114,23 @@ function c60150621.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
c60150621
.
desfilter2
(
c
,
s
,
tp
)
function
c60150621
.
desfilter2
(
c
,
s
,
tp
)
local
seq
=
c
:
GetSequence
()
local
seq
=
c
:
GetSequence
()
return
seq
<
5
and
math.abs
(
seq
-
s
)
==
1
and
c
:
IsControler
(
tp
)
return
math.abs
(
seq
-
s
)
==
1
and
c
:
IsControler
(
tp
)
end
end
function
c60150621
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60150621
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
cg
=
c
:
GetColumnGroup
()
local
cg
=
c
:
GetColumnGroup
()
local
seq
=
c
:
GetSequence
()
local
g
=
Duel
.
GetMatchingGroup
(
c60150621
.
thfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
cg
)
local
g
=
Duel
.
GetMatchingGroup
(
c60150621
.
thfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
cg
)
local
dg
=
Group
.
CreateGroup
()
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
if
seq
<
5
then
dg
=
Duel
.
GetMatchingGroup
(
c60150621
.
desfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
seq
,
c
)
end
local
seq
=
e
:
GetHandler
():
GetSequence
()
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
and
dg
:
GetCount
()
>
0
then
local
g
=
Group
.
CreateGroup
()
Duel
.
SendtoHand
(
dg
,
nil
,
REASON_EFFECT
)
local
tc
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_MZONE
,
3
-
seq
)
end
if
tc
then
g
:
AddCard
(
tc
)
end
tc
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
3
-
seq
)
if
tc
then
g
:
AddCard
(
tc
)
end
tc
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_MZONE
,
5
-
seq
)
if
tc
then
g
:
AddCard
(
tc
)
end
tc
=
Duel
.
GetFieldCard
(
1
-
tp
,
LOCATION_SZONE
,
5
-
seq
)
if
tc
then
g
:
AddCard
(
tc
)
end
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
end
end
end
\ No newline at end of file
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