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
b469a1fd
Commit
b469a1fd
authored
Feb 19, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ts
parent
3049083c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
expansions/pics/17010301.jpg
expansions/pics/17010301.jpg
+0
-0
expansions/script/17010301.jpg
expansions/script/17010301.jpg
+0
-0
expansions/script/c75646617.lua
expansions/script/c75646617.lua
+2
-3
expansions/script/c75646620.lua
expansions/script/c75646620.lua
+14
-4
No files found.
expansions/pics/17010301.jpg
View replaced file @
3049083c
View file @
b469a1fd
577 KB
|
W:
|
H:
577 KB
|
W:
|
H:
2-up
Swipe
Onion skin
expansions/script/17010301.jpg
deleted
100644 → 0
View file @
3049083c
577 KB
expansions/script/c75646617.lua
View file @
b469a1fd
...
@@ -35,11 +35,10 @@ function c75646617.spfilter(c,e,tp)
...
@@ -35,11 +35,10 @@ function c75646617.spfilter(c,e,tp)
end
end
function
c75646617
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75646617
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
local
sg
=
Duel
.
GetMatchingGroup
(
c75646617
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
nil
,
e
,
tp
)
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
>
0
and
(
tc
:
IsCode
(
75646600
)
or
Duel
.
GetFlagEffect
(
tp
,
75646600
)
>
0
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646617
,
0
))
and
sg
:
GetCount
()
>
0
then
if
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
>
0
and
(
tc
:
IsCode
(
75646600
)
or
Duel
.
GetFlagEffect
(
tp
,
75646600
)
>
0
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646617
,
0
))
and
Duel
.
IsExistingMatchingCard
(
c75646617
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c75646617
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
expansions/script/c75646620.lua
View file @
b469a1fd
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
function
c75646620
.
initial_effect
(
c
)
function
c75646620
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
75646600
)
aux
.
AddCodeList
(
c
,
75646600
)
--link summon
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_EFFECT
),
2
,
3
,
c75646620
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_EFFECT
),
2
,
99
,
c75646620
.
lcheck
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
--indes
--indes
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -23,6 +23,7 @@ function c75646620.initial_effect(c)
...
@@ -23,6 +23,7 @@ function c75646620.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCondition
(
c75646620
.
nkcon
)
e3
:
SetOperation
(
c75646620
.
regop
)
e3
:
SetOperation
(
c75646620
.
regop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--cannot select battle target
--cannot select battle target
...
@@ -31,6 +32,7 @@ function c75646620.initial_effect(c)
...
@@ -31,6 +32,7 @@ function c75646620.initial_effect(c)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e4
:
SetCode
(
EFFECT_CANNOT_SELECT_BATTLE_TARGET
)
e4
:
SetCondition
(
c75646620
.
nkcon
)
e4
:
SetValue
(
c75646620
.
atlimit
)
e4
:
SetValue
(
c75646620
.
atlimit
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--recover
--recover
...
@@ -55,13 +57,16 @@ function c75646620.initial_effect(c)
...
@@ -55,13 +57,16 @@ function c75646620.initial_effect(c)
c
:
RegisterEffect
(
e8
)
c
:
RegisterEffect
(
e8
)
local
e9
=
e5
:
Clone
()
local
e9
=
e5
:
Clone
()
e9
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e9
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e9
:
SetCondition
(
c75646620
.
con
)
e9
:
SetCondition
(
c75646620
.
re
con
)
c
:
RegisterEffect
(
e9
)
c
:
RegisterEffect
(
e9
)
local
e10
=
e6
:
Clone
()
local
e10
=
e6
:
Clone
()
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e10
:
SetCondition
(
c75646620
.
con
)
e10
:
SetCondition
(
c75646620
.
re
con
)
c
:
RegisterEffect
(
e10
)
c
:
RegisterEffect
(
e10
)
end
end
function
c75646620
.
nkcon
(
e
)
return
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
75646600
)
==
0
end
function
c75646620
.
con
(
e
)
function
c75646620
.
con
(
e
)
local
f
=
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
75646600
)
local
f
=
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
75646600
)
return
f
and
f
~=
0
return
f
and
f
~=
0
...
@@ -90,11 +95,16 @@ function c75646620.cfilter(c,ec)
...
@@ -90,11 +95,16 @@ function c75646620.cfilter(c,ec)
end
end
function
c75646620
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75646620
.
reccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c75646620
.
cfilter
,
1
,
nil
,
e
:
GetHandler
())
return
eg
:
IsExists
(
c75646620
.
cfilter
,
1
,
nil
,
e
:
GetHandler
())
and
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
75646600
)
==
0
end
function
c75646620
.
recon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
f
=
Duel
.
GetFlagEffect
(
e
:
GetHandlerPlayer
(),
75646600
)
return
f
and
f
~=
0
and
eg
:
IsExists
(
c75646620
.
cfilter
,
1
,
nil
,
e
:
GetHandler
())
end
end
function
c75646620
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c75646620
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
75646620
)
Duel
.
Hint
(
HINT_CARD
,
0
,
75646620
)
Duel
.
Recover
(
tp
,
200
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
200
,
REASON_EFFECT
)
if
Duel
.
GetFlagEffect
(
tp
,
75646600
)
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646602
,
2
))
then
if
Duel
.
GetFlagEffect
(
tp
,
75646600
)
>
0
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
75646602
,
2
))
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
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