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
44b0ee15
Commit
44b0ee15
authored
Feb 28, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
daniaozhuanzhuanzhuan
parent
034ad5dd
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
102 additions
and
94 deletions
+102
-94
expansions/script/c1111002.lua
expansions/script/c1111002.lua
+0
-1
expansions/script/c33405009.lua
expansions/script/c33405009.lua
+3
-2
expansions/script/c64800020.lua
expansions/script/c64800020.lua
+7
-3
expansions/script/c65010086.lua
expansions/script/c65010086.lua
+3
-2
expansions/script/c65010088.lua
expansions/script/c65010088.lua
+2
-1
expansions/script/c65010090.lua
expansions/script/c65010090.lua
+4
-3
expansions/script/c65010092.lua
expansions/script/c65010092.lua
+2
-1
expansions/script/c65010094.lua
expansions/script/c65010094.lua
+2
-1
expansions/script/c65010129.lua
expansions/script/c65010129.lua
+2
-1
expansions/script/c66915005.lua
expansions/script/c66915005.lua
+77
-79
No files found.
expansions/script/c1111002.lua
View file @
44b0ee15
...
@@ -50,7 +50,6 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,6 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
<
1
then
return
end
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
<
1
then
return
end
if
Duel
.
GetLocationCountFromEx
(
tp
)
<
1
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c1111002
.
tfilter1_2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c1111002
.
tfilter1_2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
,
tc
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
...
...
expansions/script/c33405009.lua
View file @
44b0ee15
...
@@ -37,7 +37,8 @@ function cm.refil(c)
...
@@ -37,7 +37,8 @@ function cm.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
cm
.
sumcon
(
e
,
c
)
function
cm
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
cm
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
cm
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
cm
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
cm
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
expansions/script/c64800020.lua
View file @
44b0ee15
...
@@ -72,7 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -72,7 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetBattleTarget
()
local
tc
=
c
:
GetBattleTarget
()
if
c
:
IsRelateToBattle
()
and
tc
:
IsRelateToBattle
()
then
if
c
:
IsRelateToBattle
()
and
tc
:
IsRelateToBattle
()
then
local
g
=
Group
.
FromCards
(
c
,
tc
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
end
end
expansions/script/c65010086.lua
View file @
44b0ee15
...
@@ -42,7 +42,8 @@ function c65010086.refil(c)
...
@@ -42,7 +42,8 @@ function c65010086.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
c65010086
.
sumcon
(
e
,
c
)
function
c65010086
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c65010086
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c65010086
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c65010086
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c65010086
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
expansions/script/c65010088.lua
View file @
44b0ee15
...
@@ -34,7 +34,8 @@ function c65010088.refil(c)
...
@@ -34,7 +34,8 @@ function c65010088.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
c65010088
.
sumcon
(
e
,
c
)
function
c65010088
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c65010088
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c65010088
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c65010088
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c65010088
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
expansions/script/c65010090.lua
View file @
44b0ee15
...
@@ -66,11 +66,12 @@ function c65010090.refil(c)
...
@@ -66,11 +66,12 @@ function c65010090.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
c65010090
.
sumcon
(
e
,
c
)
function
c65010090
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c65010090
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c65010090
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c65010090
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c65010090
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65010090
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65010090
.
refil
2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
end
function
c65010090
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c65010090
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c65010092.lua
View file @
44b0ee15
...
@@ -64,7 +64,8 @@ function c65010092.refil(c)
...
@@ -64,7 +64,8 @@ function c65010092.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
c65010092
.
sumcon
(
e
,
c
)
function
c65010092
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c65010092
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c65010092
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c65010092
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c65010092
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
expansions/script/c65010094.lua
View file @
44b0ee15
...
@@ -38,7 +38,8 @@ function c65010094.refil(c)
...
@@ -38,7 +38,8 @@ function c65010094.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
c65010094
.
sumcon
(
e
,
c
)
function
c65010094
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c65010094
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c65010094
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c65010094
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c65010094
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
expansions/script/c65010129.lua
View file @
44b0ee15
...
@@ -26,7 +26,8 @@ function c65010129.refil(c)
...
@@ -26,7 +26,8 @@ function c65010129.refil(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsSetCard
(
0x9da0
)
end
end
function
c65010129
.
sumcon
(
e
,
c
)
function
c65010129
.
sumcon
(
e
,
c
)
local
tp
=
e
:
GetHandler
():
GetControler
()
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c65010129
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c65010129
.
refil
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
end
function
c65010129
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c65010129
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
...
...
expansions/script/c66915005.lua
View file @
44b0ee15
...
@@ -76,9 +76,7 @@ function c66915005.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,9 +76,7 @@ function c66915005.condition(e,tp,eg,ep,ev,re,r,rp)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
ev
)
and
(
re
:
IsActiveType
(
TYPE_MONSTER
)
or
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
ev
)
end
end
function
c66915005
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66915005
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
if
chk
==
0
then
return
true
end
Duel
.
GetFlagEffect
(
tp
,
60018643
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
60018643
,
RESET_CHAIN
,
0
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
eg
,
1
,
0
,
0
)
...
...
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