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
866075d0
Commit
866075d0
authored
Feb 02, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
b6298a93
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
expansions/script/c112316.lua
expansions/script/c112316.lua
+5
-5
expansions/script/c21520238.lua
expansions/script/c21520238.lua
+0
-1
expansions/script/c29065502.lua
expansions/script/c29065502.lua
+1
-1
No files found.
expansions/script/c112316.lua
View file @
866075d0
...
@@ -17,7 +17,7 @@ function c112316.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c112316.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCost
(
c112316
.
cost
)
e2
:
SetCost
(
c112316
.
cost
)
e2
:
SetTarget
(
c112316
.
target
)
e2
:
SetTarget
(
c112316
.
target
)
e
:
SetOperation
(
c112316
.
operation
)
e
2
:
SetOperation
(
c112316
.
operation
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c112316
.
thfilter
(
c
)
function
c112316
.
thfilter
(
c
)
...
@@ -26,9 +26,9 @@ end
...
@@ -26,9 +26,9 @@ end
function
c112316
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c112316
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
local
g
=
Duel
.
GetMatchingGroup
(
c112316
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c112316
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
112316
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
112316
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
end
end
...
@@ -46,7 +46,7 @@ function c112316.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c112316.operation(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c112316
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c112316
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
expansions/script/c21520238.lua
View file @
866075d0
...
@@ -126,5 +126,4 @@ function c21520238.igop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -126,5 +126,4 @@ function c21520238.igop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
tp
,
2000
,
REASON_RULE
)
Duel
.
Damage
(
tp
,
2000
,
REASON_RULE
)
end
end
end
end
end
end
end
expansions/script/c29065502.lua
View file @
866075d0
...
@@ -70,7 +70,7 @@ function c29065502.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,7 +70,7 @@ function c29065502.spop(e,tp,eg,ep,ev,re,r,rp)
local
cs
=
0
local
cs
=
0
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
Duel
.
IsExistingMatchingCard
(
c29065502
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x87ae
,
6
,
REASON_EFFECT
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29065592
)
then
return
end
if
not
Duel
.
IsExistingMatchingCard
(
c29065502
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
or
Duel
.
IsCanRemoveCounter
(
tp
,
1
,
0
,
0x87ae
,
6
,
REASON_EFFECT
)
or
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29065592
)
then
return
end
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29065592
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
29065592
,
0
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
29065592
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
29065592
,
0
)
)
then
cs
=
1
cs
=
1
end
end
if
cs
==
0
then
if
cs
==
0
then
...
...
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