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
b2c9bcc3
Commit
b2c9bcc3
authored
Sep 07, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
7ed5d1a4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
7 deletions
+4
-7
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c85401440.lua
expansions/script/c85401440.lua
+3
-5
expansions/script/c85401480.lua
expansions/script/c85401480.lua
+1
-2
No files found.
expansions/222DIY.cdb
View file @
b2c9bcc3
No preview for this file type
expansions/script/c85401440.lua
View file @
b2c9bcc3
...
@@ -18,7 +18,7 @@ function c85401440.initial_effect(c)
...
@@ -18,7 +18,7 @@ function c85401440.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_
UNCOPYABLE
+
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetTargetRange
(
POS_FACEUP_DEFENSE
,
0
)
e2
:
SetTargetRange
(
POS_FACEUP_DEFENSE
,
0
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -85,14 +85,12 @@ function c85401440.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -85,14 +85,12 @@ function c85401440.op(e,tp,eg,ep,ev,re,r,rp)
sc
:
RegisterEffect
(
e1
)
sc
:
RegisterEffect
(
e1
)
sc
=
g
:
GetNext
()
sc
=
g
:
GetNext
()
end
end
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_POSCHANGE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c85401440
.
gl
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c85401440
.
gl
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENSE
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
)
Duel
.
ChangePosition
(
tc
,
POS_FACEUP_DEFENSE
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
,
POS_FACEUP_ATTACK
)
end
end
end
function
c85401440
.
tgg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c85401440
.
tgg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
expansions/script/c85401480.lua
View file @
b2c9bcc3
...
@@ -8,7 +8,6 @@ function c85401480.initial_effect(c)
...
@@ -8,7 +8,6 @@ function c85401480.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c85401480
.
cd
)
e1
:
SetCondition
(
c85401480
.
cd
)
e1
:
SetCost
(
c85401480
.
ct
)
e1
:
SetCost
(
c85401480
.
ct
)
...
@@ -19,7 +18,7 @@ function c85401480.initial_effect(c)
...
@@ -19,7 +18,7 @@ function c85401480.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetProperty
(
EFFECT_FLAG_
UNCOPYABLE
+
EFFECT_FLAG_
CANNOT_DISABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_SPSUM_PARAM
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetRange
(
LOCATION_HAND
)
e2
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
e2
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
0
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
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