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
9ea3dd38
Commit
9ea3dd38
authored
Aug 08, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
1b546d19
Pipeline
#4569
passed with stages
in 19 minutes
Changes
4
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
7 deletions
+8
-7
expansions/script/c10902012.lua
expansions/script/c10902012.lua
+4
-4
expansions/script/c10969989.lua
expansions/script/c10969989.lua
+2
-1
expansions/script/c20000004.lua
expansions/script/c20000004.lua
+1
-1
expansions/script/c20000010.lua
expansions/script/c20000010.lua
+1
-1
No files found.
expansions/script/c10902012.lua
View file @
9ea3dd38
...
@@ -44,11 +44,11 @@ function c10902012.qfilter(c)
...
@@ -44,11 +44,11 @@ function c10902012.qfilter(c)
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
end
end
function
c10902012
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c10902012
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c
m
.
qfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c
10902012
.
qfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c
m
.
qfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
and
Duel
.
IsExistingTarget
(
c
10902012
.
qfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
SelectTarget
(
tp
,
c
m
.
qfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
Duel
.
SelectTarget
(
tp
,
c
10902012
.
qfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
e
:
GetHandler
())
end
end
function
c10902012
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10902012
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -63,7 +63,7 @@ function c10902012.eqop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c10902012.eqop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetCode
(
EFFECT_EQUIP_LIMIT
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e1
:
SetValue
(
c
m
.
eqlimit
)
e1
:
SetValue
(
c
10902012
.
eqlimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
...
expansions/script/c10969989.lua
View file @
9ea3dd38
...
@@ -13,7 +13,8 @@ function c10969989.initial_effect(c)
...
@@ -13,7 +13,8 @@ function c10969989.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c10969989
.
handcon
(
e
)
function
c10969989
.
handcon
(
e
)
return
Duel
.
GetLP
(
tp
)
<
Duel
.
GetLP
(
1
-
tp
)
and
Duel
.
GetTurnPlayer
()
==
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetLP
(
tp
)
<
Duel
.
GetLP
(
1
-
tp
)
and
Duel
.
GetTurnPlayer
()
==
tp
end
end
function
c10969989
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10969989
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasCategory
(
CATEGORY_DISABLE_SUMMON
)
or
re
:
IsHasCategory
(
CATEGORY_NEGATE
)
or
re
:
IsHasCategory
(
CATEGORY_DISABLE
)
or
re
:
IsHasCategory
(
CATEGORY_DESTROY
)
or
re
:
IsHasCategory
(
CATEGORY_REMOVE
)
return
re
:
IsHasCategory
(
CATEGORY_DISABLE_SUMMON
)
or
re
:
IsHasCategory
(
CATEGORY_NEGATE
)
or
re
:
IsHasCategory
(
CATEGORY_DISABLE
)
or
re
:
IsHasCategory
(
CATEGORY_DESTROY
)
or
re
:
IsHasCategory
(
CATEGORY_REMOVE
)
...
...
expansions/script/c20000004.lua
View file @
9ea3dd38
...
@@ -31,7 +31,7 @@ function c20000004.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -31,7 +31,7 @@ function c20000004.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
and
Duel
.
IsExistingMatchingCard
(
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingTarget
(
c20000004
.
cof2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
c20000004
.
cof2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
c20000004
.
cof2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
tc
=
Duel
.
SelectTarget
(
tp
,
c20000004
.
cof2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
e
:
GetHandler
()
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
tp
,
LOCATION_ONFIELD
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
tc
,
1
,
tp
,
LOCATION_ONFIELD
)
end
end
...
...
expansions/script/c20000010.lua
View file @
9ea3dd38
...
@@ -95,7 +95,7 @@ function c20000010.op3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -95,7 +95,7 @@ function c20000010.op3(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c20000010
.
optgf1
(
c
,
seq2
)
function
c20000010
.
optgf1
(
c
,
seq2
)
local
seq1
=
aux
.
MZoneSequence
(
c
:
GetSequence
())
local
seq1
=
aux
.
MZoneSequence
(
c
:
GetSequence
())
return
c
:
IsFaceup
()
and
seq1
==
4
-
seq2
return
c
:
IsFaceup
()
and
seq1
==
4
-
seq2
and
c
:
GetFlagEffect
(
20000010
)
~=
0
end
end
function
c20000010
.
optg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c20000010
.
optg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
loc
,
seq
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_SEQUENCE
)
local
loc
,
seq
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_SEQUENCE
)
...
...
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